User:Star0/sandbox/styles.css:修订间差异

来自Arcaea中文维基
无编辑摘要
无编辑摘要
 
(未显示同一用户的13个中间版本)
第1行: 第1行:
/* 用于首页 */
.image-1{
/* 首页不显示红链 */
width: 95px;
.new {
height:96px;
   color: inherit;
}
 
#column-feature-more .column-feature-more-header a {
   font-weight: bold;
   color: #474747;
}
 
#column-feature-more {
   margin-top: 1.2em;
   clear: left;
}
 
#column-feature-more ul {
   list-style: none;
   margin-left: 0;
}
 
#column-feature-more li {
   font-size: .9em;
   color: #474747;
}
 
.mp-2012-block-nav-footer {
   color: #666;
   font-size: .85em;
   clear: both;
   text-align: right;
}
 
#mp-2012-banner a {
   color: #17b;
}
 
#mp-2012-banner > div {
   line-height: 120px;
}
 
#mp-2012-banner > div > div {
   line-height: 1.5em;
   vertical-align: middle;
}
 
#mp-2012-banner-title {
   float: left;
   margin-left: 40px;
   width: 240px;
}
 
#mp-2012-banner-title > div {
   display: inline-block;
   font-family: sans-serif;
}
 
#mp-2012-banner-title h1 {
   font-size: 2em;
   margin: 0;
   padding: 0;
   line-height: 1.6em;
}
 
#mp-2012-banner-title p {
   margin: 0;
   padding: 0;
   font-size: 90%;
   color: #457;
}
 
#mp-2012-banner-intro > div {
   display: inline-block;
   text-align: center;
}
 
#mp-2012-banner-intro .number-of-articles a {
   color: #113C86;
   font-size: 120%;
   font-family: sans-serif;
   font-weight: bold;
}
 
#mp-2012-banner-intro p {
   margin: 0;
   padding-bottom: .3em;
   letter-spacing: .1em;
   font-weight: bold;
   color: #457;
}
 
#mp-2012-banner-intro table {
   width: 100%;
}
 
#mp-2012-banner-intro td {
   vertical-align: top;
   padding: 0 .5em;
}
 
#mp-2012 h1{
   font-weight: bold;
   border: none;
}
#mp-2012-links table {
   padding: .8em 1.6em;
   font-size: .95em;
   width: 96%;
   border: 1px solid #EEE;
   box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
   background: #f8f9fa;
   margin: 0 auto;
}
 
#mp-2012-links td {
   width: 33.33%;
   vertical-align: top;
}


#mp-2012-links h3 {
   font-size: .98em;
position:absolute;
   font-weight: bold;
z-index: 1;
   color: #6B6B6B;
left: 15px;
   padding-bottom: .2em;
top:10px;
   border-bottom: 1px solid #EEE;
   margin-bottom: .8em;
}


#mp-2012-sisters {
   margin-top: 50px;
   clear:both;
   padding-top: 15px;
   border-top: 3px double #CCC;
   color: #222;
   line-height: 120%;
}
}
/* Scope your styles inside a media query. This means they will only apply on tablet or desktop.  */
.image-2{
/* 以下样式将不会在移动设备中应用  */
width: 95px;
/* TODO: 表格可能需要转成<div> ,以适应移动设备 https://www.mediawiki.org/wiki/Mobile_Gateway/Mobile_homepage_formatting#MFSpecialCaseMainPage */
height:96px;
 
@media all and ( min-width: 720px ) {
position:absolute;
/* For the new main page design */
z-index: 2;
 
left: 50px;
#mp-2012-sisters > div {
top:45px;
   background: white;
   width: 45px;
   margin: -40px auto 0;
}
}
#mp-2012-links {
.image-3{
   margin-bottom: .8em;
width: 35px;
   /* Make it flow */
height:35px;
   overflow: hidden;
   clear: left;
position:absolute;
z-index: 3;
left: 110px;
top:22px;
}
}


#mp-2012 #column-uptrends {
   margin-left: 1.6em;
   color: #3B3B3B;
}


#mp-2012 #column-participate {
   margin-left: 1.6em;
   color: #3B3B3B;
}


