No edit summary |
No edit summary |
||
| Line 230: | Line 230: | ||
bottom: 100%; /* At the top of the tooltip */ | bottom: 100%; /* At the top of the tooltip */ | ||
left: 50%; | left: 50%; | ||
margin-left: - | margin-left: -10px; | ||
border-width: | border-width: 10px; | ||
border-style: solid; | border-style: solid; | ||
border-color: transparent transparent black transparent; | border-color: transparent transparent black transparent; | ||
} | } | ||
Revision as of 11:57, 28 February 2024
/* CSS placed here will be applied to all skins */
:root {
--white: #FAFAFA;
--purple: #803C80;
--blue: #3C3C80;
--green: #3C803C;
--yellow: #80803C;
--orange: #803C00;
--red: #803C3C;
--cyan: #3C8080;
--gray: #808080;
--black: #3C3C3C;
}
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 var(--white);
border-radius: 5px;
padding: 5px 10px;
margin: 30px auto 5px auto;
color: var(--white);
}
div.box h2 {
color: var(--white) !important;
border-bottom: 1px solid var(--white) !important;
}
div.box h3 {
color: var(--white) !important;
}
div.overbox {
position: relative;
top: -20px;
left: -20px;
padding: 5px 10px;
border: 2px solid var(--white);
border-radius: 5px;
color: var(--white);
margin-bottom: -15px;
}
div.iconbox {
position: relative;
top: -20px;
left: -20px;
border: 2px solid var(--white);
border-radius: 5px;
color: var(--white);
padding: 5px;
margin-bottom: -15px;
width: 50px;
height: 50px;
z-index: 1;
}
div.infobox {
float: right;
width:350px;
border: 2px solid var(--white);
border-radius: 5px;
padding: 5px 10px;
margin: 15px 5px auto 30px;
color: var(--white);
}
div.infoicon {
position: relative;
float: right;
top: -20px;
right: -20px;
border: 2px solid var(--white);
border-radius: 5px;
color: var(--white);
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: var(--red);
}
.green {
background-color: var(--green);
}
.blue {
background-color: var(--blue);
}
.yellow {
background-color: var(--yellow);
}
.cyan {
background-color: var(--cyan);
}
.purple {
background-color: var(--purple);
}
.gray {
background-color: var(--gray);
}
.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 var(--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;
top: 150%;
left: 50%;
margin-left: -60px;
background-color: var(--purple);
color: var(--white);
text-align: center;
padding: 5px 0;
border: 2px solid var(--white);
border-radius: 6px;
position: absolute;
z-index: 1;
}
/* Show Tooltip on Hover */
.tooltip:hover .tooltiptext {
visibility: visible;
}
/* Tooltip Top Arrow */
.tooltip .tooltiptext::after {
content: " ";
position: absolute;
bottom: 100%; /* At the top of the tooltip */
left: 50%;
margin-left: -10px;
border-width: 10px;
border-style: solid;
border-color: transparent transparent black transparent;
}
