|
|
(未显示同一用户的32个中间版本) |
第1行: |
第1行: |
| /* The CSS used for https://zh.wikipedia.org/wiki/Template:Tabs/styles.css : */ | | .CCsingle { |
| | position: relative; |
| | } |
| | |
| | .CCsingle::before, .CCsingle::after { |
| | content: ''; |
| | position: absolute; |
| | top: 0; |
| | right: 0; |
| | width: 28%; /* 更宽的白色描边 */ |
| | height: 28%; /* 更宽的白色描边 */ |
| | clip-path: polygon(100% 0, 0 0, 100% 100%); |
| | z-index: 1; /* 默认优先级 */ |
| | } |
| | |
| | .CCsingle::before { |
| | background-color: white; /* 白色描边 */ |
| | z-index: 0; /* 放在背景和角标之间 */ |
| | } |
| | |
| | .CCsingle::after { |
| | width: 20%; /* 正确大小 */ |
| | height: 20%; /* 正确大小 */ |
| | z-index: 2; |
| | } |
|
| |
|
|
| | /* 不同颜色控制 */ |
| .mcBoto {
| | .CCsingle-byd::after { |
| background-color: #d0b0ff; /* 4 */
| | background-color: #FF7373; /* byd颜色 */ |
| border: 0.15em solid #000000;
| | } |
| border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff; /* 5 3 3 5 */
| | |
| cursor:pointer;
| | .CCsingle-etr::after { |
| display: inline;
| | background-color: #A598BB; /* etr颜色 */ |
| margin-right: 0.1em;
| | } |
| padding: 0.2em 0.3em 0.2em 0.3em;
| | |
| position: relative;}
| | .CCsingle-ftr::before, .CCsingle-ftr::after { |
|
| | display: none; /* 完全移除 ftr 的描边和颜色 */ |
| .mcBoto a,
| | } |
| .mcBoto strong {
| | |
| background: none !important; | | .CCsingle-prs::after { |
| color:#7050a0 !important; /* 1 */
| | background-color: #b3cc54; /* prs颜色 */ |
| 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 */
| |
| 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 */ | |
| 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 */
| |
| } | | } |
|
| |
| /* 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 */}
| |
|
| |
| /* Configuració del Black 1;090909 2;333333 3;808080 4;c4c4c4 5;dddddd */
| |
|
| |
| .mcBlack .mcBoto {
| |
| background-color: #c4c4c4; /* 4 */
| |
| border-color: #dddddd #808080 #333333 #dddddd; /* 5 3 2 5 */}
| |
|
| |
| .mcBlack .mcBoto a,
| |
| .mcBlack .mcBoto strong {
| |
| color:#090909 !important; /* 1 */
| |
| font-size:90%}
| |
|
| |
| .mcBlack .mcBoto a:hover,
| |
| .mcBlack .mcBoto strong:hover {
| |
| color: black !important;
| |
| text-decoration: underline;}
| |
|
| |
| .mcBlack .mcBotoSel {
| |
| background-color: #333333; /* 2 */
| |
| border-color: #808080 #090909 #333333 #808080; /* 3 1 2 3 */}
| |
|
| |
| .mcBlack .mcContingut {
| |
| background-color: #ffffff;
| |
| border-color: #333333 #090909 #090909 #333333; /* 2 1 1 2 */}
| |
|
| |
| .mcBlack .mcPestanya {
| |
| background-color: #ffffff;
| |
| border-color: #090909 #808080 #808080 #090909; /* 1 3 3 1 */}
| |
|
| |
| /* Final d'estils de la Metacaixa */
| |