ZhiYeJianKang_PeiXun/Song.Site/Templates/Web/NetSchool/Styles/News.css
2025-02-20 15:41:53 +08:00

475 lines
7.8 KiB
CSS

@charset "utf-8";
body {
}
#Context {
margin-top: 5px;
display:table;
}
/*标题*/
.tit {
line-height: 60px;
font-size: 23px;
color: #393939;
width: 100%;
font-family: "microsoft yahei";
height: 50px;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #999;
position: relative;
margin-bottom: 10px;
}
.tit a {
background-image: url(../Images/more.png);
background-repeat: no-repeat;
height: 19px;
width: 56px;
display: block;
float: right;
position: absolute;
right: 0px;
bottom: -1px;
background-position: -40px 0px;
text-decoration: none;
}
.rowImg{
padding: 3px;
height: 106px;
width: 1190px;
border: 1px solid #CCC;
margin-top: 5px;
}
.noNews {
font-family: "微软雅黑", "黑体", "Simplified Arabic Fixed";
font-size: 20px;
line-height: 300px;
color: #999999;
height: 500px;
width: 550px;
text-align: center;
}
.box{
float: left;
}
.notice{
height: 320px;
width: 320px;
margin-right: 3px;
}
.notice .boxTit{
background-image: url(../Images/gonggao-bg.jpg);
background-repeat: no-repeat;
line-height: 38px;
height: 38px;
margin-top: 2px;
margin-left: 2px;
}
.notice .txt {
color: #efefef;
margin-left: 20px;
font-family: "黑体", "微软雅黑";
font-size: 16px;
font-weight: bold;
}
#LeftBox {
width: 820px;
float: left;
border-right-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-right-color: #CCCCCC;
}
#LeftBox #newsBar {
font-family: "微软雅黑", "黑体", "Simplified Arabic Fixed";
font-size: 20px;
line-height: 35px;
font-weight: bold;
color: #000000;
background-image: url(../Images/icon1.png);
background-repeat: no-repeat;
background-position: 0px 1px;
height: 40px;
margin-top: 25px;
text-indent: 45px;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #CCCCCC;
margin-bottom: 20px;
margin-right: 20px;
}
#LeftBox .newsItem {
width: 800px;
display: table;
height: 150px;
margin-bottom: 20px;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dashed;
border-left-style: none;
border-bottom-color: #CCCCCC;
}
#LeftBox .newsItem .newsTitleBar {
height: 40px;
}
#LeftBox .newsTitleBar .newsTitle {
line-height: 40px;
float: left;
height: 40px;
width: 500px;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
overflow: hidden;
}
#LeftBox .newsTitleBar .newsTitle a{
font-size: 16px;
line-height: 40px;
font-weight: bold;
color: #000000;
font-family: "宋体";
}
#LeftBox .newsTitleBar .newsTime {
line-height: 40px;
color: #999999;
float: right;
height: 40px;
width: 80px;
text-align: right;
}
.newsContent .newsImg {
float: left;
height: 84px;
width: 124px;
border: 1px solid #CCCCCC;
}
.newsContent .newsImg img{
height: 80px;
width: 120px;
margin-top: 2px;
margin-left: 2px;
}
#RightBox {
float: right;
width: 350px;
}
#RightBox .box {
float: right;
width: 350px;
}
#RightBox .boxBar {
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #CCCCCC;
height: 60px;
}
#RightBox .box .title {
font-size: 20px;
font-family: "微软雅黑";
background-repeat: no-repeat;
background-position: left bottom;
float: left;
height: 30px;
text-align: left;
padding-bottom: 5px;
padding-top: 8px;
color: #333;
padding-left: 10px;
margin-bottom: 15px;
border-bottom-width: 5px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #0387d9;
width: 150px;
text-indent: 10px;
margin-top: 15px;
}
.boxBar .more {
float: right;
height: 30px;
width: 60px;
line-height: 30px;
margin-top: 25px;
display:inline-block;
}
.boxBar .more a{
color: #0387d9;
}
.nolist {
display: table;
margin-top: 20px;
}
.item {
width: 350px;
height: 35px;
display: table;
}
.item img {
float: left;
}
.newsContent .newsIntro2 {
line-height: 25px;
float: right;
height: 100px;
width: 440px;
overflow: hidden;
color: #666666;
}
.newsContent .newsIntro1 {
line-height: 25px;
float: right;
height: 100px;
overflow: hidden;
color: #666666;
}
.newsIntro1 a,.newsIntro2 a
{
color: #666666;
}
.item .noItem {
line-height: 22px;
white-space: nowrap;
float: left;
height: 22px;
width: 280px;
overflow: hidden;
margin-left: 5px;
text-overflow: ellipsis;
background-image: url(../Images/icon3.png);
background-repeat: no-repeat;
background-position: 0px 8px;
text-indent: 15px;
}
/*热点资讯*/
.news{
height: 320px;
width: 360px;
margin-left: 3px;
}
.news .boxTit{
line-height: 38px;
height: 38px;
margin-top: 2px;
margin-left: 2px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #CCC;
background-position: 0px 5px;
}
.news .txt {
color: #333;
font-family: "黑体", "微软雅黑";
font-size: 16px;
font-weight: bold;
line-height: 38px;
text-align: center;
width: 98px;
float: left;
}
.news .item{
width: 350px;
}
.news .item .newsItem{
width: 280px;
}
/*图片资讯轮换*/
.imgshow{
height: 320px;
width: 503px;
}
.noTime {
color: #999999;
float: right;
}
.item .noItem a{
font-size: 14px;
color: #333333;
}
.item .noItem a:hover{
font-size: 14px;
text-decoration: underline;
}
.order{
height: 310px;
width: 375px;
margin-right: 23px;
margin-bottom:3px;
}
.order .boxTit{
background-image: url(../Images/icon03.jpg);
background-repeat: no-repeat;
line-height: 38px;
height: 38px;
margin-top: 2px;
margin-left: 2px;
background-position: 8px 10px;
}
.order .boxTit .txt {
color: #666666;
margin-left: 36px;
line-height: 38px;
font-family: "黑体", "微软雅黑";
font-size: 16px;
font-weight: bold;
}
.notice .item {
width: 300px !important;
height: 26px;
display: table;
margin-left:5px;
}
.notice .item .newsItem {
width: 230px !important;
}
.news .item {
width: 350px !important;
height: 26px;
display: table;
margin-left:5px;
}
.news .item .newsItem {
width: 280px !important;
}
.newslist .item {
width: 380px;
height: 26px;
display: table;
margin-left:5px;
}
.newslist .item .newsItem {
line-height: 24px;
white-space: nowrap;
float: left;
height: 32px;
width: 310px;
overflow: hidden;
margin-left: 5px;
text-overflow: ellipsis;
background-image: url(../Images/icon3.png);
background-repeat: no-repeat;
background-position: 0px 8px;
text-indent: 15px;
}
.newslist .item .newsItem a{
font-size:16px;
}
/*热门课程*/
.hotCour{
min-height: 260px;
width: 1200px;
margin-right: 3px;
}
/*课程*/
.coursebox{
width: 1200px;
height: 450px;
overflow: hidden;
}
.coursebox-inner{
width: 1230px;
height: 450px;
}
.course-item{
float: left;
height: 160px;
width: 220px;
margin-top: 20px;
margin-right: 25px;
margin-bottom: 30px;
}
.cour-img{
margin: 0px;
padding: 0px;
text-align: center;
transition: width 0.3s, height 0.3s;
}
.cour-img img{
width: 220px;
height:125px;
transition: width 0.3s, height 0.3s;
}
.cour-img:hover{
}
.cour-img:hover img{
width: 216px;
height:121px;
border: 2px solid #fff;
filter: alpha(Opacity=85);
-moz-opacity: 0.85;
opacity: 0.85;
}
.cour-name{
line-height: 20px;
color: #333;
display: block;
height: 40px;
text-align: left;
font-size: 15px;
overflow: hidden;
}
.cour-name:hover{
color: #188eee;
}
.cour-price{
font-size: 15px;
line-height: 30px;
}
.cour-price .free{
color: #090;
float: left;
}
.cour-price .cou-sbj{
color: #999;
float: right;
width: 85px;
white-space: nowrap;
overflow: hidden;
text-align: right;
}
.cou-count{
padding-top: 1px;
padding-left: 20px;
background: url(../images/sl.gif) 0 8px no-repeat;
height: 25px;
color: #666;
float: left;
margin-left: 10px;
}