#mp-2012 #column-participate-button {
body {
   text-align: center;
margin:0;
   margin-top: 1.5em;
padding:40px;
   white-space: nowrap;
background:#fff;
   font-weight: bold;
font:70% Arial, Helvetica, sans-serif;
color:#555;
line-height:180%;
}
}


#mp-2012 #column-tips {
h1{
   margin-left: 1.6em;
font-size:220%;
   color: #494949;
font-weight:normal;
}
}


#mp-2012-column-tips-header {
h2{
   font-weight: bold;
font-size:180%;
   color: #444;
font-weight:normal;
}
}


/* For the new main page design */
dl.csslinegraph, dl.csslinegraph dt, dl.csslinegraph dd{
#mp-2012,
margin:0;
#mp-2012-body {
padding:0;
   clear: both;
}
}
dl.csslinegraph{
width:467px;
height:385px;
}
dl.csslinegraph dt{
display:none;
}
dl.csslinegraph dd{
position:relative;
float:left;
display:inline;
width:33px;
height:330px;
margin-top:22px;
}
dl.csslinegraph dd.first{
margin-left:33px;
}
dl.csslinegraph span{
position:absolute;
display:block;
width:33px;
height:330px;
left:0;
text-indent:-8000px;
}
dl.csslinegraph span em{
position:absolute;
display:block;
width:6px;
height:6px;
left:-3px;
bottom:-3px;
}
dl.csslinegraph span.d em{
left:-3px;
bottom:auto;
top:-2px;
}
/* position based on previous value (if we are going to increase) */


#mp-2012 h2 {
.pi0{top:0px;}
   font-weight: bold;
.pi1{top:-11px;}
   border: none;
.pi2{top:-22px;}
}
.pi3{top:-33px;}
 
.pi4{top:-44px;}
#mp-2012 h2 {
.pi5{top:-75px;}
   font-size: 1.16em;
.pi6{top:-66px;}
   margin-bottom: .8em;
.pi7{top:-77px;}
   letter-spacing: .16em;
.pi8{top:-88px;}
}
.pi9{top:-99px;}
.pi10{top:-110px;}
.pi11{top:-121px;}
.pi12{top:-132px;}
.pi13{top:-143px;}
.pi14{top:-154px;}
.pi15{top:-165px;}
.pi16{top:-176px;}
.pi17{top:-187px;}
.pi18{top:-198px;}
.pi19{top:-209px;}
.pi20{top:-220px;}
.pi21{top:-231px;}
.pi22{top:-242px;}
.pi23{top:-253px;}
.pi24{top:-264px;}
.pi25{top:-275px;}
.pi26{top:-286px;}
.pi27{top:-297px;}
.pi28{top:-308px;}
.pi29{top:-319px;}
.pi30{top:-330px;}
/* position based on previous value (if we are going to decrease) */
.pd0{top:330px;}
.pd1{top:319px;}
.pd2{top:308px;}
.pd3{top:297px;}
.pd4{top:286px;}
.pd5{top:275px;}
.pd6{top:264px;}
.pd7{top:253px;}
.pd8{top:242px;}
.pd9{top:231px;}
.pd10{top:220px;}
.pd11{top:209px;}
.pd12{top:198px;}
.pd13{top:187px;}
.pd14{top:176px;}
.pd15{top:165px;}
.pd16{top:154px;}
.pd17{top:143px;}
.pd18{top:132px;}
.pd19{top:121px;}
.pd20{top:110px;}
.pd21{top:99px;}
.pd22{top:88px;}
.pd23{top:77px;}
.pd24{top:66px;}
.pd25{top:55px;}
.pd26{top:44px;}
.pd27{top:33px;}
.pd28{top:22px;}
.pd29{top:11px;}
.pd30{top:0px;}
/* increased values */


#mp-2012-body {
.i0{background-position:0 -1px;}
   min-width: 695px; /* 182 + 40 + 240 + 245 + 20 - 32 */
