mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-30 22:24:55 +08:00
342 lines
4.4 KiB
CSS
342 lines
4.4 KiB
CSS
.layui-badge, .layui-badge-rim {
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.clearfix:after {
|
|
display: block;
|
|
clear: both;
|
|
content: "";
|
|
visibility: hidden;
|
|
height: 0
|
|
}
|
|
|
|
body {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.clearfix {
|
|
zoom: 1
|
|
}
|
|
|
|
.fl {
|
|
float: left;
|
|
}
|
|
|
|
.fr {
|
|
float: right;
|
|
}
|
|
|
|
#header {
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
position: fixed;
|
|
background-color: #393D49;
|
|
}
|
|
|
|
.logo {
|
|
|
|
}
|
|
|
|
.top-nav {
|
|
margin-left: 100px;
|
|
}
|
|
|
|
.search {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 240px;
|
|
width: 250px;
|
|
}
|
|
|
|
.search .layui-input {
|
|
border: none;
|
|
height: 30px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
#main {
|
|
margin-top: 80px;
|
|
margin-bottom: 40px;
|
|
min-height: 550px;
|
|
}
|
|
|
|
#footer {
|
|
padding: 30px 0;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
background: #474443;
|
|
}
|
|
|
|
#footer span, #footer a {
|
|
color: #999;
|
|
}
|
|
|
|
#footer a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.bottom-nav, .copyright {
|
|
margin-bottom: 10px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.bottom-nav a, .copyright span, .copyright a {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.breadcrumb {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.pager {
|
|
text-align: center;
|
|
}
|
|
|
|
.layout-content {
|
|
float: left;
|
|
width: 800px;
|
|
}
|
|
|
|
.layout-sidebar {
|
|
float: right;
|
|
width: 320px;
|
|
}
|
|
|
|
.index-module {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.index-module .layui-tab-title {
|
|
border: none;
|
|
}
|
|
|
|
.index-module .layui-tab-content {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.index-module .header {
|
|
text-align: center;
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.index-module .content {
|
|
|
|
}
|
|
|
|
.index-carousel {
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.index-carousel .slide {
|
|
width: auto;
|
|
height: 270px;
|
|
max-height: 270px;
|
|
}
|
|
|
|
.search-empty {
|
|
padding: 50px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.search-empty .icon {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.search-empty .icon .layui-icon {
|
|
font-size: 150px;
|
|
color: #393D49;
|
|
}
|
|
|
|
.search-empty .text {
|
|
color: #999;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.search-empty .text .query {
|
|
color: red;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.search-course-list {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.search-course-card {
|
|
padding-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
border-bottom: 1px dashed #ccc;
|
|
}
|
|
|
|
.search-course-card .cover {
|
|
float: left;
|
|
width: 210px;
|
|
height: 118px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.search-course-card .cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.search-course-card .info {
|
|
float: left;
|
|
width: 500px;
|
|
color: #999;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.search-course-card .title {
|
|
margin-bottom: 10px;
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.search-course-card .summary {
|
|
margin-bottom: 10px;
|
|
line-height: 1.5em;
|
|
max-height: 4.5em;
|
|
word-wrap: break-word;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.search-course-card .meta {
|
|
|
|
}
|
|
|
|
.search-course-card .meta span {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.search-course-card em {
|
|
color: red;
|
|
font-style: normal;
|
|
}
|
|
|
|
.query-badge {
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.course-card {
|
|
float: left;
|
|
width: 20%;
|
|
height: 200px;
|
|
}
|
|
|
|
.course-card .cover {
|
|
width: 210px;
|
|
height: 118px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.course-card .cover img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.course-card .title {
|
|
width: 210px;
|
|
white-space: nowrap;
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.course-card .meta {
|
|
color: #999;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.course-card .meta span {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.course-card .price {
|
|
color: red;
|
|
}
|
|
|
|
.course-card .free {
|
|
color: green;
|
|
}
|
|
|
|
.course-filter {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.filter-group {
|
|
padding-bottom: 5px;
|
|
border-bottom: 1px dashed #ccc;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.filter-group .title {
|
|
float: left;
|
|
width: 50px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.filter-group .content {
|
|
float: left;
|
|
}
|
|
|
|
.filter-group .content a {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.course-list {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.course-meta .left {
|
|
float: left;
|
|
}
|
|
|
|
.course-meta .right {
|
|
float: right;
|
|
}
|
|
|
|
.course-body {
|
|
}
|
|
|
|
.course-body .content {
|
|
float: left;
|
|
width: 780px;
|
|
}
|
|
|
|
.course-body .sidebar {
|
|
float: left;
|
|
width: 320px;
|
|
}
|
|
|
|
.btn-verify {
|
|
color: green;
|
|
}
|
|
|
|
.register-container {
|
|
padding: 50px 30px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.register-container .layui-form {
|
|
width: 50%;
|
|
}
|
|
|
|
.login-tab {
|
|
padding: 30px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.login-tab .layui-tab-content {
|
|
padding-top: 30px;
|
|
}
|
|
|
|
.login-tab .layui-form {
|
|
width: 50%;
|
|
} |