Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 99: | Line 99: | ||
background-color: #9fc2d4; | background-color: #9fc2d4; | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) { | [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) { | ||
Line 149: | Line 135: | ||
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; | 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:hover { | ||
+ | color: #fff; | ||
+ | background-color: #218838; | ||
+ | border-color: #1e7e34; | ||
+ | } | ||
+ | .btn-danger:hover { | ||
+ | color: #fff; | ||
+ | background-color: #c82333; | ||
+ | border-color: #bd2130; | ||
+ | } | ||
+ | |||
[type="button"], [type="reset"], [type="submit"], button { | [type="button"], [type="reset"], [type="submit"], button { | ||
-webkit-appearance: button; | -webkit-appearance: button; |
Revision as of 09:27, 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: #9fc2d4; */
background-color: #FFFFFF;
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"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
cursor: pointer;
}
.btn-success {
color: #fff;
background-color: #28a745;
border-color: #28a745;
}
.btn-danger {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
}
.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:hover {
color: #fff;
background-color: #218838;
border-color: #1e7e34;
}
.btn-danger:hover {
color: #fff;
background-color: #c82333;
border-color: #bd2130;
}
[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;
}
*, ::after, ::before {
box-sizing: border-box;
}
/* </nowiki> */