.i1{background-position:-33px 0;}
}
.i2{background-position:-66px 0;}
.i3{background-position:-99px 0;}
.i4{background-position:-132px 0;}
.i5{background-position:-165px 0;}
.i6{background-position:-198px 0;}
.i7{background-position:-231px 0;}
.i8{background-position:-264px 0;}
.i9{background-position:-297px 0;}
.i10{background-position:-330px 0;}
.i11{background-position:-363px 0;}
.i12{background-position:-396px 0;}
.i13{background-position:-429px 0;}
.i14{background-position:-462px 0;}
.i15{background-position:-495px 0;}
.i16{background-position:-528px 0;}
.i17{background-position:-561px 0;}
.i18{background-position:-594px 0;}
.i19{background-position:-627px 0;}
.i20{background-position:-660px 0;}
.i21{background-position:-693px 0;}
.i22{background-position:-726px 0;}
.i23{background-position:-759px 0;}
.i24{background-position:-792px 0;}
.i25{background-position:-825px 0;}
.i26{background-position:-858px 0;}
.i27{background-position:-891px 0;}
.i28{background-position:-924px 0;}
.i29{background-position:-957px 0;}
.i30{background-position:-990px 0;}
/* decreased values */
.d0{background-position:0 -331px;}
.d1{background-position:-33px -332px;}
.d2{background-position:-66px -332px;}
.d3{background-position:-99px -332px;}
.d4{background-position:-132px -332px;}
.d5{background-position:-165px -332px;}
.d6{background-position:-198px -332px;}
.d7{background-position:-231px -332px;}
.d8{background-position:-264px -332px;}
.d9{background-position:-297px -332px;}
.d10{background-position:-330px -332px;}
.d11{background-position:-363px -332px;}
.d12{background-position:-396px -332px;}
.d13{background-position:-429px -332px;}
.d14{background-position:-462px -332px;}
.d15{background-position:-495px -332px;}
.d16{background-position:-528px -332px;}
.d17{background-position:-561px -332px;}
.d18{background-position:-594px -332px;}
.d19{background-position:-627px -332px;}
.d20{background-position:-660px -332px;}
.d21{background-position:-693px -332px;}
.d22{background-position:-726px -332px;}
.d23{background-position:-759px -332px;}
.d24{background-position:-792px -332px;}
.d25{background-position:-825px -332px;}
.d26{background-position:-858px -332px;}
.d27{background-position:-891px -332px;}
.d28{background-position:-924px -332px;}
.d29{background-position:-957px -332px;}
.d30{background-position:-990px -332px;}


#mp-2012-column-left {
.body{
   float: left;
display:none;
   width: 64.9%;
}
 
#mp-2012-column-left > div {
   margin-right: 1.5em;
}
 
.mp-2012-column-left-block {
   margin-top: .8em;
   padding: .8em 1.6em 1.8em;
   line-height: 1.5em;
}
 
.mp-2012-column-left-block + .mp-2012-column-left-block {
   margin-top: .4em;
   border-top: 1px solid #EEE;
}
 
#mp-2012-column-right {
   float: right;
   width: 35%;
}
 
 
#mp-2012-column-left h2,
#mp-2012-column-left h2 a {
   color: #259;
}
 
#mp-2012-column-right h2,
#mp-2012-column-right h2 a {
   color: #5c5c5c;
}
 
#column-feature img, #mp-2012 #column-good img {
   margin: 0.4em 0.9em 0.3em 0;
}
 
#column-feature p img, #mp-2012 #column-good p img {
   margin: 0;
}
 
#column-feature p, #mp-2012 #column-good p {
   line-height: 1.6em;
   text-align: justify;
   text-justify: auto;
}
 
#column-dyk li {
   margin-bottom: 0.5em;
}
 
#mp-2012-column-left .mp-2012-text {
   color: #1A1A1A;
}
 
#mp-2012-column-right .mp-2012-text {
   font-size: .98em;
}
 
#mp-2012-column-right > div {
   margin-top: 1.6em;
}
 
.mp-2012-column-right-block {
   margin: 0 0 1.6em;
   padding: .8em 1.6em 1.6em;
}
 
#mp-2012-column-right-block-a {
   border: 1px solid #E8E8E8;
   box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
   background: #FFF;
}
 
