2 Star 1 Fork 0

纪晓岚乄/douban

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
douban1.css 14.99 KB
一键复制 编辑 原始数据 按行查看 历史
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066
* {
padding: 0;
margin: 0;
}
img {
/* 垂直居中方式,去掉图片和父级元素下方的间隙bug */
vertical-align: top;
}
a {
/* 去掉默认下划线 */
text-decoration: none;
color: white;
}
ul {
/* 去掉ul列表样式 */
list-style: none;
}
/* 顶部导航条 */
.nav {
/* 高度 */
height: 28px;
/* 宽度 */
width: 100%;
/* 背景颜色 */
background: #545652;
/* 最小宽度 */
min-width: 1040px;
}
.fl {
/* 左浮动 */
float: left;
}
.fr {
/* 右浮动 */
float: right;
}
.nav>div {
/*background: yellow;*/
height: 100%;
font-size: 0;
}
.nav>div>em {
display: inline-block;
height: 100%;
}
.nav>div>a {
/* 字体颜色 */
color: #C0D1D0;
/* 字体大小 */
font-size: 12px;
/* 上下0 左右12px */
margin: 0 12px;
/* 光标样式 */
cursor: pointer;
}
/* 鼠标悬浮在元素上方时的效果 */
/*.nav>div>a:hover {
color: white;
}
*/
.nav>div>* {
vertical-align: middle;
}
/* 搜索框 */
.search {
width: 100%;
min-width: 1040px;
background: #f0f3f5;
}
.search>.top {
width: 1040px;
height: 74px;
margin: 0 auto;
/*background: red;*/
font-size: 0;
}
/*
display: block; 块级元素, h1~h6, p, div, ul, li, ol...
1. 如果不设置宽度,默认宽度撑满父级
2. 如果不设置高度,高度由内容决定
3. 独占一行
4. 支持所有的CSS样式设置
display: inline; 行内元素
1. 可以并排显示
2. 不支持宽高设置,不支持margin-top, margin-bottom,
padding-top, padding-bottom设置,
3. 换行被解析
4. 宽高由内容决定
display: inline-block; 行内块元素
1. 同时具有块级元素和行内元素的部分特征
2. 换行被解析
3. 可以同排显示
4. 支持所有的CSS样式设置
*/
.v_middle::after {
content: "";
display: inline-block;
height: 100%;
vertical-align: middle;
}
.v_middle>* {
vertical-align: middle;
}
.search>.top>* {
/* 以行内块元素的特征显示 */
display: inline-block;
}
.search>.top>h2 {
font-size: 30px;
color: #1c75c0;
/* 行高 em是字体大小 */
line-height: 1em;
/* 右外边距 */
margin-right: 45px;
}
.search>.top>.btn {
width: 527px;
height: 33px;
background: url("nav_mv_bg.png") no-repeat;
border-radius: 4px;
overflow: hidden;
}
.search>.top>.btn>input {
box-sizing: border-box;
border: none;
width: 490px;
height: 100%;
/* 外轮廓,不占位置 */
outline: none;
font-size: 13px;
padding-left: 14px;
}
.search>.top>.btn>span {
float: right;
width: 37px;
height: 33px;
background: url("nav_mv_bg.png") no-repeat 0 -40px;
}
.search>.bottom {
height: 40px;
}
.search>.bottom>a {
font-size: 14px;
color: #2778A8;
margin-right: 30px;
}
/* hover效果 */
.search>.bottom>a:hover {
color: white;
background: #2778A8;
}
.line {
border-top: 1px solid #E3EBEC;
}
/* 下方内容 */
.content {
width: 1040px;
background: white;
margin: 0 auto;
overflow: hidden;
}
.content>.movie {
width: 675px;
/*爷爷级背景板*/
background: white;
}
/*.content>.aside {
width: 300px;
background: orange;
}*/
/*-------------------- 分割线 --------------------*/
/* 下方内容部分样式 */
/* item */
.item {
background: white;
}
.content .title {
overflow: hidden;
margin-top: 40px;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #DCE6E7;
}
.content .title>div {
font-size: 0;
}
.content .title>.fr>span {
letter-spacing: 3px;
font-size: 4px;
color: #535353;
margin-right: 8px;
}
.content .title>div>* {
font-size: 16px;
margin-right: 18px
}
.content .title>div>a {
font-size: 13px;
color: #367CBD;
}
.content .title>div>a:hover {
color: white;
background: #2778A8;
}
.content .title>.fr>a {
/* 行内块元素 */
display: inline-block;
/* 宽度 */
width: 18px;
/* 高度 */
height: 18px;
/* 背景颜色 */
background: #2778A8;
/* 字体颜色 */
color: white;
/* 圆角 */
border-radius: 50%;
/* 文本对齐方式 */
text-align: center;
/* 行高 */
line-height: 1.2em;
/* 外边距 */
margin: 0 7px 0 0;
}
.clearF {
zoom: 1;
}
.clearF::after {
content: "";
display: block;
clear: both;
}
.content ul img {
width: 115px;
height: 175px;
}
.content .item ul {
/* 弹性盒子 */
display: flex;
/* item沿着主轴方向的排布方式 */
justify-content: space-between;
margin-right: -25px;
}
.content .item ul li {
text-align: center;
background: white;
}
.content ul h3 {
line-height: 1em;
font-size: 15px;
margin: 16px 0 10px;
}
.content ul h3 a {
color: #333;
/* font-family:"宋体";*/
}
.content ul .star0 {
line-height: 1em;
/*background: orange;*/
font-size: 12px;
margin-bottom: 13px;
}
.content ul .ticket {
width: 90px;
height: 25px;
background: #2D8ECA;
font-size: 12px;
line-height: 25px;
margin: 0 auto;
}
.content .item>ul>li>a {
display: block;
position: relative;
}
/*----------------------------- info文本框 ---------------------------*/
.content ul .info {
width: 240px;
height: 200px;
background: red;
/* 绝对定位 */
position: absolute;
top: 0;
left: calc(100% + 10px);
z-index: 1;
/* 隐藏元素 */
display: none;
}
/*.content ul>li>a:hover>.info {
display: block;
}
.content .item ul li a div h2{
font-size: 18px;
float: left;
margin-left: 20px;
margin-top:25px;
}
.content .item ul li a div p {
margin-top: 33px;
font-size: 12px;
float: left;
color: #A0A2AC;
}
.content .item ul li a span {
font-size: 12px;
display:block;
}*/
/*----------------------------------------------------------------------*/
/*评分图*/
.content ul .star span{
/*取消基线*/
float: left;
color: #D67D13;
line-height: 12px;
font-size: 12px;
margin-left: 60px;
}
.content .item .star1{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -88px;
margin-left: 20px;
margin-bottom: 14px;
}
.content .item .star2{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -66px;
margin-left: 20px;
margin-bottom: 14px;
}
.content .item .star3{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -44px;
margin-left: 20px;
margin-bottom: 14px;
}
.content .item .star4{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -22px;
margin-left: 20px;
margin-bottom: 14px;
}
/* -------------------------------------center-------------------------------------- */
.center ul {
/* 弹性盒子 */
display: flex;
/* item沿着主轴方向的排布方式 */
justify-content: space-between;
margin-right: -25px;
}
.center ul li {
text-align: center;
background: white;
}
.content .center>ul>li>a {
display: block;
position: relative;
}
.center {
background: white;
}
.center .title1 {
overflow: hidden;
margin-top: 20px;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #DCE6E7;
}
.center .title1>div {
font-size: 0;
}
.center .title1>div>* {
font-size: 16px;
margin-right: 18px
}
.center .title1>div>a {
font-size: 13px;
color: #898989;
}
.center .title1 .fr a {
color: #286299;
}
.center .title1>div>a:hover {
color: white;
background: #2778A8;
}
p{
margin-top: 10px;
font-size: 13px;
color: #486299;
}
.image2 {
margin-top: 15px;
}
strong {
color: #D67D13;
font-size: 12px;
}
/*圆点a标签*/
.round {
/*父级元素居中子集文本*/
text-align: center;
}
.round>a {
background: #5B84C8;
display: inline-block;
width: 18px;
height: 18px;
background: #2778A8;
color: white;
border-radius: 50%;
line-height: 1.2em;
font-size: 13px;
margin:0 7px 0 7px
}
.round>span {
/* 行内块元素 */
display: inline-block;
/* 宽度 */
width: 5px;
/* 高度 */
height: 5px;
/* 背景颜色 */
background: #CFCFCF;
/* 圆角 */
border-radius: 50%;
/* 文本对齐方式 */
text-align: center;
/* 行高 */
line-height: 1.2em;
/* 外边距 */
margin: 0 3px 0 0;
}
/*----------------------------- bottom ------------------------------------------*/
.v_bottom ul {
/* 弹性盒子 */
display: flex;
/* item沿着主轴方向的排布方式 */
justify-content: space-between;
margin-right: -25px;
}
.content .v_bottom>ul>li>a {
display: block;
position: relative;
}
.b_bottom ul li {
text-align: center;
background: white;
}
.v_bottom {
background: white;
}
.v_bottom .title2 {
overflow: hidden;
margin-top: 20px;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #DCE6E7;
}
/**/
.v_bottom .title2>div {
font-size: 0;
}
.v_bottom .title2>div>* {
font-size: 16px;
margin-right: 18px
}
.v_bottom .title2>div>a {
font-size: 13px;
color: #898989;
}
.v_bottom .title2 .fr a {
color: #286299;
}
.v_bottom .title2>div>a:hover {
color: white;
background: #2778A8;
}
.v_bottom ul>li>p{
text-align: center;
margin-top: 10px;
font-size: 13px;
color: #486299;
}
.image3 {
margin-top: 15px;
}
strong {
color: #D67D13;
font-size: 12px;
}
/*圆点a标签*/
.round {
/*父级元素居中子集文本*/
text-align: center;
}
.round>a {
background: #5B84C8;
display: inline-block;
width: 18px;
height: 18px;
background: #2778A8;
color: white;
border-radius: 50%;
text-align: center;
line-height: 1.2em;
font-size: 13px;
margin:0 7px 0 7px
}
.round>span {
display: inline-block;
/* 宽度 */
width: 5px;
/* 高度 */
height: 5px;
/* 背景颜色 */
background: #CFCFCF;
/* 圆角 */
border-radius: 50%;
/* 文本对齐方式 */
text-align: center;
/* 行高 */
line-height: 1.2em;
/* 外边距 */
margin: 0 3px 0 0;
}
/* 影评内容*/
.view {
margin-top: 60px;
}
/*影评第一块*/
.view1 {
width: 100%;
padding-bottom: 35px;
border-bottom: 1px solid #E5E5E5;
}
.view1>.fr>a {
display: inline-block;
width: 18px;
height: 18px;
background: #2778A8;
color: white;
border-radius: 50%;
text-align: center;
line-height: 1.2em;
}
.view1>div>a {
font-size: 12px;
color: #367CBD;
}
.view1>.fr>span {
letter-spacing: 3px;
font-size: 4px;
color: #535353;
margin-right: 8px;
}
/*影评第二块*/
.view2 {
margin-top: 20px;
height: 241px;
width: 100%;
background: #F7F7F7;
}
.view2>a {
font-size: 18px;
color: black;
padding-top: 50px;
margin-left: 25px;
float: left;
}
.view2>span {
display: inline-block;
font-size: 13px;
color: #999;
line-height: 20px;
margin-left: 25px;
float: left;
}
/*影评第三块*/
.view3 {
width: 100%;
margin-top: 30px;
padding-bottom: 40px;
border-bottom: 1px solid #E5E5E5;
}
.view3>div>a {
font-size: 12px;
color: #2778A8;
margin-right: 30px;
}
.view3>div>a:hover {
color: white;
background: #2778A8;
}
/*影评第四块*/
.view4 {
width: 100%;
background: white;
height: 155px;
border-bottom: 1px solid #E5E5E5;
}
.view4>img{
width: 68px;
margin-top: 20px;
}
.view4>a {
font-size: 18px;
color: black;
padding-top: 25px;
margin-left: 25px;
float: left;
}
.view4>a>span {
font-size: 13px;
color: #535353;
}
.view4 .star4{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -22px;
display: inline-block;
}
/*影评第五块*/
.view5 {
width: 100%;
background: white;
height: 155px;
border-bottom: 1px solid #E5E5E5;
}
.view5>img{
width: 68px;
margin-top: 20px;
}
.view5>a {
font-size: 18px;
color: black;
padding-top: 25px;
margin-left: 25px;
float: left;
}
.view5>a>span {
font-size: 13px;
color: #535353;
}
.view5 .star3{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -44px;
display: inline-block;
}
/*影评第六块*/
.view6 {
width: 100%;
background: white;
height: 155px;
border-bottom: 1px solid #E5E5E5;
}
.view6>img{
width: 68px;
margin-top: 20px;
}
.view6>a {
font-size: 18px;
color: black;
padding-top: 25px;
margin-left: 25px;
float: left;
}
.view6>a>span {
font-size: 13px;
color: #535353;
}
.view6 .star4{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -22px;
display: inline-block;
}
/*影评第七块*/
.view7 {
width: 100%;
background: white;
height: 155px;
border-bottom: 1px solid #E5E5E5;
}
.view7>img{
width: 68px;
margin-top: 20px;
}
.view7>a {
font-size: 18px;
color: black;
padding-top: 25px;
margin-left: 25px;
float: left;
}
.view7>a>span {
font-size: 13px;
color: #535353;
}
.view7 .star2{
width: 55px;
height: 12px;
background: url("star.png") no-repeat -0px -66px;
display: inline-block;
}
/*------------------------------------- 下方右边内容 ----------------------------*/
/*第一块*/
.content>.ranking>.top {
width: 282px;
background: #f2f7f6;
border-radius: 4px;
padding: 6px 0px 6px 18px;
margin-top: 40px;
margin-left: 20px;
}
.content>.ranking>div>a {
font-size: 13px;
color: #466A9B;
}
/*广告*/
.top2 {
margin-top: 20px;
}
/*第三块*/
.content>.ranking>.top3 {
width: 282px;
background: #f2f7f6;
border-radius: 4px;
padding:16px 0px 16px 18px;
clear: both;
margin-top: 22px;
}
/* 优先级问题 同级情况下 */
.content .ranking>.top3>.purple {
color: purple;
}
.content .ranking>.top3>a:hover {
color: white;
background: #2778A8;
}
/*第四块*/
.content>.ranking>.top4 {
width: 300px;
border-radius: 4px;
padding:16px 0px 16px 18px;
margin-top: 22px;
clear: both;
font-size: 0px;
}
/*.content>.ranking>.top4>a {
margin-top: 8px;
padding-bottom: 13px;
display: inline-block;
clear: both;
}*/
.v_border{
padding-bottom:15px;
border-bottom: 1px solid #E5E5E5;
}
.r0>h2>a:hover {
color: white;
background: #2778A8;
}
.top4 ul span {
font-size: 12px;
}
.top4 ul a {
color: #2866A3;
font-size: 13px;
overflow: hidden;
}
.top4 ul li {
font-size: 13px;
color: black;
margin-top: 9px;
padding-bottom: 9px;
border-bottom: 1px solid #E5E5E5;
}
.top4>ul>li>a:hover {
color: white;
background: #2778A8;
}
/*第五块*/
.top5 {
clear: both;
margin-top: 40px;
}
/*第六块*/
.top6 {
width: 300px;
clear: both;
margin-top: 15px;
}
.top6 li {
padding-top: 10px;
padding-bottom: 15px;
border-bottom: 1px solid #EAEAEA;
}
.top6>ul>li>a:hover {
color: white;
background: #2778A8;
}
.top6>ul>li>a {
font-size: 13px;
color: #2866A3;
}
.top6>ul>li>span {
/*span 不能设宽高*/
color: #8A8787;
font-size: 13px;
float: right;
padding-top: 10px;
padding-bottom: 15px;
}
/*第七块*/
.top7 {
width: 300px;
clear: both;
margin-top: 35px;
}
.top7>ul>li {
font-size: 16px;
padding-bottom: 13px;
border-bottom: 1px solid #EAEAEA;
}
.top7>ul>div>span {
font-size: 13px;
}
.top7>ul>div {
margin-top: 15px;
}
/*第八块*/
.top8{
margin-top: 25px;
clear: both;
}
.top8>span{
display: inline-block;
width: 300px;
border-bottom: 1px solid #EAEAEA;
padding-bottom: 13px;
}
.top8>.a_image>img {
width: 40px;
margin:20px 5px 0 10px;
}
.top8>.a_biaoqian>a {
font-size: 12px;
line-height: 12px;
color: #2866A3;
}
.top8>.a_biaoqian>.a4 {
margin-right: 10px;
}
.top8>.a_biaoqian>.a3 {
margin-right: 15px;
}
.top8>.a_biaoqian>.a2 {
margin-right: 35px;
}
.top8>.a_biaoqian>.a1 {
margin-right: 30px;
}
/*第九块*/
.top9 {
margin-top: 65px;
clear: both;
}
/*------------------------------------------------结尾框 --------------------------------*/
.end {
width: 1040px;
border-top: 1px dashed #EAEAEA;
margin-left: 440px;
margin-top: 100px;
padding-bottom:300px;
}
.end>.e_left {
font-size: 12px;
color: #828282;
padding-top: 10px;
}
.end>.e_right>a:hover {
color: white;
background: #2778A8;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/GitHub_system/douban.git
git@gitee.com:GitHub_system/douban.git
GitHub_system
douban
douban
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385