MediaWiki:Common.css

From Animal Well Wiki
Jump to navigation Jump to search

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.
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Nova+Flat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dosis&family=Nova+Flat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alkatra&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:[email protected]&display=swap')


/********
* Fonts *
*********/

/* latin-ext */
@font-face {
  font-family: 'Sen';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sen/v9/6xKjdSxYI9_3kvWNAG_5LVwJcOM.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sen';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sen/v9/6xKjdSxYI9_3nPWNAG_5LVwJ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: italic;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05KGKVS5aVKd567NYXawnFKJaTtoAuLnIcNlt79fkxE.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: italic;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05KGKVS5aVKd567NYXawnFKJaTtoAuLnIcNltf9fkxE.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: italic;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05KGKVS5aVKd567NYXawnFKJaTtoAuLnIcNltD9fkxE.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: italic;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05KGKVS5aVKd567NYXawnFKJaTtoAuLnIcNlt39fkxE.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: italic;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05KGKVS5aVKd567NYXawnFKJaTtoAuLnIcNltP9fg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05EGKVS5aVKd567NYXawnFKJaTtoAuLnIcFptHleg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05EGKVS5aVKd567NYXawnFKJaTtoAuLnIcMptHleg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05EGKVS5aVKd567NYXawnFKJaTtoAuLnIcLptHleg.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05EGKVS5aVKd567NYXawnFKJaTtoAuLnIcGptHleg.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sofiasanscondensed/v2/r05EGKVS5aVKd567NYXawnFKJaTtoAuLnIcIptE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/michroma/v19/PN_zRfy9qWD8fEagAPgzpTnr_w.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/michroma/v19/PN_zRfy9qWD8fEagAPg9pTk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Credit to trigonaut on the animal well discord for creating */
@font-face {
    font-family: "Down the Well";
	font-weight: 400;
	font-display: swap;
    src: url(https://commons.wiki.gg/images/3/30/DownTheWell-Regular.otf) format("opentype");
    font-style: normal;
}

/************
* End Fonts *
*************/

/*Quotes slider*/

    .hslider {
      position: relative;
      
      overflow: hidden;
    }

    .hslider__wrapper {
      display: flex;
      transition: transform 0.6s ease;
      align-items: center;
    }
    
    .hslider__wrapper > p {
      margin: 0;
    }

    .hslider__item {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .hslider__control {
      position: absolute;
      top: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      color: #fff;
      text-align: center;
      opacity: 0.5;
      height: 50px;
      transform: translateY(-50%);
    }

    .hslider__control:hover,
    .hslider__control:focus {
      color: #fff;
      text-decoration: none;
      outline: 0;
      opacity: .9;
    }

    .hslider__control_left {
      left: 0;
    }

    .hslider__control_right {
      right: 0;
    }

    .hslider__control::before {
      content: '';
      display: inline-block;
      width: 20px;
      height: 20px;
      background: transparent no-repeat center center;
      background-size: 100% 100%;
    }

    .hslider__control_left::before {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
    }

    .hslider__control_right::before {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
    }

    .hslider__item>div {
    line-height: 22px;
    font-size: 14px;
    text-align: center;
}

/* Tabber styling */
.tabberlive .tabbertab,
.tabber .tabbertab {
    border: 1px solid #D1394E; /* If you keep all borders the same */
    border-image: none;
    padding: 3px;
}

ul.tabbernav {
    border-bottom: none;
}

ul.tabbernav li a {
    background: linear-gradient(to bottom, #A6274E 0%,#CD2F46 73%,#D1394E 100%); /* This should match your general choice of background color */
    border: 1px solid #D1394E; /* This should match your general choice of border color */
    border-image: none;
    border-radius: 2px 2px 0 0; /* This is only if you want your tabs to have rounded corners */
    margin-left: 3px;
    padding: 3px 0.5em;
    text-decoration: none;
}

ul.tabbernav li {
    display: inline;
    list-style: none outside none;
    margin: 0 0 0 7px;
}

ul.tabbernav li a:link {
    color: #F1DAB4; /* This should match your anchor color, but simply being different from the default text color works */
}

ul.tabbernav li a:hover {
    background: none repeat scroll 0 0 #D1394E;
    border-color: #D1394E; /* This should match your general choice of border color */
    color: #FFFFFF;
}

ul.tabbernav li.tabberactive a {
    background-color: #D1394E;
    color: #FFFFFF;
}

ul.tabbernav li.tabberactive a:hover {
    color: #F1DAB4;
}

ul.tabbernav li.tabberactive a,
ul.tabbernav li.tabberactive a:hover,
ul.tabbernav li.tabberactive a:link {
    background-color: #A6274E;
    border-bottom: 1px none;
    padding: 2px 0.5em 4px;
}

ul.tabbernav {
    text-align: center; /* if you want the tabs to be centered rather than left-justified with respect to the tab content */
}

/* messageboxes */
.messagebox {
	background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--wiki-navigation-border-color);
	border-radius: 3px;
	box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.3);
    margin: 0 auto 1em auto;
    padding: 0.5em;
    text-align: center;
}

/* DLC colors for custom hyperlinks */
.RotG a:visited, .RotG a { color: #66E6FF; }
.TBS a:visited, .TBS a { color: #00FF00; }
.FF a:visited, .FF a { color: #F88B46; }

/* Portable Infobox fix */
figure.pi-image {
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/* Image fix for biome map */
.fluid img {
    max-width: 100%;
    height: auto;
}

/* Main page ([[Dead Cells Wiki]]) */

#fp-container {
  display:grid;
  grid-template-areas:"a" "b" "c";
  grid-template-columns:100%
}
@media screen and (min-width:990px) {
  #fp-container {
    grid-template-areas:"a b" "c c";
    grid-template-columns:50% 50%
  }
}
@media screen and (min-width:1350px) {
  #fp-container {
    grid-template-areas:"a b" "c c";
    grid-template-columns:auto 520px
  }
}

.fpbox {
  width:calc(100% - 2px);
  box-sizing:border-box;
}

.fp-section {
  display:flex;
  flex-wrap:wrap;
  overflow:hidden
}

#fp-top {
  grid-area:a
}
#fp-flex {
  grid-area:b
}
#fp-bottom {
  grid-area:c
}

/* End main page */