#mp-2012-column-right-block-b {
   border: 1px solid #CADEED;
   box-shadow: 0px 1px 3px #DDE6ED;
   background: #FFF;
   background: linear-gradient(#fff 65%,#EFF6FA 100%);
   clear: both;
}
 
#mp-2012-column-right-block-c {
   border: 1px solid transparent;
   margin-bottom: .4em;
   clear: both;
}
 
#column-itn li {
   margin-bottom: .8em;
}
 
#column-otd img {
   margin-left: .6em;
   margin-bottom: .6em;
}
 
#column-otd dl {
   padding-left: 1em;
}
 
#column-otd dt {
   float: left;
   width: 4.2em;
}
 
#column-otd dd {
   margin-bottom: .8em;
   margin-left: 4.5em;
}
 
#mp-2012-banner-logo {
   float: left;
   width: 182px;
   height: 119px;
   margin-bottom: 1px;
   background-position: -118px 8px;
   background-repeat: no-repeat;
}
#mp-2012-banner {
   clear: both;
}
 
#mp-2012-banner {
   /* [[File:Zhwp blue banner.png]] */
   background-repeat: repeat-x;
   height: 120px;
   min-width: 727px; /* 182 + 40 + 240 + 245 + 20 */
}
 
#mp-2012-banner-intro {
   float: right;
   margin-right: 20px;
   width: 245px;
   text-align: right;
}
}
}

2021年8月4日 (三) 12:49的最新版本

.image-1{
	width: 95px;
	height:96px;

	
	position:absolute;
	z-index: 1;
	left: 15px;
	top:10px;

}
.image-2{
	width: 95px;
	height:96px;
	
	position:absolute;
	z-index: 2;
	left: 50px;
	top:45px;
}
.image-3{
	width: 35px;
	height:35px;
	
	position:absolute;
	z-index: 3;
	left: 110px;
	top:22px;
}



body {
	margin:0;
	padding:40px;
	background:#fff;
	font:70% Arial, Helvetica, sans-serif;
	color:#555;
	line-height:180%;
}

h1{
	font-size:220%;
	font-weight:normal;
}

h2{
	font-size:180%;
	font-weight:normal;	
}

dl.csslinegraph, dl.csslinegraph dt, dl.csslinegraph dd{
	margin:0;
	padding:0;
	} 	
dl.csslinegraph{
	width:467px;
	height:385px;
	} 
dl.csslinegraph dt{
	display:none;
	}
dl.csslinegraph dd{
	position:relative;
	float:left;
	display:inline;
	width:33px;
	height:330px;
	margin-top:22px;	
	} 
dl.csslinegraph dd.first{
	margin-left:33px;		
	} 	
dl.csslinegraph span{
	position:absolute;
	display:block;
	width:33px;	
	height:330px;
	left:0;	
	text-indent:-8000px;
	} 	
dl.csslinegraph span em{
	position:absolute;
	display:block;
	width:6px;	
	height:6px;
	left:-3px;	
	bottom:-3px;
	} 	
dl.csslinegraph span.d em{	
	left:-3px;	
	bottom:auto;	
	top:-2px;	
	} 		
	
/* position based on previous value (if we are going to increase) */

	.pi0{top:0px;}
	.pi1{top:-11px;}
	.pi2{top:-22px;}
	.pi3{top:-33px;}
	.pi4{top:-44px;}
	.pi5{top:-75px;}
	.pi6{top:-66px;}
	.pi7{top:-77px;}
	.pi8{top:-88px;}
	.pi9{top:-99px;}
	.pi10{top:-110px;}
	.pi11{top:-121px;}
	.pi12{top:-132px;}
	.pi13{top:-143px;}
	.pi14{top:-154px;}
	.pi15{top:-165px;}
	.pi16{top:-176px;}
	.pi17{top:-187px;}
	.pi18{top:-198px;}
	.pi19{top:-209px;}
	.pi20{top:-220px;}
	.pi21{top:-231px;}
	.pi22{top:-242px;}
	.pi23{top:-253px;}
	.pi24{top:-264px;}
	.pi25{top:-275px;}
	.pi26{top:-286px;}
	.pi27{top:-297px;}
	.pi28{top:-308px;}
	.pi29{top:-319px;}
	.pi30{top:-330px;}
	
