MediaWiki:Common.css

From Grooper Wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@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 */

/*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;
}

/* Hides the "Discussion" tab */
#ca-talk {
  display: none;
}

/* Hides the "Talk" link */
#pt-mytalk {
  display: none;
}

/* Hides the Watchlist tab and link */
#ca-unwatch, #ca-watch, #pt-watchlist {
  display: none !important;
}


/* 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.75em;
}

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;
}

/* Blockquote Styling */
.vector-body blockquote {
    font-size: 125%;
    padding: 0;
    border: 0;
}

.vector-body blockquote p {
    font-size: 120%;
    padding: 0;
    border: 0;
}



/*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 ⚠ (&#9888;) 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 (&#8252;) 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);
}

/* Images should be responsive */
img {
max-width:100%;
height:auto;
}

.tabs-togglebox .tabs-content {
  margin: 0px;
}

/*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;
}

/* Bullet Styling */
/*li class for "attention" bullets*/
li.attn-bullet::marker {
  content: "\26A0";
  color: #f89420; 
  font-size: 1.1em;
}

li.attn-bullet {
  padding-left: 0.6em;
}

/*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;
}


@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;
}

/* 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;
  }

  .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;
  }

  .ol.delete::after {
    content: "remove_circle";
    right: 8px;
    font-weight: 900;
  }

  .ol.go::after {
    content: "arrow_right_alt";
    font-weight: 900;
  }

  .ol.lightning::after {
    content: "bolt";
    right: -2px;
  }

  .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;
    bottom: -4px;
  }