MediaWiki:Common.css: Difference between revisions
Dgreenwood (talk | contribs) No edit summary |
Dgreenwood (talk | contribs) No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
h2 span { | h2 span { | ||
font-family: 'Roboto Condensed', Arial, sans-serif; | font-family: 'Roboto Condensed', Arial, sans-serif; | ||
font-size: 1. | font-size: 1.50em; | ||
} | } | ||
| Line 95: | Line 95: | ||
} | } | ||
/* | |||
/* Shows the "Discussion" tab */ | |||
#ca-talk { | #ca-talk { | ||
display: | display: auto; | ||
} | } | ||
/* Hides the "Talk" link */ | /* Hides the "Talk" link */ | ||
| Line 104: | Line 106: | ||
display: none; | display: none; | ||
} | } | ||
/* Hides the Watchlist tab and link */ | /* Hides the Watchlist tab and link */ | ||
| Line 157: | Line 160: | ||
blockquote span.material-symbols-outlined { | blockquote span.material-symbols-outlined { | ||
font-size: | font-size: 115%; | ||
} | } | ||
| Line 676: | Line 679: | ||
display: none; | display: none; | ||
padding-left: 20px; | padding-left: 20px; | ||
} | |||
.fancytree ul { | |||
background: none; | |||
border: none; | |||
font-size: 12px; | |||
} | |||
ul.fancytree-container { | |||
outline: 0; | |||
border: none; | |||
overflow: hidden; | |||
} | |||
.fancytree p { | |||
display: none; | |||
} | |||
span.fancytree-title { | |||
cursor: default; | |||
} | |||
span.fancytree-title a { | |||
color: black; | |||
} | } | ||
/*END Object Model tree TEST*/ | /*END Object Model tree TEST*/ | ||
Latest revision as of 15:12, 10 October 2025
@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap);
@import url(https://fonts.googleapis.com/css?family=Roboto Condensed);
/* CSS placed here will be applied to all skins */
/* BEGIN Standard Styling */
/* Font and Heading Styling */
* {
font-family: Roboto, Arial, sans-serif;
}
div .firstHeading,
#firstHeading,
h2,
h3,
h4,
h5 {
font-family: Roboto, Arial, sans-serif;
color: #f89420;
}
h1 span {
font-family: 'Roboto Condensed', Arial, sans-serif;
font-size: 1.50em;
}
h2 span {
font-family: 'Roboto Condensed', Arial, sans-serif;
font-size: 1.50em;
}
h3 span {
font-family: 'Roboto Condensed', Arial, sans-serif;
font-size:1.60em;
}
h4 span {
font-family: 'Roboto Condensed', Arial, sans-serif;
font-size:1.75em;
font-weight: normal;
}
h5 span {
font-family: 'Roboto Condensed', Arial, sans-serif;
font-size:1.50em;
font-style: italic;
font-weight: normal;
}
h6 span {
font-size:1.45em !important;
font-family: 'Roboto Condensed', Arial, sans-serif;
font-style: italic;
color: #616364;
}
big {
font-weight: bold;
}
p, li, tr, dl {
color: rgb(84, 86, 90);
font-size: 16px;
}
/* END Standard Styling */
/*BEGIN Vector 2022 styling*/
.mw-logo-wordmark {
border: 0 !important;
vertical-align: middle !important;
display: block !important;
margin: 0 auto !important;
width: 6.5em !important;
height: 2.5em !important;
}
.mw-page-container, .mw-workspace-container, .mw-content-container, .vector-sticky-header, .mw-article-toolbar-container {
max-width: unset;
}
.mw-body {
grid-template-columns: minmax(0,1fr) min-content !important;
}
.vector-main-menu-container * {
font-size: 100%;
}
div.vector-pinnable-header.vector-main-menu-pinnable-header.vector-pinnable-header-pinned > div.vector-pinnable-header-label {
font-size: 100%;
}
#mw-sidebar-button {
display: none !important;
}
/* Shows the "Discussion" tab */
#ca-talk {
display: auto;
}
/* Hides the "Talk" link */
#pt-mytalk {
display: none;
}
/* Hides the Watchlist tab and link */
#ca-unwatch, #ca-watch, #pt-watchlist {
display: none !important;
}
/*END Vector 2022 styling*/
/*BEGIN Blockquote Styling */
.vector-body blockquote {
font-size: 125%;
padding: 0;
border: 0;
}
.vector-body blockquote p {
font-size: 120%;
padding: 0;
border: 0;
}
.vector-body blockquote li {
font-size: 110%;
padding-left: 0.4em;
border: 0;
}
.vector-body blockquote dd {
font-size: 120%;
padding: 0;
border: 0;
}
.vector-body blockquote dd li {
font-size: 90%;
padding-left: 0.4em;
border: 0;
}
.vector-body blockquote li li {
font-size: 100%;
padding-left: 0.4em;
border: 0;
}
blockquote i.material-symbols-outlined {
vertical-align: initial !important;
font-size: 100%;
padding-right: 2px;
}
blockquote span.material-symbols-outlined {
font-size: 115%;
}
blockquote span.ol {
margin-right:6px !important;
}
blockquote span.ol.tree {
margin-right:8px !important;
}
/*END Blockquote Styling */
/*Remove Special Pages, Page Information, Related Changes, and Permanent Link links from Tools menu in left-hand Navigation bar*/
#t-specialpages,
#t-info,
#t-recentchangeslinked,
#t-permalink {
display: none;
}
/*Added to scale and wrap images*/
img {
max-width:100%;
height:auto;
image-rendering: -webkit-optimize-contrast !important;
}
@media only screen and (max-width: 1200px) {
.tabs-container td,
.how-to-table td {
display: block;
width: 95% !important;
padding: 5px !important;
}
.tabs-container tr,
.how-to-table tr {
width: 100%;
}
}
/* Tabbed container styling. Adjusts margins for the <tabs> box and the <tab> content for each tab. */
.tabs-content, .tabs-tabbox {
margin: 20px;
}
/* "How To" table styling. This is the two column table. Instructions are in the left column. Screenshots are in the right column. */
.how-to-table {
border-collapse: separate;
border-spacing: 8px;
}
.how-to-table th, .how-to-table td {
padding: 8px;
vertical-align: top;
}
.how-to-table td:first-of-type {
width:40%;
}
/* FYI Box Styling. This is the one row, two column table for "FYI" information.*/
.fyi-box {
border-spacing: 8px;
margin-top: 12px !important;
margin-bottom: 12px !important;
margin-left: auto !important;
margin-right: auto !important;
max-width: 96%;
}
.fyi-box td {
padding: 8px;
padding-top: 4px;
padding-bottom: 4px;
border: 4px solid #36b0a7;
border-radius: 2px;
}
.fyi-box td:first-of-type {
background-color:#36b0a7;
width:28px;
text-align: center;
vertical-align: middle;
}
.fyi-box td:first-of-type p {
font-size:125%;
color: white;
}
/* Attention Box Styling. This is the one row, two column table for "Attention" information, using the ⚠ (⚠) symbol*/
.attn-box {
border-spacing: 8px;
margin-top: 12px !important;
margin-bottom: 12px !important;
margin-left: auto !important;
margin-right: auto !important;
max-width: 96%;
}
.attn-box td {
padding: 8px;
padding-top: 2px;
padding-bottom: 2px;
border: 4px solid #f89420;
border-radius: 2px;
}
.attn-box td:first-of-type {
background-color:#f89420;
width:28px;
text-align: center;
vertical-align: middle;
}
.attn-box td:first-of-type p {
font-size:200%;
color: white;
}
/* Download Box Styling. This is the one row, two column table calling out ZIPs users can download. FYI: This uses [[File:Asset 22@4x.png]] in the first cell.*/
.download-box {
border-spacing: 8px;
margin-top: 12px !important;
margin-bottom: 12px !important;
margin-left: auto !important;
margin-right: auto !important;
width: 96%;
}
.download-box td {
padding: 8px;
padding-top: 4px;
padding-bottom: 4px;
border: 2px solid #f89420;
border-radius: 2px;
}
.download-box td:first-of-type {
width:40px;
}
/* WIP Box Styling. This is the one row, two column table for "Work In Progress" warning*/
.wip-box {
border-spacing: 8px;
margin-top: 12px !important;
margin-bottom: 12px !important;
margin-left: auto !important;
margin-right: auto !important;
width: 96%;
}
.wip-box td {
padding: 8px;
padding-top: 4px;
padding-bottom: 4px;
border: 4px solid #ed2330;
border-radius: 2px;
}
.wip-box td:first-of-type {
background-color:#ed2330;
width:28px;
text-align: center;
vertical-align: middle;
}
.wip-box td:first-of-type p {
font-size:125%;
color: white;
}
/* Important Box Styling. This is the one row, two column table for "ultra important" information, using the double exclamation mark (‼) symbol*/
.important-box {
border-spacing: 8px;
margin-top: 12px !important;
margin-bottom: 12px !important;
margin-left: auto !important;
margin-right: auto !important;
max-width: 96%;
}
.important-box td {
padding: 8px;
padding-top: 2px;
padding-bottom: 2px;
border: 4px solid #662d91;
border-radius: 2px;
}
.important-box td:first-of-type {
background-color:#662d91;
width:28px;
text-align: center;
vertical-align: middle;
}
.important-box td:first-of-type p {
font-size:200%;
color: white;
}
/* This is for extremely rare circumstances that probably won't ever happen again. Talk to Dylan for more info. */
.inner-box * {
padding: 0px !important;
padding-top: 0px !important;
padding-bottom: 0px !important;
border: none !important;
font-size: 100% !important;
background-color: white !important;
color: #616364 !important;
width: auto !important;
text-align: left !important;
vertical-align: top !important;
}
/*A simple border class for images*/
.simpleborder img {
border: solid 1px #616364 !important;
margin: 8px;
}
/*A simple drop shadow class for images*/
.simpleshadow img {
filter: drop-shadow(4px 4px 4px #616364);
}
.left-with-bullets img {
margin-right:12px;
}
/* Images should be responsive */
img {
max-width:100%;
height:auto;
}
.tabs-togglebox .tabs-content {
margin: 0px;
}
/*BEGIN pre block styling*/
/*Adjusts the "pre to clip" copy button to not change pre block sizes when hovering over them*/
.pretoclip-copy-button {
margin-top: -8px;
margin-bottom: -8px;
}
/*Scrollable code blocks*/
pre {
width: 50vw;
overflow-x: auto;
white-space: pre;
}
/*Forces normal behavior for pre blocks in tables*/
td pre {
width: auto;
overflow-x: visible;
white-space: pre-line;
}
/*END pre block styling*/
/* BEGIN Bullet Styling */
/* Extra padding for bullets */
li {
padding-left: .2em;
}
/* BEGIN li class for "attention" bullets */
li.attn-bullet::marker {
content: "\26A0";
color: #f89420;
font-size: 1.2em;
}
li.attn-bullet {
padding-left: 0.6em;
}
/* BEGIN li class for "FYI" bullets */
li.fyi-bullet::marker {
content: "FYI";
color: #36b0a7;
font-weight: bolder;
font-size: 1.1em;
}
li.fyi-bullet {
padding-left: 0.6em;
}
ul:has(> li.fyi-bullet) {
padding-left: 0.2em;
}
.vector-body blockquote li.fyi-bullet {
font-size: 100%;
padding-left: 0.6;
border: 0;
}
/* END li class for "FYI" bullets */
/* END Bullet Styling */
/* BEGIN Grooper Icon Styling */
@font-face {
font-family: 'Material Symbols Outlined';
font-style: normal;
font-weight: 100 700;
src: url(https://wiki.grooper.com/fonts/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2) format('woff2');
}
.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 20px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
width: 18px;
height: 18px;
-webkit-font-smoothing: antialiased; /* Support for all WebKit browsers. */
text-rendering: optimizeLegibility; /* Support for Safari and Chrome. */
-moz-osx-font-smoothing: grayscale; /* Support for Firefox. */
font-feature-settings: 'liga'; /* Support for IE. */
vertical-align: sub !important;
}
.material-icons-test {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased; /* Support for all WebKit browsers. */
text-rendering: optimizeLegibility; /* Support for Safari and Chrome. */
-moz-osx-font-smoothing: grayscale; /* Support for Firefox. */
font-feature-settings: 'liga'; /* Support for IE. */
}
/* BEGIN Overlay CSS for Grooper icons */
.ol {
position: relative !important;
}
.ol::after {
position: absolute !important;
background: transparent;
color: inherit;
right: -4px !important;
bottom: -2px !important;
font-size: 12px;
font-weight: 400;
font-variation-settings: "FILL" 1;
/*"transparent" border for overlay*/
-webkit-text-stroke: 2px white;
paint-order: stroke fill;
}
blockquote .ol::after {
right: -8px !important;
bottom: -6px !important;
font-size: 14px;
-webkit-text-stroke: 3px white;
}
.ol.add::after {
content: "add_circle";
font-weight: 900;
}
.ol.arrowup::after {
content: "arrow_upward_alt";
}
.ol.arrowdown::after {
content: "arrow_downward_alt";
}
.ol.check::after {
content: "done";
}
.ol.circlegreen::after {
content: "circle";
color: var(--grp-teal-2);
}
.ol.circlered::after {
content: "circle";
color: var(--color-danger-border);
}
.ol.connect::after {
content: "power";
font-size: 16px;
font-weight: 300;
right: 6px !important;
}
.ol.delete::after {
content: "remove_circle";
right: 8px !important;
font-weight: 900;
}
.ol.go::after {
content: "arrow_right_alt";
font-weight: 900;
}
.ol.lightning::after {
content: "bolt";
right: -2px !important;
}
.ol.paperclip::after {
content: "attach_file";
}
.ol.reset::after {
content: "undo";
}
.ol.tree::after {
content: "account_tree";
font-size: 16px;
font-weight: 100;
right: -6px !important;
bottom: -4px !important;
}
blockquote .ol.tree::after {
content: "account_tree";
font-size: 18px;
font-weight: 100;
right: -10px !important;
bottom: -8px !important;
}
/* END Overlay CSS for Grooper icons */
/* END Grooper Icon Styling */
/* BEGIN iframe styling for supademos */
iframe {
border: none;
position: relative !important;
}
/* END iframe styling for supademos */
/* BEGIN Trying to fix the problem with left aligned images messing up bullets in text on the right */
.flowlist p {
overflow-x: hidden;
margin-left: 0;
padding-left: 1em;
}
.flowlist ul {
overflow-x: hidden;
margin-left: 0;
padding-left: 2.6em;
}
.flowlist ul ul {
overflow-x: hidden;
margin-left: 0;
padding-left: 1.6em;
}
.flowlist ol {
overflow-x: hidden;
margin-left: 0;
padding-left: 4.2em;
}
.flowlist dl {
overflow-x: hidden;
}
/* END Trying to fix the problem with left aligned images messing up bullets in text on the right */
/*BEGIN Object Model tree TESTS*/
div.object-model-list button {
float: none !important;
}
.om-collapsible {
cursor: pointer;
background-color: #eee;
padding: 10px;
border: none;
text-align: left;
display: block;
margin-top: 5px;
}
.om-content {
display: none;
padding-left: 20px;
}
.fancytree ul {
background: none;
border: none;
font-size: 12px;
}
ul.fancytree-container {
outline: 0;
border: none;
overflow: hidden;
}
.fancytree p {
display: none;
}
span.fancytree-title {
cursor: default;
}
span.fancytree-title a {
color: black;
}
/*END Object Model tree TEST*/