No edit summary |
No edit summary Tag: Manual revert |
||
| (54 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
:root { | :root { | ||
--white: #FAFAFA; | --white: #FAFAFA; | ||
--purple: # | --purple: #803C80; | ||
--blue: # | --blue: #3C3C80; | ||
--green: # | --green: #3C803C; | ||
--yellow: # | --yellow: #80803C; | ||
--orange: # | --orange: #803C00; | ||
--red: # | --red: #803C3C; | ||
-- | --cyan: #3C8080; | ||
--black: # | --gray: #808080; | ||
--black: #3C3C3C; | |||
} | |||
body pre { | |||
color: var(--black); | |||
background: var(--white); | |||
} | } | ||
| Line 15: | Line 21: | ||
font-size: x-large; | font-size: x-large; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
.test { | |||
text-decoration: underline; | |||
} | } | ||
| Line 43: | Line 53: | ||
div.box { | div.box { | ||
border: 2px solid | border: 2px solid var(--white); | ||
border-radius: 5px; | border-radius: 5px; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
margin: 30px auto 5px auto; | margin: 30px auto 5px auto; | ||
color: | color: var(--white); | ||
} | } | ||
div.box h2 { | div.box h2 { | ||
color: | color: var(--white) !important; | ||
border-bottom: 1px solid | border-bottom: 1px solid var(--white) !important; | ||
} | } | ||
div.box h3 { | div.box h3 { | ||
color: | color: var(--white) !important; | ||
} | } | ||
| Line 64: | Line 74: | ||
left: -20px; | left: -20px; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
border: 2px solid | border: 2px solid var(--white); | ||
border-radius: 5px; | border-radius: 5px; | ||
color: | color: var(--white); | ||
margin-bottom: -15px; | margin-bottom: -15px; | ||
} | } | ||
| Line 74: | Line 84: | ||
top: -20px; | top: -20px; | ||
left: -20px; | left: -20px; | ||
border: 2px solid | border: 2px solid var(--white); | ||
border-radius: 5px; | border-radius: 5px; | ||
color: | color: var(--white); | ||
padding: 5px; | padding: 5px; | ||
margin-bottom: -15px; | margin-bottom: -15px; | ||
| Line 87: | Line 97: | ||
float: right; | float: right; | ||
width:350px; | width:350px; | ||
border: 2px solid | border: 2px solid var(--white); | ||
border-radius: 5px; | border-radius: 5px; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
margin: 15px 5px auto 30px; | margin: 15px 5px auto 30px; | ||
color: | color: var(--white); | ||
} | } | ||
| Line 99: | Line 109: | ||
top: -20px; | top: -20px; | ||
right: -20px; | right: -20px; | ||
border: 2px solid | border: 2px solid var(--white); | ||
border-radius: 5px; | border-radius: 5px; | ||
color: | color: var(--white); | ||
padding: 5px; | padding: 5px; | ||
margin-bottom: -15px; | margin-bottom: -15px; | ||
| Line 116: | Line 126: | ||
/* Background for use with templates begin here. */ | /* Background for use with templates begin here. */ | ||
.red { | .red { | ||
background-color: | background-color: var(--red); | ||
} | } | ||
.green { | .green { | ||
background-color: | background-color: var(--green); | ||
} | } | ||
.blue { | .blue { | ||
background-color: | background-color: var(--blue); | ||
} | } | ||
.yellow { | .yellow { | ||
background-color: | background-color: var(--yellow); | ||
} | } | ||
.cyan { | .cyan { | ||
background-color: | background-color: var(--cyan); | ||
} | } | ||
.purple { | .purple { | ||
background-color: | background-color: var(--purple); | ||
} | } | ||
.gray { | .gray { | ||
background-color: | background-color: var(--gray); | ||
} | } | ||
| Line 182: | Line 192: | ||
margin: 20px; | margin: 20px; | ||
padding: 20px; | padding: 20px; | ||
border: 2px solid | border: 2px solid var(--white); | ||
border-radius: 5px; | border-radius: 5px; | ||
display: block; | |||
} | } | ||
.login-only { | .login-only { | ||
display: none; | 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;
}
