MediaWiki:Common.css:修订间差异

跳到导航 跳到搜索
删除18,504字节 、​ 2013年9月16日 (星期一)
无编辑摘要
无编辑摘要
无编辑摘要
第495行: 第495行:
   width: 100%;
   width: 100%;
}
}
/* Special characters list below edit window works better without underlining */
#editpage-specialchars a { text-decoration: none; }
#editpage-specialchars a:hover { text-decoration: underline; }
/* If you don't want to see special characters list at all,
  put the following line in your User:You/monobook.css file
  (and remove the slash-asterisk comments) */
/* #editpage-specialchars { display: none; } */
/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
/* See #Framed_image_background_color */
div.thumb div a img {
    background-color:#f9f9f9;
}
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}


/* To position the spoken article link at the top of page
/* To position the spoken article link at the top of page
第613行: 第593行:
     font-style: normal;
     font-style: normal;
}
}
/*
==地理坐标==
Geographical coordinates defaults. See [[Template:Coord/link]]
  for how these are used. The classes "geo", "longitude", and
  "latitude" are used by the [[Geo microformat]].
*/
.geo-default, .geo-dms, .geo-dec  { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude            { white-space: nowrap; }




第942行: 第911行:


*/
*/
/* Nou esquema de colors per a la Plantilla:Metacaixa usada a la portada */
/* Configuració per defecte en lila
  Tons usats; 1; 7050a0 2; 9070c0 3; b090e0 4; d0b0ff 5; f0d0ff */
.mcBoto {
  background-color: #d0b0ff; /* 4 */
  border: 0.15em solid #000000;
  border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff;  /* 5 3 3 5 */
  border-radius-topleft: .5em;
  border-radius-topright: .5em;
  -moz-border-radius: .5em .5em 0em 0em;
  cursor:pointer;
  display: inline;
  margin-right: 0.1em;
  padding: 0.2em 0.3em 0.2em 0.3em;
  position: relative;}
.mcBoto a,
.mcBoto strong {
  background: none !important;
  color:#7050a0 !important;  /* 1 */
  font-size: 90%;
  font-weight: bold;
  padding: 0 !important;
  text-decoration: none !important;}
.mcBoto a:hover,
.mcBoto strong:hover {
  color: black !important;
  text-decoration: underline !important;}
.mcBotoSel {
  background-color: #9070c0; /* 2 */
  border: 0.15em solid #000000;
  border-color: #b090e0 #7050a0 #9070c0 #b090e0;  /* 3 1 2 3 */
  border-radius-topleft: .5em;
  border-radius-topright: .5em;
  -moz-border-radius: .5em .5em 0em 0em;
  cursor: default;
  display: inline;
  margin-right: 0.1em;
  padding: 0.2em 0.3em 0.2em 0.3em;
  position: relative;
  color:white;}
.mcBotoSel a {
  background: none !important;
  color:white !important;
  cursor: default;
  font-size: 90%;
  font-weight: bold;
  padding: 0 !important;
  text-decoration: none !important;}
.mcContingut {
  background-color: #f8f8ff;
  border: 0.2em solid #9070c0; /* 2 */
  border-color: #9070c0 #7050a0 #7050a0 #9070c0 ; /* 2 1 1 2 */
  -moz-border-radius: 0em .5em .5em 0em;
  border-radius-topright: .5em;
  border-radius-bottomright: .5em;
  padding: 1em;
  position: static;  /* Si hi posem relative falla amb MSIE */}
.mcPestanya {
  background-color: #f8f8ff;
  border-color: #7050a0 #b090e0 #b090e0 #7050a0; /* 1 3 3 1 */  width: 100%;
}
/* Configuració del Verd 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */
.mcVerd .mcBoto {
background-color: #a5e085; /* 4 */
border-color: #c0f090 #90d060 #75c045 #c0f090;  /* 5 3 2 5 */}
.mcVerd .mcBoto a,
.mcVerd .mcBoto strong {
  color:#60b030 !important;  /* 1 */
  font-size:90%}
.mcVerd .mcBoto a:hover,
.mcVerd .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcVerd .mcBotoSel {
  background-color: #75c045; /* 2 */
  border-color: #90d060 #60b030 #75c045 #90d060;  /* 3 1 2 3 */}
.mcVerd .mcContingut {
  background-color: #f5fffa;
  border-color: #75c045 #60b030 #60b030 #75c045 ; /* 2 1 1 2 */}
.mcVerd .mcPestanya {
  background-color: #f5fffa;
  border-color: #60b030 #90d060 #90d060 #60b030; /* 1 3 3 1 */}
/* Configuració del Vermell 1;CC0000 2;FF0000 3;FF8888 4;FFAAAA 5;FFCCCC */
.mcVermell .mcBoto {
background-color: #FFAAAA; /* 4 */
border-color: #FFCCCC #FF8888 #FF0000 #FFCCCC;  /* 5 3 2 5 */}
.mcVermell .mcBoto a,
.mcVermell .mcBoto strong {
  color:#CC0000 !important;  /* 1 */
  font-size:90%}
.mcVermell .mcBoto a:hover
.mcVermell .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcVermell .mcBotoSel {
  background-color: #FF0000; /* 2 */
  border-color: #FF8888 #CC0000 #FF0000 #FF8888;  /* 3 1 2 3 */}
.mcVermell .mcContingut {
  background-color: #fffafa;
  border-color: #FF0000 #CC0000 #CC0000 #FF0000; /* 2 1 1 2 */}
.mcVermell .mcPestanya {
  background-color: #fffafa;
  border-color: #CC0000 #FF0000 #FF0000 #CC0000; /* 1 3 3 1 */}
/* Configuració del Blau 1;3379de 2;5b8dd6 3;88abde 4;a7c1e6 5;c8d6e9 */
.mcBlau .mcBoto {
background-color: #a7c1e6; /* 4 */
border-color: #c8d6e9 #88abde #5b8dd6 #c8d6e9;  /* 5 3 2 5 */}
.mcBlau .mcBoto a,
.mcBlau .mcBoto strong {
  color:#3379de !important;  /* 1 */
  font-size:90%}
.mcBlau .mcBoto a:hover
.mcBlau .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcBlau .mcBotoSel {
  background-color: #5b8dd6; /* 2 */
  border-color: #88abde #3379de #5b8dd6 #88abde;  /* 3 1 2 3 */}
.mcBlau .mcContingut {
  background-color: #f0f8ff;
  border-color: #5b8dd6 #3379de #3379de #5b8dd6; /* 2 1 1 2 */}
.mcBlau .mcPestanya {
  background-color: #f0f8ff;
  border-color: #3379de #88abde #88abde #3379de; /* 1 3 3 1 */}
/* Configuració del Groc 1;ffd813 2;ffe147 3;ffe977 4;fff1a4 5;fef4bc */
.mcGroc .mcBoto {
background-color: #fff1a4; /* 4 */
border-color: #fef4bc #ffe977 #ffe147 #fef4bc;  /* 5 3 2 5 */}
.mcGroc .mcBoto a,
.mcGroc .mcBoto strong {
  color:#ffd813 !important;  /* 1 */
  font-size:90%}
.mcGroc .mcBoto a:hover
.mcGroc .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcGroc .mcBotoSel {
  background-color: #ffe147; /* 2 */
  border-color: #ffe977 #ffd813 #ffe147 #ffe977;  /* 3 1 2 3 */}
.mcGroc .mcContingut {
  background-color: #fffce8;
  border-color: #ffe147 #ffd813 #ffd813 #ffe147; /* 2 1 1 2 */}
.mcGroc .mcPestanya {
  background-color: #fffce8;
  border-color: #ffd813 #88abde #88abde #ffd813; /* 1 3 3 1 */}
/* Configuració del Taronja 1;ff820e 2;ff9d42 3;ffac5d 4;ffbd7f 5;ffd0a4 6;ffeedd */
.mcTaronja .mcBoto {
background-color: #ffbd7f; /* 4 */
border-color: #ffd0a4 #ffac5d #ff9d42 #ffd0a4;  /* 5 3 2 5 */}
.mcTaronja .mcBoto a,
.mcTaronja .mcBoto strong {
  color:#ff820e !important;  /* 1 */
  font-size:90%}
.mcTaronja .mcBoto a:hover
.mcTaronja .mcBoto strong:hover {
  color: black !important;
  text-decoration: underline;}
.mcTaronja .mcBotoSel {
  background-color: #ff9d42; /* 2 */
  border-color: #ffac5d #ff820e #ff9d42 #ffac5d;  /* 3 1 2 3 */}
.mcTaronja .mcContingut {
  background-color: #ffeedd; /* 6 */
  border-color: #ff9d42 #ff820e #ff820e #ff9d42; /* 2 1 1 2 */}
.mcTaronja .mcPestanya {
  background-color: #ffeedd; /* 6 */
  border-color: #ff820e #ffac5d #ffac5d #ff820e; /* 1 3 3 1 */}
/* Final d'estils de la Metacaixa */
/*HERE FINISHES "METABOX" COLOUR-SCHEMES*/


/*****
/*****
第1,321行: 第1,075行:
}
}
   
   
/* Other pages message box styles */
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;      /* Default "notice" gray */
    background: #f9f9f9;
}
table.ombox-notice {
    border: 1px solid #aaa;      /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;            /* Pink */
}
table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;      /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
    margin: 2px 0;              /* class ensures that this declaration overrides other */
    width: 100%;  /* For Safari and Opera */    /* styles (including mbox-small above) */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are  */ 
    font-size: 100%;            /* set in "mbox-small" above.                */
}
table.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;            /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}
/* Disambig and set index box styles */
table.dmbox {
    clear: both;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: small;
}
   
   
/* Footer and header message box styles */
/* Footer and header message box styles */
第1,537行: 第1,214行:
.toclimit-7 .toclevel-7 { display: none; }
.toclimit-7 .toclevel-7 { display: none; }


/* styles for {{copyvio}} and {{copyvio/bot}{.
 
  To reduce the HTML code produced by these templates.
*/
.copyvio-title {
    font-family: Microsoft Yahei,微软雅黑,Microsoft Jhenghei,微軟正黑體,Arial Unicode MS,黑体;
    text-align: center;
    font-size: 150%;
    font-weight: bold;
}
.copyvio-titlebox {
    border-bottom: 2px solid #003153;
    color: white;
    background: #999999;
    padding: 0.5em;
    height: 3em;
    -moz-border-radius: 5px 5px 0 0;
}
.copyvio-box {
    width: 95%;
    border: 3px solid #003153;
    background: white;
    margin: .5em auto;
    font-size:90%;
    -o-border-radius: 8px;
    -icab-border-radius: 8px;
    -khtml-border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-box-shadow: 10px 10px 5px #888;
    -icab-box-shadow: 10px 10px 5px #888;
    -khtml-box-shadow: 10px 10px 5px #888;
    -moz-box-shadow: 10px 10px 5px #888;
    -webkit-box-shadow: 10px 10px 5px #888;
    box-shadow: 10px 10px 5px #888;
}


/* dablink */
/* dablink */
第1,577行: 第1,220行:
     padding-left: 32px;
     padding-left: 32px;
     background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;
     background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Disambig_gray.svg/26px-Disambig_gray.svg.png) no-repeat;
}
/* 2010版首页 */
div.title-bar-vigar {
    width: 100%;
    max-width: 100%;
    height: 31px;
    overflow: hidden;
    background: #96d1fc url(//upload.wikimedia.org/wikipedia/commons/b/ba/Vigar-zh-wikipedia-2010-new-design-short.png) repeat-x;
}
}


第1,683行: 第1,317行:
#pagehistory li.not-patrolled {
#pagehistory li.not-patrolled {
     background-color: #FFA !important;
     background-color: #FFA !important;
}
/* For the new main page design */
#mp-2012,
#mp-2012-banner,
#mp-2012-body {
    clear: both;
}
#mp-2012-banner {
    background-image: url("//upload.wikimedia.org/wikipedia/commons/0/0a/Zhwp_blue_banner.png");
    background-repeat: repeat-x;
    height: 120px;
    min-width: 727px; /* 182 + 40 + 240 + 245 + 20 */
}
#mp-2012-banner a {
    color: #17b;
}
#mp-2012-banner > div {
    line-height: 120px;
}
#mp-2012-banner > 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: 85%;
    color: #457;
}
#mp-2012-banner-intro {
    float: right;
    margin-right: 20px;
    width: 245px;
    text-align: right;
}
#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,
#mp-2012 h2 {
    font-weight: bold;
    border: none;
}
#mp-2012 h2 {
    font-size: 1.16em;
    margin-bottom: .8em;
    letter-spacing: .16em;
}
#mp-2012 .mw-headline-number {
    display: none;
}
#mp-2012 .hlist li {
    white-space: nowrap;
    white-space: normal !ie;  /* IE < 8 no-wraps entire list, so disable it */
}
#mp-2012-body {
    min-width: 695px; /* 182 + 40 + 240 + 245 + 20 - 32 */
}
#mp-2012-column-left {
    float: left;
    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;
}
#mp-2012 #column-feature-more {
    margin-top: 1.2em;
    clear: left;
}
#mp-2012 #column-feature-more ul {
    list-style: none;
    margin-left: 0;
}
#mp-2012 #column-feature-more li {
    font-size: .9em;
    color: #474747;
}
#mp-2012 #column-feature-more .column-feature-more-header a {
    font-weight: bold;
    color: #474747;
}
#mp-2012 #column-feature img, #mp-2012 #column-good img {
    margin: 0.4em 0.9em 0.3em 0;
}
#mp-2012 #column-feature p, #mp-2012 #column-good p, #mp-2012-featurepic-text p {
    line-height: 1.6em;
    text-align: justify;
    text-justify: inter-ideograph;
}
#mp-2012 #column-dyk li {
    margin-bottom: 0.5em;
}
.mp-2012-featurepic-horizontal #mp-2012-featurepic-image {
    margin-left: auto;
    margin-right: auto;
}
.mp-2012-featurepic-vertical #mp-2012-featurepic-image {
    float: left;
    margin-right: 25px;
}
#mp-2012-featurepic-image {
    margin-bottom: 5px;
    margin-top: 6px;
    text-align: center;
}
.mp-2012-featurepic-border p {
    border: 1px solid #DDDDDD;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
}
#mp-2012-featurepic-image p {
    position: relative;
    overflow: hidden;
    margin: 0;
    display: inline-block;
}
#mp-2012-featurepic-image span {
    /* caption */
    position: absolute;
    right: .7em;
    bottom: .7em;
    padding: .19em .75em;
    background: black;
    background: rgba(0, 0, 0, .53);
    border-radius: .3em;
    color: white;
    font-size: .85em;
    font-weight: bold;
    text-shadow: 0 1px 3px black;
}
.mp-2012-block-nav-footer {
    color: #666;
    font-size: .85em;
    clear: both;
    text-align: right;
}
#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(top, #fff 65%,#EFF6FA 100%);
    background: -moz-linear-gradient(top, #fff 65%, #EFF6FA 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(65%,#fff), color-stop(100%,#EFF6FA));
    background: -webkit-linear-gradient(top, #fff 65%,#EFF6FA 100%);
    background: -o-linear-gradient(top, #fff 65%,#EFF6FA 100%);
    background: -ms-linear-gradient(top, #fff 65%,#EFF6FA 100%);
    background: linear-gradient(top, #fff 65%,#EFF6FA 100%);
    clear: both;
}
#mp-2012-column-right-block-c {
    border: 1px solid transparent;
    margin-bottom: .4em;
    clear: both;
}
#mp-2012 #column-itn li {
    margin-bottom: .8em;
}
#mp-2012 #column-otd img {
    margin-left: .6em;
    margin-bottom: .6em;
}
#mp-2012 #column-otd h3 {
    padding-left: 1em;
    margin-bottom: .8em;
    font-weight: normal;
    font-size: 1.01em;
}
#mp-2012 #column-otd h3 .otd-year {
    white-space: nowrap;
    font-weight: bold;
}
#mp-2012 #column-otd dl {
    padding-left: 1em;
}
#mp-2012 #column-otd dt {
    float: left;
    width: 4.2em;
}
#mp-2012 #column-otd dd {
    margin-bottom: .8em;
    margin-left: 4.5em;
}
#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 {
    text-align: center;
    margin-top: 1.5em;
    white-space: nowrap;
    font-weight: bold;
}
#mp-2012 #column-tips {
    margin-left: 1.6em;
    color: #494949;
}
#mp-2012-column-tips-header {
    font-weight: bold;
    color: #444;
}
#mp-2012-links {
    margin-bottom: .8em;
    /* Make it flow */
    overflow: hidden;
    clear: left;
}
#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: #FBFBFB;
    margin: 0 auto;
}
#mp-2012-links td {
    width: 33.33%;
    vertical-align: top;
}
#mp-2012-links h3 {
    font-size: .98em;
    font-weight: bold;
    color: #6B6B6B;
    padding-bottom: .2em;
    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%;
}
#mp-2012-sisters > div {
    background: white;
    width: 45px;
    margin: -40px auto 0;
}
/* For [[Wikipedia:历史上的今天]] and its subpages */
/* They share the same HTML snippets with main page, */
/* so they need to be styled here too. */
.selected-anniversary img {
    margin-left: .6em;
    margin-bottom: .6em;
}
.selected-anniversary .mw-headline-number {
    display: none
}
.selected-anniversary h3 {
    font-weight: normal;
    font-size: 1em;
    padding-top: 0;
}
.selected-anniversary h3 .otd-year {
    white-space: nowrap;
    font-weight: bold;
}
.selected-anniversary dl {
    margin: 0.3em 0 0 1.6em;
    padding: 0;
    line-height: 1.5em;
    list-style-type: square;
}
.selected-anniversary dl * {
    margin: 0;
    padding: 0;
}
.selected-anniversary dt {
    display: list-item;
    font-weight: normal;
    float: left;
}
.selected-anniversary dt:after {
    content: ',';
}
/* HACK to workaround VE and badly written CGroups */
#noteTA {
    display: none;
}
}
364

个编辑

导航菜单