(Created page with "→CSS placed here will be applied to all skins: .mw-editfont-monospace, .mw-editfont-sans-serif, .mw-editfont-serif { font-size: 13px !important; font-family: Consolas !important; }") |
No edit summary Tag: Manual revert |
||
| (286 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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; | |||
} | |||
body pre { | |||
color: var(--black); | |||
background: var(--white); | |||
} | |||
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-monospace, | ||
.mw-editfont-sans-serif, | .mw-editfont-sans-serif, | ||
.mw-editfont-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: 100px; | |||
top: 160%; | |||
left: 50%; | |||
margin-left: -85px; | |||
background-color: var(--purple); | |||
color: var(--white); | |||
text-align: center; | |||
padding-top: 5px; | |||
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: 15px; | |||
border-width: 15px; | |||
border-style: solid; | |||
border-color: transparent transparent var(--white) transparent; | |||
} | } | ||
Latest revision as of 16:22, 11 October 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;
}
body pre {
color: var(--black);
background: var(--white);
}
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: 100px;
top: 160%;
left: 50%;
margin-left: -85px;
background-color: var(--purple);
color: var(--white);
text-align: center;
padding-top: 5px;
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: 15px;
border-width: 15px;
border-style: solid;
border-color: transparent transparent var(--white) transparent;
}
