Difference between revisions of "MediaWiki:Common.css"
(Tonal webfont via "tonal" CSS class) |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | body.page-Main_Page h1.firstHeading { display:none; } | + | body.page-Main_Page h1.firstHeading, |
− | + | body.page-Bitcoin_Wiki_Essay_main_page h1.firstHeading, | |
− | + | body.page-Bitcoin_Wiki_Source_main_page h1.firstHeading | |
+ | { display:none; } | ||
+ | body.page-Bitcoin-Watch h1.firstHeading::before, | ||
+ | body.page-Bitcoin-dev h1.firstHeading::before | ||
+ | { content:"#"; } | ||
+ | /* Replace logo on sister projects */ | ||
+ | .page-Bitcoin_Wiki_Essay_main_page div#p-logo a, | ||
+ | .page-Bitcoin_Wiki_Source_main_page div#p-logo a, | ||
+ | .ns-100 div#p-logo a, | ||
+ | .ns-102 div#p-logo a { | ||
+ | display:none; | ||
+ | } | ||
/** | /** | ||
* Allow limiting of which header levels are shown in a TOC; | * Allow limiting of which header levels are shown in a TOC; | ||
Line 16: | Line 27: | ||
.toclimit-7 .toclevel-6 ul { | .toclimit-7 .toclevel-6 ul { | ||
display: none; | display: none; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: "BTC"; | ||
+ | src: url('/BTC.ttf') format('truetype'); | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Tonal"; | font-family: "Tonal"; | ||
src: url('/tonal.ttf') format('truetype'); | src: url('/tonal.ttf') format('truetype'); | ||
+ | } | ||
+ | .btc { | ||
+ | font-family: "BTC"; | ||
+ | line-height: initial; | ||
} | } | ||
.tonal { | .tonal { | ||
font-family: "Tonal"; | font-family: "Tonal"; | ||
+ | line-height: initial; | ||
+ | } | ||
+ | .fullwidth { | ||
+ | width: 100% !important; | ||
+ | height: auto !important; | ||
+ | } | ||
+ | .btn { | ||
+ | background: #d9b034; | ||
+ | background-image: -webkit-linear-gradient(top, #d9b034, #d9b034); | ||
+ | background-image: -moz-linear-gradient(top, #d9b034, #d9b034); | ||
+ | background-image: -ms-linear-gradient(top, #d9b034, #d9b034); | ||
+ | background-image: -o-linear-gradient(top, #d9b034, #d9b034); | ||
+ | background-image: linear-gradient(to bottom, #d9b034, #d9b034); | ||
+ | -webkit-border-radius: 5; | ||
+ | -moz-border-radius: 5; | ||
+ | border-radius: 5px; | ||
+ | font-family: Arial; | ||
+ | color: #ffffff; | ||
+ | font-size: 16px; | ||
+ | padding: 3px 8px 3px 8px; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | .btn:hover { | ||
+ | background: #fcb63c; | ||
+ | background-image: -webkit-linear-gradient(top, #fcb63c, #d95534); | ||
+ | background-image: -moz-linear-gradient(top, #fcb63c, #d95534); | ||
+ | background-image: -ms-linear-gradient(top, #fcb63c, #d95534); | ||
+ | background-image: -o-linear-gradient(top, #fcb63c, #d95534); | ||
+ | background-image: linear-gradient(to bottom, #fcb63c, #d95534); | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | .mw-changeslist-date[href$="oldid=54995"], | ||
+ | .mw-changeslist-date[href$="oldid=55010"], | ||
+ | .mw-changeslist-date[href$="oldid=55011"], | ||
+ | .mw-changeslist-date[href$="oldid=55012"], | ||
+ | .mw-changeslist-date[href$="oldid=55013"], | ||
+ | .mw-changeslist-date[href$="oldid=55014"], | ||
+ | .mw-changeslist-date[href$="oldid=55015"], | ||
+ | .mw-changeslist-date[href$="oldid=55016"], | ||
+ | .mw-changeslist-date[href$="oldid=55017"], | ||
+ | .mw-changeslist-date[href$="oldid=55018"], | ||
+ | .mw-changeslist-date[href$="oldid=55019"], | ||
+ | .mw-changeslist-date[href$="oldid=55020"], | ||
+ | .mw-changeslist-date[href$="oldid=55021"], | ||
+ | .mw-changeslist-date[href$="oldid=55022"], | ||
+ | .mw-changeslist-date[href$="oldid=55023"], | ||
+ | .mw-changeslist-date[href$="oldid=55024"], | ||
+ | .mw-changeslist-date[href$="oldid=55025"], | ||
+ | .mw-changeslist-date[href$="oldid=55026"], | ||
+ | .mw-changeslist-date[href$="oldid=55027"], | ||
+ | .mw-changeslist-date[href$="oldid=55028"], | ||
+ | .mw-changeslist-date[href$="oldid=55029"], | ||
+ | .mw-changeslist-date[href$="oldid=55030"], | ||
+ | .mw-changeslist-date[href$="oldid=55031"], | ||
+ | .mw-changeslist-date[href$="oldid=55032"], | ||
+ | .mw-changeslist-date[href$="oldid=55033"], | ||
+ | .mw-changeslist-date[href$="oldid=55034"], | ||
+ | .mw-changeslist-date[href$="oldid=55035"], | ||
+ | .mw-changeslist-date[href$="oldid=55036"], | ||
+ | .mw-changeslist-date[href$="oldid=55037"], | ||
+ | .mw-changeslist-date[href$="oldid=55038"] | ||
+ | { | ||
+ | color:green !important; | ||
} | } |
Latest revision as of 18:16, 19 July 2015
/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading,
body.page-Bitcoin_Wiki_Essay_main_page h1.firstHeading,
body.page-Bitcoin_Wiki_Source_main_page h1.firstHeading
{ display:none; }
body.page-Bitcoin-Watch h1.firstHeading::before,
body.page-Bitcoin-dev h1.firstHeading::before
{ content:"#"; }
/* Replace logo on sister projects */
.page-Bitcoin_Wiki_Essay_main_page div#p-logo a,
.page-Bitcoin_Wiki_Source_main_page div#p-logo a,
.ns-100 div#p-logo a,
.ns-102 div#p-logo a {
display:none;
}
/**
* Allow limiting of which header levels are shown in a TOC;
* <div class="toclimit-3">, for instance, will limit to
* showing ==headings== and ===headings=== but no further.
* Used in [[Template:TOCright]]
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
@font-face {
font-family: "BTC";
src: url('/BTC.ttf') format('truetype');
}
@font-face {
font-family: "Tonal";
src: url('/tonal.ttf') format('truetype');
}
.btc {
font-family: "BTC";
line-height: initial;
}
.tonal {
font-family: "Tonal";
line-height: initial;
}
.fullwidth {
width: 100% !important;
height: auto !important;
}
.btn {
background: #d9b034;
background-image: -webkit-linear-gradient(top, #d9b034, #d9b034);
background-image: -moz-linear-gradient(top, #d9b034, #d9b034);
background-image: -ms-linear-gradient(top, #d9b034, #d9b034);
background-image: -o-linear-gradient(top, #d9b034, #d9b034);
background-image: linear-gradient(to bottom, #d9b034, #d9b034);
-webkit-border-radius: 5;
-moz-border-radius: 5;
border-radius: 5px;
font-family: Arial;
color: #ffffff;
font-size: 16px;
padding: 3px 8px 3px 8px;
text-decoration: none;
}
.btn:hover {
background: #fcb63c;
background-image: -webkit-linear-gradient(top, #fcb63c, #d95534);
background-image: -moz-linear-gradient(top, #fcb63c, #d95534);
background-image: -ms-linear-gradient(top, #fcb63c, #d95534);
background-image: -o-linear-gradient(top, #fcb63c, #d95534);
background-image: linear-gradient(to bottom, #fcb63c, #d95534);
text-decoration: none;
}
.mw-changeslist-date[href$="oldid=54995"],
.mw-changeslist-date[href$="oldid=55010"],
.mw-changeslist-date[href$="oldid=55011"],
.mw-changeslist-date[href$="oldid=55012"],
.mw-changeslist-date[href$="oldid=55013"],
.mw-changeslist-date[href$="oldid=55014"],
.mw-changeslist-date[href$="oldid=55015"],
.mw-changeslist-date[href$="oldid=55016"],
.mw-changeslist-date[href$="oldid=55017"],
.mw-changeslist-date[href$="oldid=55018"],
.mw-changeslist-date[href$="oldid=55019"],
.mw-changeslist-date[href$="oldid=55020"],
.mw-changeslist-date[href$="oldid=55021"],
.mw-changeslist-date[href$="oldid=55022"],
.mw-changeslist-date[href$="oldid=55023"],
.mw-changeslist-date[href$="oldid=55024"],
.mw-changeslist-date[href$="oldid=55025"],
.mw-changeslist-date[href$="oldid=55026"],
.mw-changeslist-date[href$="oldid=55027"],
.mw-changeslist-date[href$="oldid=55028"],
.mw-changeslist-date[href$="oldid=55029"],
.mw-changeslist-date[href$="oldid=55030"],
.mw-changeslist-date[href$="oldid=55031"],
.mw-changeslist-date[href$="oldid=55032"],
.mw-changeslist-date[href$="oldid=55033"],
.mw-changeslist-date[href$="oldid=55034"],
.mw-changeslist-date[href$="oldid=55035"],
.mw-changeslist-date[href$="oldid=55036"],
.mw-changeslist-date[href$="oldid=55037"],
.mw-changeslist-date[href$="oldid=55038"]
{
color:green !important;
}