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

来自Arcaea中文维基
无编辑摘要
无编辑摘要
第1行: 第1行:
/* Nou esquema de colors per a la Plantilla:Metacaixa usada a la portada */
 
.new {
/* Configuració per defecte en lila
   color: inherit;
  Tons usats; 1; 7050a0 2; 9070c0 3; b090e0 4; d0b0ff 5; f0d0ff */
}
 
.mcBoto {
#column-feature-more .column-feature-more-header a {
  background-color: #d0b0ff; /* 4 */
   font-weight: bold;
  border: 0.15em solid #000000;
   color: #474747;
  border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff; /* 5 3 3 5 */
}
  cursor:pointer;
 
  display: inline;
#column-feature-more {
  margin-right: 0.1em;
   margin-top: 1.2em;
  padding: 0.2em 0.3em 0.2em 0.3em;
   clear: left;
  position: relative;}
}
 
.mcBoto a,
#column-feature-more ul {
.mcBoto strong {
   list-style: none;
  background: none !important;
   margin-left: 0;
  color:#7050a0 !important; /* 1 */
}
  font-size: 90%;
 
  font-weight: bold;
#column-feature-more li {
  padding: 0 !important;
   font-size: .9em;
  text-decoration: none !important;}
   color: #474747;
  
}
.mcBoto a:hover,
 
.mcBoto strong:hover {
.mp-2012-block-nav-footer {
  color: black !important;
   color: #666;
  text-decoration: underline !important;}
   font-size: .85em;
   clear: both;
.mcBotoSel {
   text-align: right;
  background-color: #9070c0; /* 2 */
}
  border: 0.15em solid #000000;
 
  border-color: #b090e0 #7050a0 #9070c0 #b090e0; /* 3 1 2 3 */
#mp-2012-banner a {
  cursor: default;
   color: #17b;
  display: inline;
}
  margin-right: 0.1em;
 
  padding: 0.2em 0.3em 0.2em 0.3em;
#mp-2012-banner > div {
  position: relative;
   line-height: 120px;
  color:white;}
}
 
.mcBotoSel a {
#mp-2012-banner > div > div {
  background: none !important;
   line-height: 1.5em;
  color:white !important;
   vertical-align: middle;
  cursor: default;
}
  font-size: 90%;
 
  font-weight: bold;
#mp-2012-banner-title {
  padding: 0 !important;
   float: left;
  text-decoration: none !important;}
   margin-left: 40px;
   width: 240px;
.mcContingut {
}
  background-color: #f8f8ff;
 
  border: 0.2em solid #9070c0; /* 2 */
#mp-2012-banner-title > div {
  border-color: #9070c0 #7050a0 #7050a0 #9070c0 ; /* 2 1 1 2 */
   display: inline-block;
  padding: 1em;
   font-family: sans-serif;
  position: static; /* Si hi posem relative falla amb MSIE */}
}
 
.mcPestanya {
#mp-2012-banner-title h1 {
  background-color: #f8f8ff;
   font-size: 2em;
  border-color: #7050a0 #b090e0 #b090e0 #7050a0; /* 1 3 3 1 */ width: 100%;
   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;
   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%;
}
/* Scope your styles inside a media query. This means they will only apply on tablet or desktop. */
/* 以下样式将不会在移动设备中应用  */
/* TODO: 表格可能需要转成<div> ,以适应移动设备 https://www.mediawiki.org/wiki/Mobile_Gateway/Mobile_homepage_formatting#MFSpecialCaseMainPage */
 
@media all and ( min-width: 720px ) {
/* For the new main page design */
 
#mp-2012-sisters > div {
   background: white;
   width: 45px;
   margin: -40px auto 0;
}
#mp-2012-links {
   margin-bottom: .8em;
   /* Make it flow */
   overflow: hidden;
   clear: left;
}
 
#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;
}
 
/* For the new main page design */
#mp-2012,
#mp-2012-body {
   clear: both;
}
 
#mp-2012 h2 {
   font-weight: bold;
   border: none;
}
 
#mp-2012 h2 {
   font-size: 1.16em;
   margin-bottom: .8em;
   letter-spacing: .16em;
}
 
#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;
}
 
#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;
}
}
}
/* 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 */

2020年10月3日 (六) 20:03的版本

.new {
    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;
    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%;
}
/* Scope your styles inside a media query. This means they will only apply on tablet or desktop.  */
/* 以下样式将不会在移动设备中应用  */
/* TODO: 表格可能需要转成<div> ,以适应移动设备 https://www.mediawiki.org/wiki/Mobile_Gateway/Mobile_homepage_formatting#MFSpecialCaseMainPage */

@media all and ( min-width: 720px ) {
/* For the new main page design */

#mp-2012-sisters > div {
    background: white;
    width: 45px;
    margin: -40px auto 0;
}
#mp-2012-links {
    margin-bottom: .8em;
    /* Make it flow */
    overflow: hidden;
    clear: left;
}

#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;
}

/* For the new main page design */
#mp-2012,
#mp-2012-body {
    clear: both;
}

#mp-2012 h2 {
    font-weight: bold;
    border: none;
}

#mp-2012 h2 {
    font-size: 1.16em;
    margin-bottom: .8em;
    letter-spacing: .16em;
}

#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;
}

#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;
}
}