/* position based on previous value (if we are going to decrease) */
		
	.pd0{top:330px;}
	.pd1{top:319px;}
	.pd2{top:308px;}
	.pd3{top:297px;}
	.pd4{top:286px;}
	.pd5{top:275px;}
	.pd6{top:264px;}
	.pd7{top:253px;}
	.pd8{top:242px;}
	.pd9{top:231px;}
	.pd10{top:220px;}
	.pd11{top:209px;}
	.pd12{top:198px;}
	.pd13{top:187px;}
	.pd14{top:176px;}
	.pd15{top:165px;}
	.pd16{top:154px;}
	.pd17{top:143px;}
	.pd18{top:132px;}
	.pd19{top:121px;}
	.pd20{top:110px;}
	.pd21{top:99px;}
	.pd22{top:88px;}
	.pd23{top:77px;}
	.pd24{top:66px;}
	.pd25{top:55px;}
	.pd26{top:44px;}
	.pd27{top:33px;}
	.pd28{top:22px;}
	.pd29{top:11px;}
	.pd30{top:0px;}
	
/* increased values */

	.i0{background-position:0 -1px;}
	.i1{background-position:-33px 0;}
	.i2{background-position:-66px 0;}
	.i3{background-position:-99px 0;}
	.i4{background-position:-132px 0;}
	.i5{background-position:-165px 0;}
	.i6{background-position:-198px 0;}
	.i7{background-position:-231px 0;}
	.i8{background-position:-264px 0;}
	.i9{background-position:-297px 0;}
	.i10{background-position:-330px 0;}
	.i11{background-position:-363px 0;}
	.i12{background-position:-396px 0;}
	.i13{background-position:-429px 0;}
	.i14{background-position:-462px 0;}
	.i15{background-position:-495px 0;}
	.i16{background-position:-528px 0;}
	.i17{background-position:-561px 0;}
	.i18{background-position:-594px 0;}
	.i19{background-position:-627px 0;}
	.i20{background-position:-660px 0;}
	.i21{background-position:-693px 0;}
	.i22{background-position:-726px 0;}
	.i23{background-position:-759px 0;}
	.i24{background-position:-792px 0;}
	.i25{background-position:-825px 0;}
	.i26{background-position:-858px 0;}
	.i27{background-position:-891px 0;}
	.i28{background-position:-924px 0;}
	.i29{background-position:-957px 0;}
	.i30{background-position:-990px 0;}
	
/* decreased values */
	
	.d0{background-position:0 -331px;}
	.d1{background-position:-33px -332px;}
	.d2{background-position:-66px -332px;}
	.d3{background-position:-99px -332px;}
	.d4{background-position:-132px -332px;}
	.d5{background-position:-165px -332px;}
	.d6{background-position:-198px -332px;}
	.d7{background-position:-231px -332px;}
	.d8{background-position:-264px -332px;}
	.d9{background-position:-297px -332px;}
	.d10{background-position:-330px -332px;}
	.d11{background-position:-363px -332px;}
	.d12{background-position:-396px -332px;}
	.d13{background-position:-429px -332px;}
	.d14{background-position:-462px -332px;}
	.d15{background-position:-495px -332px;}
	.d16{background-position:-528px -332px;}
	.d17{background-position:-561px -332px;}
	.d18{background-position:-594px -332px;}
	.d19{background-position:-627px -332px;}
	.d20{background-position:-660px -332px;}
	.d21{background-position:-693px -332px;}
	.d22{background-position:-726px -332px;}
	.d23{background-position:-759px -332px;}
	.d24{background-position:-792px -332px;}
	.d25{background-position:-825px -332px;}
	.d26{background-position:-858px -332px;}
	.d27{background-position:-891px -332px;}
	.d28{background-position:-924px -332px;}
	.d29{background-position:-957px -332px;}
	.d30{background-position:-990px -332px;}

.body{
	display:none;
}