MediaWiki:Global.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
Moving from common.css |
||
| Line 6: | Line 6: | ||
a.nick_ip, a.nick_ip:visited { color: darkred; } | a.nick_ip, a.nick_ip:visited { color: darkred; } | ||
a.nick_dynamic_ip, a.nick_dynamic_ip:visited { color: #660066; } | a.nick_dynamic_ip, a.nick_dynamic_ip:visited { color: #660066; } | ||
/* Global CSS */ | |||
/* Infobox CSS */ | |||
.infobox { | |||
width: 256px; | |||
background-color: #222; | |||
font-size: 85%; | |||
border-radius: 7px; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0 ; | |||
float: right; | |||
clear: right; | |||
border-bottom:none; | |||
} | |||
.infobox2 { | |||
text-align: center; | |||
background-color: #070707; | |||
margin: 0; | |||
font-size: 120%; | |||
padding: 0.25em; | |||
border-radius: 4px; | |||
} | |||
.infobox3 { | |||
font-weight: normal; | |||
text-align: center; | |||
font-family: 'Courier New'; | |||
background-color: #070707; | |||
margin: 0; | |||
padding: 0; | |||
border-radius: 4px; | |||
} | |||
.infobox td, .infobox th { | |||
vertical-align: top; | |||
font-size: 85%; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, .infobox.bordered th { | |||
border: 1px solid #aaaaaa; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | |||
/* Header underline */ | |||
h1, h2{ | |||
border-bottom: 1px solid white; | |||
padding-top: 5px; | |||
} | |||
h3, h4, h5, h6{ | |||
padding-top: 5px; | |||
} | |||
.banner h1{ | |||
border-bottom: none; | |||
padding-top: 0px; | |||
} | |||
/* Overrides to fix various style errors */ | /* Overrides to fix various style errors */ | ||
/* Pending request info box */ | /* Pending request info box */ | ||
div.flaggedrevs_short_details { | div.flaggedrevs_short_details { | ||
border: 1px solid white; | border: 1px solid white; | ||
| Line 21: | Line 87: | ||
width: 25em; | width: 25em; | ||
} | } | ||
/*Metadata table*/ | /*Metadata table*/ | ||
.mw_metadata th { | .mw_metadata th { | ||
background-color: #111; | background-color: #111; | ||
| Line 29: | Line 95: | ||
text-align: center; | text-align: center; | ||
} | } | ||
/* Full-size image info bar */ | /* Full-size image info bar */ | ||
| Line 40: | Line 107: | ||
color:white; | color:white; | ||
} | } | ||
.mw-mmv-above-fold { | .mw-mmv-above-fold { | ||
width: 100%; | width: 100%; | ||
| Line 50: | Line 116: | ||
color:white; | color:white; | ||
} | } | ||
.mw-mmv-image-links li { | .mw-mmv-image-links li { | ||
list-style: none; | list-style: none; | ||
| Line 56: | Line 121: | ||
color: white; | color: white; | ||
} | } | ||
/* File inspector buttons */ | /* File inspector buttons */ | ||
a.mw-ui-button{ | a.mw-ui-button{ | ||
text-decoration: none; | text-decoration: none; | ||
| Line 64: | Line 129: | ||
border: 1px solid white | border: 1px solid white | ||
} | } | ||
a.mw-ui-button{ | a.mw-ui-button{ | ||
text-decoration: none; | text-decoration: none; | ||
color:white; | color:white; | ||
} | } | ||
a.mw-ui-button:hover, a.mw-ui-button:focus{ | a.mw-ui-button:hover, a.mw-ui-button:focus{ | ||
text-decoration: none; | text-decoration: none; | ||
| Line 75: | Line 138: | ||
border: 1px solid white | border: 1px solid white | ||
} | } | ||
a.mw-ui-button:hover,a.mw-ui-button:focus{ | a.mw-ui-button:hover,a.mw-ui-button:focus{ | ||
text-decoration: none; | text-decoration: none; | ||
color:white; | color:white; | ||
} | } | ||
/* Popup notification box */ | /* Popup notification box */ | ||
| Line 94: | Line 157: | ||
transition:opacity 0.35s ease-in-out,transform 0.35s ease-in-out; | transition:opacity 0.35s ease-in-out,transform 0.35s ease-in-out; | ||
} | } | ||
/* Global preferences hover bar */ | /* Global preferences hover bar */ | ||
| Line 99: | Line 163: | ||
background-color:#222; | background-color:#222; | ||
} | } | ||
/* Popup window */ | /* Popup window */ | ||
| Line 109: | Line 174: | ||
background: #111; | background: #111; | ||
} | } | ||
/* Notifications white bars */ | /* Notifications white bars */ | ||
| Line 123: | Line 189: | ||
box-shadow: 0 2px 0 0 rgba(0,0,0,0.1); | box-shadow: 0 2px 0 0 rgba(0,0,0,0.1); | ||
} | } | ||
/* Recent activity box */ | /* Recent activity box */ | ||
| Line 136: | Line 203: | ||
border-radius:4px; | border-radius:4px; | ||
} | } | ||
/* Cog dropdown */ | /* Cog dropdown */ | ||
Revision as of 22:19, 1 April 2019
a.nick_global-sysop, a.nick_global-sysop:visited { font-weight: bold; color: #008080 !important; }
a.nick_wiki-coordinator, a.nick_wiki-coordinator:visited { font-weight: bold; color: #43C6DB !important; }
a.nick_admin, a.nick_admin:visited { font-weight: bold; color: darkgreen !important; }
a.nick_steward, a.nick_steward:visited { font-weight:bold; color: darkorange !important; }
a.nick_friend, a.nick_friend:visited { color: green !important; }
a.nick_ip, a.nick_ip:visited { color: darkred; }
a.nick_dynamic_ip, a.nick_dynamic_ip:visited { color: #660066; }
/* Global CSS */
/* Infobox CSS */
.infobox {
width: 256px;
background-color: #222;
font-size: 85%;
border-radius: 7px;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0 ;
float: right;
clear: right;
border-bottom:none;
}
.infobox2 {
text-align: center;
background-color: #070707;
margin: 0;
font-size: 120%;
padding: 0.25em;
border-radius: 4px;
}
.infobox3 {
font-weight: normal;
text-align: center;
font-family: 'Courier New';
background-color: #070707;
margin: 0;
padding: 0;
border-radius: 4px;
}
.infobox td, .infobox th {
vertical-align: top;
font-size: 85%;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* Header underline */
h1, h2{
border-bottom: 1px solid white;
padding-top: 5px;
}
h3, h4, h5, h6{
padding-top: 5px;
}
.banner h1{
border-bottom: none;
padding-top: 0px;
}
/* Overrides to fix various style errors */
/* Pending request info box */
div.flaggedrevs_short_details {
border: 1px solid white;
background-color: #111;
color:white;
padding: 5px;
position: absolute;
top: 0;
right: -2px;
width: 25em;
}
/*Metadata table*/
.mw_metadata th {
background-color: #111;
font-weight: normal;
text-align: center;
}
/* Full-size image info bar */
.mw-mmv-image-metadata {
width: 100%;
position: relative;
margin-top: -30px;
border-top: 1px solid white;
background-color: #333;
padding-top: 2px;
color:white;
}
.mw-mmv-above-fold {
width: 100%;
height: 56px;
min-height: 56px;
position: relative;
padding-bottom: 30px;
background: #333;
color:white;
}
.mw-mmv-image-links li {
list-style: none;
font-size: 0.85em;
color: white;
}
/* File inspector buttons */
a.mw-ui-button{
text-decoration: none;
background: #111;
border: 1px solid white
}
a.mw-ui-button{
text-decoration: none;
color:white;
}
a.mw-ui-button:hover, a.mw-ui-button:focus{
text-decoration: none;
background: #111;
border: 1px solid white
}
a.mw-ui-button:hover,a.mw-ui-button:focus{
text-decoration: none;
color:white;
}
/* Popup notification box */
.mw-notification{
padding:0.75em 1.5em;
margin-bottom:0.5em;
border:solid 1px #ddd;
background-color:#111;
cursor:pointer;
opacity:0;
-webkit-transform:translateX(35px);
transform:translateX(35px);
-webkit-transition:opacity 0.35s ease-in-out,-webkit-transform 0.35s ease-in-out;
transition:opacity 0.35s ease-in-out,transform 0.35s ease-in-out;
}
/* Global preferences hover bar */
.globalprefs-hover {
background-color:#222;
}
/* Popup window */
.oo-ui-window-content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #111;
}
/* Notifications white bars */
/* All|Read|Unread white bar */
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
height: 3.5em;
position: sticky;
padding-top: 0.5em;
margin-top: -0.5em;
top: 0;
z-index: 2;
background: none;
box-shadow: 0 2px 0 0 rgba(0,0,0,0.1);
}
/* Recent activity box */
.mw-echo-ui-crossWikiUnreadFilterWidget {
border: 1px solid #c8ccd1;
padding: 0.7em;
width: 20em;
background: #111;
}
.mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected {
background-color: #222;
color: #3366cc;
border-radius:4px;
}
/* Cog dropdown */
.mw-echo-ui-specialHelpMenuWidget-menu .oo-ui-buttonWidget:hover {
background-color: #111;
}