Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(26 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
body { | body { | ||
− | background-color: # | + | background-color: #FFFFFF ! important; |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
} | } | ||
− | #mw-navigation {background-color: #9fc2d4;} | + | #mw-head-base, #mw-page-base { |
− | div #mw-head {background-color: #9fc2d4;} | + | /* background-color: #9fc2d4; */ |
+ | background-color: #FFFFFF; | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | |||
+ | #mw-navigation, #mw-panel { | ||
+ | /* background-color: #9fc2d4; */ | ||
+ | background-color: #FFFFFF; | ||
+ | } | ||
+ | |||
+ | div #mw-head { | ||
+ | /* background-color: #9fc2d4; */ | ||
+ | /* background-color: #FFFFFF; */ | ||
+ | } | ||
+ | |||
+ | a { | ||
+ | text-decoration: none; | ||
+ | color: #0088cc; | ||
+ | background: none; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | color: #005e8d; | ||
+ | } | ||
+ | |||
+ | h1 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | |||
+ | .mw-body h1, .mw-body-content h1 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | |||
+ | .mw-body h2, .mw-body-content h2 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | |||
+ | h2 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | h3 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | h4 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | h5 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | h6 { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | .mw-body-content a.external { | ||
+ | color: #0088cc; | ||
+ | } | ||
+ | |||
+ | .mw-body-content a.external:visited { | ||
+ | color: #005e8d; | ||
+ | } | ||
+ | |||
+ | div#mw-panel #p-logo + div.portal, | ||
+ | div#mw-panel div.portal, | ||
+ | #grey { | ||
+ | min-height: 20px; | ||
+ | padding: 8px; | ||
+ | margin-bottom: 20px; | ||
+ | background-color: #f5f5f5; | ||
+ | border: 1px solid #e3e3e3; | ||
+ | border-radius: 4px; | ||
+ | -webkit-border-radius: 4px; | ||
+ | -moz-border-radius: 4px; | ||
+ | -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05); | ||
+ | -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05); | ||
+ | box-shadow: inset 0 1px 1px rgba(0,0,0,0.05); | ||
+ | |||
+ | } | ||
+ | div#mw-panel div.portal div.body ul li a { | ||
+ | color: #0088cc; | ||
+ | } | ||
+ | div#mw-panel div.portal div.body ul li a:visited { | ||
+ | color: #005e8d; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | background-color: #9fc2d4; | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | } | ||
+ | |||
+ | [type="button"], [type="reset"], [type="submit"], button { | ||
+ | -webkit-appearance: button; | ||
+ | } | ||
+ | button, select { | ||
+ | text-transform: none; | ||
+ | } | ||
+ | button, input { | ||
+ | overflow: visible; | ||
+ | } | ||
+ | button, input, optgroup, select, textarea { | ||
+ | margin: 0; | ||
+ | font-family: inherit; | ||
+ | font-size: inherit; | ||
+ | line-height: inherit; | ||
+ | } | ||
+ | button { | ||
+ | border-radius: 0; | ||
+ | } | ||
+ | [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) { | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | .btn { | ||
+ | display: inline-block; | ||
+ | font-weight: 400; | ||
+ | color: #212529; | ||
+ | text-align: center; | ||
+ | vertical-align: middle; | ||
+ | -webkit-user-select: none; | ||
+ | -moz-user-select: none; | ||
+ | -ms-user-select: none; | ||
+ | user-select: none; | ||
+ | background-color: transparent; | ||
+ | border: 1px solid transparent; | ||
+ | border-top-color: transparent; | ||
+ | border-right-color: transparent; | ||
+ | border-bottom-color: transparent; | ||
+ | border-left-color: transparent; | ||
+ | padding: .375rem .75rem; | ||
+ | font-size: 1rem; | ||
+ | line-height: 1.5; | ||
+ | border-radius: .25rem; | ||
+ | transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; | ||
+ | } | ||
+ | .btn-success { | ||
+ | color: #fff; | ||
+ | background-color: #28a745; | ||
+ | border-color: #28a745; | ||
+ | } | ||
+ | .btn-danger { | ||
+ | color: #fff; | ||
+ | background-color: #dc3545; | ||
+ | border-color: #dc3545; | ||
+ | } | ||
+ | |||
+ | .btn-success:hover { | ||
+ | color: #fff; | ||
+ | background-color: #218838; | ||
+ | border-color: #1e7e34; | ||
+ | } | ||
+ | .btn-danger:hover { | ||
+ | color: #fff; | ||
+ | background-color: #c82333; | ||
+ | border-color: #bd2130; | ||
+ | } | ||
+ | |||
+ | *, ::after, ::before { | ||
+ | box-sizing: border-box; | ||
+ | } | ||
+ | |||
/* </nowiki> */ | /* </nowiki> */ |
Latest revision as of 09:34, 10 June 2021
/* CSS placed here will be applied to all skins */
/* <nowiki> */
/* {{user language}} */
@import "//meta.wikimedia.org/w/index.php?title=MediaWiki:User_language.css&action=raw&ctype=text/css&r=2";
/* {{mbox}}, {{ambox}}, {{ombox}}, {{fmbox}}, etc... */
@import "//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-enwp-boxes.css&action=raw&ctype=text/css";
body {
background-color: #FFFFFF ! important;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#mw-head-base, #mw-page-base {
/* background-color: #9fc2d4; */
background-color: #FFFFFF;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#mw-navigation, #mw-panel {
/* background-color: #9fc2d4; */
background-color: #FFFFFF;
}
div #mw-head {
/* background-color: #9fc2d4; */
/* background-color: #FFFFFF; */
}
a {
text-decoration: none;
color: #0088cc;
background: none;
}
a:visited {
color: #005e8d;
}
h1 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mw-body h1, .mw-body-content h1 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mw-body h2, .mw-body-content h2 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h2 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h3 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h4 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h5 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h6 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mw-body-content a.external {
color: #0088cc;
}
.mw-body-content a.external:visited {
color: #005e8d;
}
div#mw-panel #p-logo + div.portal,
div#mw-panel div.portal,
#grey {
min-height: 20px;
padding: 8px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
div#mw-panel div.portal div.body ul li a {
color: #0088cc;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #005e8d;
}
body {
background-color: #9fc2d4;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
[type="button"], [type="reset"], [type="submit"], button {
-webkit-appearance: button;
}
button, select {
text-transform: none;
}
button, input {
overflow: visible;
}
button, input, optgroup, select, textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button {
border-radius: 0;
}
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
cursor: pointer;
}
.btn {
display: inline-block;
font-weight: 400;
color: #212529;
text-align: center;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: transparent;
border: 1px solid transparent;
border-top-color: transparent;
border-right-color: transparent;
border-bottom-color: transparent;
border-left-color: transparent;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-success {
color: #fff;
background-color: #28a745;
border-color: #28a745;
}
.btn-danger {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
}
.btn-success:hover {
color: #fff;
background-color: #218838;
border-color: #1e7e34;
}
.btn-danger:hover {
color: #fff;
background-color: #c82333;
border-color: #bd2130;
}
*, ::after, ::before {
box-sizing: border-box;
}
/* </nowiki> */