No edit summary |
No edit summary |
||
| Line 193: | Line 193: | ||
.login-only { | .login-only { | ||
display: none; | display: none; | ||
} | |||
/* Tooltip Container */ | |||
.tooltip { | |||
position: relative; | |||
display: inline-block; | |||
} | |||
/* Tooltip Text */ | |||
.tooltip .tooltiptext { | |||
visibility: hidden; | |||
width: 120px; | |||
background-color: black; | |||
color: #fafafa; | |||
text-align: center; | |||
padding: 5px 0; | |||
border-radius: 6px; | |||
position: absolute; | |||
z-index: 1; | |||
} | |||
/* Show Tooltip on Hover */ | |||
.tooltip:hover .tooltiptext { | |||
visibility: visible; | |||
} | } | ||
Revision as of 17:54, 26 February 2024
/* CSS placed here will be applied to all skins */
:root {
--white: #FAFAFA;
--purple: #CC66CC;
--blue: #6666CC;
--green: #66CC66;
--yellow: #CCCC66;
--orange: #CC6600;
--red: #cc6666;
--grey: #666666;
--black: #333333;
}
div.mw-parser-output::first-line {
font-size: x-large;
font-weight: bold;
}
.test {
text-decoration: underline;
}
.error {
font-size: medium !important;
font-weight: bold;
color: red;
}
code {
font-family: monospace;
}
pre {
font-family: monospace;
}
pre span {
font-family: monospace !important;
}
li div {
margin-top: 10px;
}
/* Four-part reference for margin, padding, etc. is: top, right, bottom, left */
div.box {
border: 2px solid rgb(250, 250, 250);
border-radius: 5px;
padding: 5px 10px;
margin: 30px auto 5px auto;
color: rgb(250, 250, 250);
}
div.box h2 {
color: rgb(250, 250, 250) !important;
border-bottom: 1px solid rgb(250, 250, 250) !important;
}
div.box h3 {
color: rgb(250, 250, 250) !important;
}
div.overbox {
position: relative;
top: -20px;
left: -20px;
padding: 5px 10px;
border: 2px solid rgb(250, 250, 250);
border-radius: 5px;
color: rgb(250, 250, 250);
margin-bottom: -15px;
}
div.iconbox {
position: relative;
top: -20px;
left: -20px;
border: 2px solid rgb(250, 250, 250);
border-radius: 5px;
color: rgb(250, 250, 250);
padding: 5px;
margin-bottom: -15px;
width: 50px;
height: 50px;
z-index: 1;
}
div.infobox {
float: right;
width:350px;
border: 2px solid rgb(250, 250, 250);
border-radius: 5px;
padding: 5px 10px;
margin: 15px 5px auto 30px;
color: rgb(250, 250, 250);
}
div.infoicon {
position: relative;
float: right;
top: -20px;
right: -20px;
border: 2px solid rgb(250, 250, 250);
border-radius: 5px;
color: rgb(250, 250, 250);
padding: 5px;
margin-bottom: -15px;
width: 50px;
height: 50px;
}
.mw-editfont-monospace,
.mw-editfont-sans-serif,
.mw-editfont-serif {
font: 15px Consolas !important;
}
/* Background for use with templates begin here. */
.red {
background-color: rgb(120, 60, 60);
}
.green {
background-color: rgb(60, 120, 60);
}
.blue {
background-color: rgb(60, 60, 120);
}
.yellow {
background-color: rgb(120, 120, 60);
}
.cyan {
background-color: rgb(60, 120, 120);
}
.purple {
background-color: rgb(120, 60, 120);
}
.gray {
background-color: rgb(80, 80, 80);
}
.white {
background-color: rgb(230, 230, 230);
color: black !important;
}
/* Colors for use with Box templates end here. */
td {
background-color: inherit !important;
}
table.skinned tr:nth-child(even){
background-color: MidnightBlue;
}
table.skinned tr:nth-child(odd){
background-color: Black;
}
table.plainlinks tr:nth-child(even){
background-color: MidnightBlue;
}
table.plainlinks tr:nth-child(odd){
background-color: Black;
}
div.sample {
width: 60px;
margin: 20px;
padding: 20px;
text-align: center;
border: 2px solid Black;
border-radius: 5px;
}
div.replacement {
margin: 20px;
padding: 20px;
border: 2px solid White;
border-radius: 5px;
display: block;
}
.login-only {
display: none;
}
/* Tooltip Container */
.tooltip {
position: relative;
display: inline-block;
}
/* Tooltip Text */
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: black;
color: #fafafa;
text-align: center;
padding: 5px 0;
border-radius: 6px;
position: absolute;
z-index: 1;
}
/* Show Tooltip on Hover */
.tooltip:hover .tooltiptext {
visibility: visible;
}
