Files
ClassContent/历届学生/fontendsix/项目练习/上课项目/搜狐新闻/css/index.css
2024-09-27 02:06:13 +08:00

391 lines
6.6 KiB
CSS

.header {
height: 40px;
background: #222;
line-height: 40px;
position: fixed;
width: 100%;
left: 0;
top: 0;
z-index: 99;
}
.logo {
width: 86px;
height: 40px;
}
.logo:hover i {
color: #fdd000;
}
.logo:hover .logo_text {
background-position: 0 -30px;
}
.logo i {
font-size: 18px;
color: #ccc;
margin: 1px 7px 0 0;
}
.logo::after {
content: " ";
width: 1px;
height: 15px;
background: #666;
display: inline-block;
margin-top: 13px;
float: right;
}
.logo_text {
width: 44px;
height: 20px;
background: url("../img/souhu.png");
background-repeat: no-repeat;
margin-top: 10px;
}
.logo_menu li {
float: left;
width: 74px;
text-align: center;
height: 40px;
position: relative;
}
.logo_menu li:last-child {
width: 150px;
}
.logo_menu li:hover {
background: #444;
}
.logo_menu li:hover .dropmenu {
display: block;
}
.logo_menu li:hover i {
transform: rotate(180deg);
}
.menu_list {
color: #fff;
}
.logo_menu li a {
color: #fff;
}
.icon-zhankai {
color: #dadada;
display: inline-block;
transition: all 0.2s ease;
}
.dropmenu {
position: absolute;
width: 290px;
height: 136px;
background: #fff;
padding: 7px 10px;
border: 1px solid #ddd;
top: 40px;
left: -110px;
display: none;
}
.dropmenu .item {
color: #191919;
display: inline-block;
width: 67px;
}
.dropmenu .item:hover {
background-color: #f9f9f9;
color: #c9141d;
}
.left,.mid,.right {
height: 700px;
}
.center .left {
width: 140px;
}
.left .text_user {
height: 217px;
text-align: center;
}
.text_user {
background: #fff;
position: relative;
width: 138px;
border: 1px #ddd solid;
}
.text_user .text_userimg {
position: relative;
height: 70px;
width: 70px;
top: -22px;
border-radius: 100%;
}
.text_user .text_usertitle {
margin-top: -11px;
font-size: 16px;
line-height: 20px;
margin-bottom: 5px;
}
.text_tip {
margin-bottom: 5px;
}
.text_nums {
}
.text_nums li{
float: left;
width: 50%;
font-size: 0;
}
.text_nums li p{
font-size: 16px;
color: #191919;
margin-bottom: 3px;
}
.text_nums li span{
font-size: 12px;
color: #666;
}
.viewall {
position: absolute;
bottom: 0;
left: 0;
text-align: center;
width: 100%;
height: 31px;
background: #f9f9f9;
line-height: 31px;
font-size: 12px;
color: #666;
}
.center .mid {
width: 640px;
margin-left: 30px;
}
.center .center_text h2 {
font-size: 28px;
font-weight: 700;
line-height: 38px;
color: #191919;
}
.center .center_text p {
color: #999;
font-size: 14px;
margin-bottom: 10px;
margin-top: 15px
}
.center .right {
width: 340px;
}
.right .search {}
.right .search input{
box-sizing: border-box;
width: 236px;
height: 34px;
color: #999;
font-size: 14px;
border: 1px silver solid;
border-right: none;
padding-left: 12px;
}
.right .search i{
display: inline-block;
width: 53px;
height: 34px;
background: #ffba00;
text-align: center;
line-height: 34px;
}
.content {
margin-top: 80px;
}
.text_comment {
text-align: center;
margin-top: 30px;
}
.titlestyle div {
font-size: 14px;
color: #303030;
}
.titlestyle::before,
.titlestyle::after{
content: " ";
display: inline-block;
width: 48px;
height: 1px;
background: #efefef ;
position: relative;
top: -4px;
}
.titlestyle::before {
left: -7px;
}
.titlestyle::after {
left: 7px;
}
.text_comment i {
font-size: 30px;
display: inline-block;
margin: 10px 0 5px 0;
}
.text_comment p {
font-family: Georgia,Arial;
color: #da2128;
line-height: 32px;
font-size: 24px;
}
.text_share {
margin-top: 30px;
}
.titlestyle{
font-size: 14px;
color: #303030;
text-align: center;
}
.text_share {}
.text_share ul {
margin-top: 15px;
}
.text_share ul li {
margin-bottom: 20px;
padding-left: 22px;
}
.text_share ul li img {
vertical-align: middle;
}
.text_share ul li span {
font-size: 12px;
color: #606060;
}
.center_comment {}
.center_comment .comment_push{}
.comment_push .comment_push_title{
overflow: hidden;
padding: 11px 0 7px;
height: 24px;
line-height: 24px;
font-size: 16px;
}
.comment_push_title .comment_name{
padding-top: 2px;
font-size: 18px;
color: #191919;
}
.comment_push_title .comment_name::before,
.comment_list_title::before {
content: "";
float: left;
display: inline-block;
margin-top: 3px;
width: 4px;
height: 19px;
background: #fdd000;
border-radius: 2px;
margin-right: 12px;
}
.comment_tips {
}
.comment_tips img {
position: relative;
top: -17px;
}
.comment_tips .act {
font-size: 22px;
font-family: "Georgia Regular",Georgia;
color: #d92227;
}
.comment_push_input {
height: 123px;
border: 1px solid #b7b7b7;
}
.comment_push_input textarea {
resize: none;
width: 100%;
padding: 7px 10px 0 15px;
box-sizing: border-box;
height: 84px;
}
.comment_push_action {
position: relative;
height: 35px;
background: #f8f8f8;
padding-left: 10px;
line-height: 35px;
}
.comment_push_action_left {}
.comment_push_action_left span {
font-size: 13px;
}
.comment_push_action_left ul li {
float: left;
}
.comment_push_action_left img {
margin-left: 10px;
margin-top: 9px;
}
.comment_push_submit {
font-size: 14px;
line-height: 37px;
color: #fff;
background: #d81519;
width: 90px;
height: 35px;
float: right;
text-align: center;
margin-right: -1px;
}
.comment_ts {
margin: 12px 0 28px;
font-size: 12px;
color: #999;
}
.comment_list {}
.comment_list_title {
font-size: 16px;
height: 17px;
line-height: 17px;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
}
.comment_list_title::before {
margin-top: 0;
}
.comment_list_all li img {
width: 50px;
height: 50px;
border-radius: 100%;
}
.comment_list_all {
margin-top: 20px;
}
.comment_list_all li {
margin-bottom: 15px;
border-bottom: 1px dashed #e5e5e5;
overflow: hidden;
padding-bottom: 12px;
}
.all_text {
width: 570px;
margin-left: 14px;
}
.all_text .all_text_title {
font-size: 13px;
color: #d92227;
margin-bottom: 15px;
}
.all_text_title + p {
font-size: 14px;
color: #333;
margin-bottom: 11px;
}
.all_bottom span {
font-size: 12px;
color: #b7b7b7;
}
.bottom_action_item {
float: left;
margin: 0 5px;
padding: 0 10px;
font-size: 12px;
color: #7e7e7e;
line-height: 14px;
}