Commit 64bec677 authored by 汪波's avatar 汪波

首页模板

parent f0ec1eb3
@charset "utf-8"; @charset "utf-8";
/*TOP SEARCH*/ /*TOP SEARCH*/
.top {
position: relative;
background-color: #fff;
height: 36px;
border-bottom: 1px solid #e7e7e7;
padding: 7px 15px;
}
.input-control { .input-control {
border: none; border: none;
background-color: #f3f3f3; background-color: #f3f3f3;
...@@ -47,44 +40,60 @@ ...@@ -47,44 +40,60 @@
text-align: center; text-align: center;
line-height: 36px; line-height: 36px;
} }
.top a.sign { .common-top {
position: fixed;
left: 0;
top: 0;
width: 100%;
background-color: #fff;
height: 50px;
border-bottom: 1px solid #e7e7e7;
z-index: 3;
}
.common-top a.sign,
.common-top a.search {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
width: 50px; width: 50px;
height: 50px; height: 50px;
right: 10px;
top: 0; top: 0;
text-align: center; text-align: center;
line-height: 50px; line-height: 50px;
} }
.top a.sign i { .common-top a.sign {
left: 0;
}
.common-top a.search {
right: 0;
}
.common-top a.sign i,
.common-top a.search i {
font-size: 20px; font-size: 20px;
} }
.common-top .nav-main {
.nav-main {
text-align: center; text-align: center;
background-color: #fff; background-color: #fff;
} }
.nav-main a { .common-top .nav-main a {
display: inline-block; display: inline-block;
margin: 0 15px; height: 50px;
height: 40px; line-height: 47px;
line-height: 37px;
font-size: 14px; font-size: 14px;
padding: 0 5px; padding: 0 8px;
} }
.nav-main a.cur { .common-top .nav-main a.cur {
position: relative; position: relative;
color: #26a087; color: #26a087;
} }
.nav-main a.cur:after { .common-top .nav-main a.cur:after {
content: ''; content: '';
position: absolute; position: absolute;
display: inline-block; display: inline-block;
width: 100%; width: 16px;
height: 3px; height: 3px;
background-color: #26a087; background-color: #26a087;
left: 0; left: 50%;
margin-left: -8px;
bottom: 0; bottom: 0;
} }
...@@ -181,6 +190,14 @@ ...@@ -181,6 +190,14 @@
left: 15px; left: 15px;
top: 12px; top: 12px;
} }
.common-tit-index a {
position: absolute;
display: inline-block;
right: 0;
top: 0;
padding: 0 15px;
height: 40px;
}
.hot-news-list { .hot-news-list {
padding: 10px 15px; padding: 10px 15px;
} }
...@@ -252,7 +269,7 @@ ...@@ -252,7 +269,7 @@
/*学院推荐课程*/ /*学院推荐课程*/
.learnning-course .tit { .learnning-course .tit {
position: relative; position: relative;
font-size: 14px; font-size: 12px;
color: #26a087; color: #26a087;
line-height: 40px; line-height: 40px;
padding-left: 20px; padding-left: 20px;
...@@ -263,24 +280,20 @@ ...@@ -263,24 +280,20 @@
display: inline-block; display: inline-block;
width: 8px; width: 8px;
height: 8px; height: 8px;
border: 2px solid #26a087; border: 3px solid #26a087;
left: 0; left: 0;
top: 14px; top: 12px;
border-radius: 100%; border-radius: 100%;
} }
.learnning-course { .learnning-course {
margin-top: 15px;
padding: 10px 15px; padding: 10px 15px;
background-color: #fff;
border-bottom: 1px solid #e7e7e7;
border-top: 1px solid #e7e7e7;
} }
.learnning-course .tit a { .learnning-course .tit a {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
line-height: 40px; line-height: 40px;
right: 15px; right: 0;
font-size: 12px; font-size: 12px;
color: #999; color: #999;
} }
...@@ -439,6 +452,7 @@ ...@@ -439,6 +452,7 @@
/*COMMENT*/ /*COMMENT*/
.comment-box { .comment-box {
padding: 0 15px; padding: 0 15px;
background-color: #fff;
} }
.center-tit { .center-tit {
text-align: center; text-align: center;
...@@ -498,6 +512,46 @@ ...@@ -498,6 +512,46 @@
color: #333; color: #333;
line-height: 20px; line-height: 20px;
} }
.comment-list .comment-footbar span {
display: inline-block;
font-size: 12px;
color: #999;
line-height: 40px;
}
.comment-list .comment-footbar a {
position: relative;
float: right;
display: inline-block;
padding-left: 30px;
line-height: 40px;
font-size: 12px;
margin-left: 10px;
}
.comment-list .comment-footbar a i {
position: absolute;
left: 0;
top: 0;
display: inline-block;
width: 30px;
height: 40px;
text-align: center;
line-height: 38px;
font-size: 20px;
}
.comment-list .comment-replay {
background-color: #f3f3f3;
padding: 5px 8px;
line-height: 20px;
font-size: 12px;
border-radius: 6px;
margin: 5px 0;
}
.comment-list .comment-replay span {
color: #26a087;
}
.comment-list .comment-replay-list {
padding: 3px 0;
}
.empty-block { .empty-block {
height: 51px; height: 51px;
} }
...@@ -512,12 +566,15 @@ ...@@ -512,12 +566,15 @@
} }
.bottom-menu a { .bottom-menu a {
display: inline-block; display: inline-block;
width: 16%; width: 15%;
height: 50px; height: 50px;
text-align: center; text-align: center;
line-height: 50px; line-height: 48px;
float: left; float: left;
} }
.bottom-menu a i {
font-size: 20px;
}
.bottom-menu a:last-child { .bottom-menu a:last-child {
float: right; float: right;
} }
...@@ -526,12 +583,26 @@ ...@@ -526,12 +583,26 @@
width: 36%; width: 36%;
background-color: #f3f3f3; background-color: #f3f3f3;
height: 36px; height: 36px;
margin: 7px 0; margin-top: 7px;
margin-left: 4%;
border-radius: 36px; border-radius: 36px;
line-height: 36px; line-height: 36px;
font-size: 12px; font-size: 12px;
color: #999; color: #999;
} }
.bottom-menu a {
position: relative;
}
.bottom-menu a span {
opacity: 0;
position: absolute;
text-align: center;
left: 50%;
top: 0;
margin-left: -8px;
font-size: 12px;
color: #FF0000;
}
.mask { .mask {
display: none; display: none;
...@@ -680,6 +751,90 @@ ...@@ -680,6 +751,90 @@
margin-top: 10px; margin-top: 10px;
} }
/*内容页顶部*/
.detail-top-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
border-bottom: 1px solid #e7e7e7;
background-color: #fff;
z-index: 1;
}
.detail-top-nav a {
position: absolute;
display: inline-block;
width: 50px;
height: 50px;
text-align: center;
line-height: 50px;
font-size: 20px;
}
.detail-top-nav a.back {
left: 0;
top: 0;
}
.detail-top-nav a.menu {
right: 0;
top: 0;
}
/*侧边导航*/
.detail-menu-box {
position: fixed;
width: 200px;
height: 100%;
right: -200px;
top: 0;
background-color: #fff;
z-index: 10;
}
.detail-menu-box .user-head {
background-color: #26a087;
}
.detail-menu-box .user-head a {
position: relative;
display: block;
height: 50px;
padding: 20px 20px 20px 85px;
color: #fff;
}
.detail-menu-box .user-head a img {
position: absolute;
left: 20px;
top: 20px;
width: 48px;
height: 48px;
border-radius: 100%;
border: 2px solid #fff;
}
.detail-menu-box .user-head a h3 {
line-height: 50px;
font-size: 14px;
font-weight: normal;
}
.detail-menu-box .menu-z a {
position: relative;
display: block;
padding-left: 70px;
height: 80px;
line-height: 80px;
border-bottom: 1px solid #f3f3f3;
font-size: 14px;
}
.detail-menu-box .menu-z a i {
position: absolute;
left: 10px;
top: 0;
display: block;
width: 60px;
height: 80px;
text-align: center;
line-height: 85px;
font-size: 26px;
}
/*适配电脑端*/ /*适配电脑端*/
@media screen and (min-width: 900px){ @media screen and (min-width: 900px){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment