MediaWiki:Mobile.css

From Tardis Wiki, the free Doctor Who reference
Revision as of 20:32, 6 March 2024 by SOTO (talk | contribs) (Ah well, merging them together)
Clear your cache often around here

After changes are made to this site's CSS or Javascript, you have to bypass your browser's cache to see the changes. You can always do this by going to your browser's preferences panel. But many browsers also offer keyboard shortcuts to save you that trouble. The following shortcuts work in the versions of the browsers that Tardis currently supports. They may not work in earlier versions.

  • Firefox: hold down Shift while performing a page reload.
  • Opera offers no default keyboard shortcut, but you can create a custom keyboard shortcut with the value Clear disk cache
  • Safari users should simultaneously hold down + Option + E. You may need to enable the Develop menu first
  • Chrome: press Ctrl + F5 or Shift + F5 while performing a page reload.
/* All CSS here will be loaded for users of the mobile site */

/* =============================
   Version 1.0 February 2024
   ============================= 
   
   The mobile skin, primarily designed by 
   [[User:SOTO]], with important early
   additions by [[User:Bongolium500]],
   uses Citizen as its base.

   */
/*  
    ===================
    CSS IMPORTS 
    =================== */
@import url("https://tardis.wiki/w/load.php?modules=ext.gadget.infoboxes-mobile|ext.gadget.modularStyles&only=styles"); /* import infoboxes stylesheet and all other split-out stylesheets */

/* 
    ===================
    Font IMPORTS 
    =================== */
/* latin */
@font-face {
  font-family: 'Della Respira';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dellarespira/v22/RLp5K5v44KaueWI6iEJQBiGPdf4YuoMtXHs.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;
}
/* vietnamese */
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/mavenpro/v33/7Au9p_AqnyWWAxW2Wk3GwmQIAFg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/mavenpro/v33/7Au9p_AqnyWWAxW2Wk3Gw2QIAFg.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: 'Maven Pro';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/mavenpro/v33/7Au9p_AqnyWWAxW2Wk3GzWQI.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;
}
/* vietnamese */
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/mavenpro/v33/7Au9p_AqnyWWAxW2Wk3GwmQIAFg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Maven Pro';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/mavenpro/v33/7Au9p_AqnyWWAxW2Wk3Gw2QIAFg.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: 'Maven Pro';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/mavenpro/v33/7Au9p_AqnyWWAxW2Wk3GzWQI.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: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaORs71cA.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: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaHRs71cA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaMRs71cA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaNRs71cA.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: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaDRs4.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: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofIOOaBXso.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: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofIMeaBXso.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofIOuaBXso.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofIO-aBXso.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: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofINeaB.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;
}
/* latin */
@font-face {
  font-family: 'Mitr';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/mitr/v11/pxiEypw5ucZF8eMcJJfecnFHGPc.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;
}

/*================== =========

        COLOUR VARIABLES
    
    These work alongside, but
    diverge from those set at
    [[MediaWiki:Timeless.css]]
               and
  [[MediaWiki:Theme-light.css]] 
                   
==================== */

:root.skin-citizen-dark {
	--text-color: #ffffff;
	--primary-1: #0e2348;
	--primary-2: #0f2651;
	--primary-3: #1a2e53;
	--primary-4: #0a1b3c;
    --primary-5: #2f4065;
    --primary-6: #2c406b;
    --primary-7: #355086;
    --primary-8: #25437e;
    --primary-9: #192e53;
    --primary-10: #1d3361;
    --primary-11: #162e5e;
    --primary-12: #162a50;
	--accent-1: #c7b286;
	--accent-2: #d5ac59;
	--accent-3: #bfa773;
	--accent-4: #e5c076;
    --accent-5: #dcd697;
    --accent-6: #506593;
	--alt-text-color: #000000;
	--contrast-color-1: #8595b5;
	--contrast-color-1--rgb: 133,149,181;
	--contrast-color-2: #e3e5e7;
	--contrast-color-2--rgb: 227,229,231;
	--contrast-color-3: #526586;
	--contrast-color-3--rgb: 82,101,134;
    --contrast-color-4: #aec2da;
    --contrast-color-4--rgb: 174,194,218;
    --contrast-color-5: #687a99;
    --contrast-color-6: #4a628c;
    --contrast-color-7: #b8c2d4;
    --contrast-color-8: #bec7d9;
    --contrast-color-9: #b3bbc9;
    --border-shade: #b6c1d6;
	--border-shade-2: #5d6b84;
    --background-shade: #0a1b3c66;
    --opacity-icon-base: 0.65;
}
:root.skin-citizen-light {
	--text-color: #0e191a;
	--primary-1: #fff4ef;
	--primary-2: #90a2bf;
	--primary-3: #4f6087;
	--primary-4: #bec9da;
    --primary-5: #c5d0e6;
	--accent-1: #556375;
	--accent-2: #47639E;
	--accent-3: #46619b;
	--accent-4: #334671;
	--accent-5: #324b83;
	--accent-6: #506593;
    --accent-7: #3f5b96;
    --accent-8: #5d6b84;
    --accent-9: #2a498a;
    --accent-10: #203c6e; /*192e53*/
    --accent-11: #283f67;
    --accent-12: #516898;
	--alt-text-color: #ffffff;
    --alt-text-color-2: #dde2ed;
	--contrast-color-1: #6b778f;
	--contrast-color-1--rgb: 107,119,143;
    --contrast-color-2: #e5dfdf;
    --contrast-color-2--rgb: 229,223,223;
    --contrast-color-3: #ccddff;
    --contrast-color-3--rgb: 204,221,255;
    --contrast-color-4: #ebebeb;
    --contrast-color-4--rgb: 235,235,235;
	--contrast-color-5: #687a99;
	--contrast-color-5-rgb: 104,122,153;
    --contrast-color-6: #bec7d9;
    --contrast-color-6-rgb: 190,199,217;
    --contrast-color-7: #4a628c;
    --contrast-color-8: #b8c2d4;
    --contrast-color-9: #3f4a5c;
    --border-shade: #25499c;
    --border-shade-2: #355086;
    --opacity-icon-base: 0.58;
}

@media screen {
  :root.skin-citizen-dark,
  :root.skin-citizen-light {
    --color-surface-0: var(--primary-1);
    --color-surface-1: var(--primary-2);
    --color-surface-2: var(--primary-3);
    --color-surface-3: var(--primary-4);
    --color-surface-4: var(--primary-5);
    --color-primary: var(--accent-1);
    --color-primary--hover: var(--accent-2);
    --color-primary--active: var(--accent-3);
    /*--background-color-primary--hover: hsl(var(--color-primary__h),var(--color-primary__s),15%);
    --background-color-primary--active: hsl(var(--color-primary__h),var(--color-primary__s),20%);*/
    --background-color-overlay: var(--primary-2);
    --background-color-overlay--lighter: var(--primary-3);
    /*--color-surface-2--hover: hsl(var(--color-primary__h),30%,19%);
    --color-surface-2--active:*/
    --p-shadow: 0 0 0 10px var(--background-shade);
    --p-shadow-heading: 0 -14px 0 24px var(--background-shade), 0 3px 0 0 var(--background-shade) inset, 0 3px 0 0 var(--background-shade) inset, 0 -1px 0 0 var(--background-shade);
    --p-shadow-wide: 0 -6px 0 16px var(--background-shade);
    --section-shadow: 0 3px 0 0 var(--background-shade);
  }
  :root.skin-citizen-dark {
    --color-surface-5: var(--primary-12);
  }
  :root.skin-citizen-light {
    --color-surface-5: var(--accent-12);
  }
}


a {
    --color-link: var(--accent-2);
    --color-link--hover: var(--accent-1);
    --color-link--active: var(--accent-1);
 }

.mw-parser-output {
    overflow: visible;
}
.skin-citizen-dark .mw-parser-output section.collapsible-block h3 ~ p,
.skin-citizen-dark .mw-parser-output section.collapsible-block > .thumb:first-child ~ p,
.skin-citizen-dark .mw-parser-output section.collapsible-block h3 ~ ul > ul {
    background: var(--background-shade);
    margin-left: 2px;
    padding-left: 2.5px;
         -moz-box-shadow: var(--p-shadow);
      -webkit-box-shadow: var(--p-shadow);
           -o-box-shadow: var(--p-shadow);
          -ms-box-shadow: var(--p-shadow);
              box-shadow: var(--p-shadow);
}
.skin-citizen-dark .mw-parser-output section.collapsible-block h3 + p,
.skin-citizen-dark .mw-parser-output section.collapsible-block h4 + p {
    margin-top: 3.5px;
    padding-top: 7px;
         -moz-box-shadow: var(--p-shadow-heading);
      -webkit-box-shadow: var(--p-shadow-heading);
           -o-box-shadow: var(--p-shadow-heading);
          -ms-box-shadow: var(--p-shadow-heading);
              box-shadow: var(--p-shadow-heading);
}

/*==================

    Font matters 
                   
==================== */
/*h1.firstHeading {
	font-family: "Della Respira","Nunito","Rubik",sans-serif;
    font-weight: 400;
}*/

body {
    font-family: "Nunito","Rubik",sans-serif;
}
.mw-parser-output p {
    font-size: 15.7px;
}

.mw-parser-output p b,
.portable-infobox b,
.navbox b {
    font-weight: 800;
}

.mw-logo-wordmark,
h1.mw-first-heading {
    font-family: "Maven Pro","Nunito","Rubik",sans-serif;
}

.citizen-body-header--sticky .mw-first-heading {
    font-family: "Maven Pro","Nunito","Rubik",sans-serif;
    font-weight: 800;
}
.mw-parser-output > h2 {
    padding-bottom: 2px;
}
.mw-parser-output section.collapsible-block {
    margin-top: 13px;
}
#tech {
    font-family: "Maven Pro","Nunito","Rubik",sans-serif;
    line-height: inherit;
}
.mw-editform .mw-ui-input {
    font-family: monospace;
    background: var(--primary-9)!important;
}
/*.citizen-footer {
    font-family: "Maven Pro","Nunito","Rubik",sans-serif;
}*/

.citizen-page-container {
    top: 45px;
    position: relative;
}

/*  =-=-=-=-=-=-=-=-=-=-=-=
    HEADER
    =-=-=-=-=-=-=-=-=-=-=-= */

.citizen-header {
	background: var(--primary-3);
    top: 0;
    bottom: auto;
}
.citizen-header__logo .mw-logo-icon {
    width: 60px;
    height: 50px;
    position: relative;
    left: -1px;
    top: -5px;
}
.skin-citizen-dark .citizen-header__logo .mw-logo-icon {
    left: 4.96px;
    top: -5.96px;
}
.skin-citizen-dark .citizen-header {
    padding-left: 7.8px;
}
.skin-citizen-light .citizen-header {
	background: var(--accent-5);
}

@media screen and (min-width: 1120px) {
	.citizen-header {
		bottom: 0;
		width: 70px;
		padding-top: 27px;
	}
    .citizen-header__logo .mw-logo-icon {
    	left: -7px;
     /* left: 0.665px; */
    	top: -6px;
    	width: 66px;
    	height: auto;
	}
    .skin-citizen-light .citizen-header {
	    padding-left: 8.76px;
    }
}

@media screen and (max-width: 1119px) {
	.citizen-scroll--down .citizen-header {
    	transform: translateY(-100%);
	}
}

.citizen-header__button {
    width: 50px;
    contain: layout;
}
.skin-citizen-light .citizen-header__buttonIcon,
.skin-citizen-light .citizen-header .citizen-ui-icon {
    filter: invert(1);
}
.skin-citizen-dark .citizen-header__button {
    filter: brightness(110.55%);
    opacity: 0.97;
}
.skin-citizen-light .citizen-header__button {
    filter: brightness(129%);
}

#citizen-drawer__checkbox:checked ~ .citizen-drawer__button,
.citizen-header .citizen-menu-checkbox-checkbox ~ .citizen-header__button::before{
    background: none;
}

.skin-citizen-light .citizen-search__card {
    background: var(--contrast-color-4);
}
.skin-citizen-light .citizen-search-box .citizen-ui-icon {
    filter: none;
}

.skin-citizen-dark .citizen-body-header--sticky .mw-body-header::before {
    background: var(--primary-6);
}
.skin-citizen-light .citizen-body-header--sticky .mw-body-header::before {
    background: var(--accent-3);
}
.skin-citizen-light .citizen-body-header--sticky .mw-body-header .mw-first-heading .mw-page-title-namespace,
.skin-citizen-light .citizen-body-header--sticky .mw-body-header .mw-first-heading .mw-page-title-parenthesis {
    color: var(--alt-text-color-2)!important;
}
.skin-citizen-light .citizen-body-header--sticky .mw-body-header .mw-first-heading .mw-page-title-separator {
    color: var(--primary-5)!important;
}
.citizen-body-header--sticky .mw-body-header .mw-first-heading {
    color: white!important;
}

.mw-parser-output a.external::after {
  content: none;
}

.citizen-userMenu__card,
#citizen-pref-panel,
.citizen-drawer__card {
  bottom: unset !important;
  top: 50px !important;
}
@media screen and (max-width: 1119px) {
	.citizen-body-header--sticky .mw-body-header {
	    top: 33px;
	    max-height: 20px;
	    transform: translateY(66%);
	}
}
.citizen-body-container .pullout-wrapper {
    display: none;
}

/*  =-=-=-=-=-=-=-=-=-=-=-=
    FOOTER
    =-=-=-=-=-=-=-=-=-=-=-= */

.skin-citizen-light .citizen-footer {
    background: var(--contrast-color-2);
}

/*  =-=-=-=-=-=-=-=-=-=-=-=
    ARTICLE TITLE
    =-=-=-=-=-=-=-=-=-=-=-= */

.skin-citizen-light .mw-first-heading .mw-page-title-namespace {
    color: var(--contrast-color-9);
}
.skin-citizen-light .ns-12 .mw-first-heading .mw-page-title-namespace,
.skin-citizen-light .ns-2 .mw-first-heading .mw-page-title-namespace,
.skin-citizen-light .ns-1 .mw-first-heading .mw-page-title-namespace,
.skin-citizen-light .ns-5 .mw-first-heading .mw-page-title-namespace,
.skin-citizen-light .ns-15 .mw-first-heading .mw-page-title-namespace,
.skin-citizen-light .mw-first-heading .mw-page-title-parenthesis {
    color: var(--contrast-color-7);
}

/*  =-=-=-=-=-=-=-=-=-=-=-=
    ARTICLE SPACE
    =-=-=-=-=-=-=-=-=-=-=-= */

h3 {
    margin-top: 4px;
}

.skin-citizen-dark .mw-parser-output section.collapsible-block h3 + p + p,
.skin-citizen-dark .mw-parser-output section.collapsible-block h3 + p + p + p {
         -moz-box-shadow: var(--p-shadow-wide);
      -webkit-box-shadow: var(--p-shadow-wide);
           -o-box-shadow: var(--p-shadow-wide);
          -ms-box-shadow: var(--p-shadow-wide);
              box-shadow: var(--p-shadow-wide);
}
.skin-citizen-dark .mw-parser-output h2 {
         -moz-box-shadow: var(--section-shadow);
      -webkit-box-shadow: var(--section-shadow);
           -o-box-shadow: var(--section-shadow);
          -ms-box-shadow: var(--section-shadow);
              box-shadow: var(--section-shadow);
}

.smw-editpage-help,
#box {
    border-color: var(--border-shade-2);
    border-radius: 10px;
    padding-bottom: 19px;
}
.skin-citizen-light .smw-editpage-help,
.skin-citizen-light #box {
    background: var(--contrast-color-7);
    border-color: var(--contrast-color-8);
    border-width: 7px;
    color: var(--contrast-color-6);
}
.skin-citizen-light .smw-editpage-help a,
.skin-citizen-light .smw-editpage-help b,
.skin-citizen-light #box a,
.skin-citizen-light #box b {
    color: var(--primary-1);
}

.mobile-no-display {
	display: none;
}

/*#subpage-article #subpage-article-tab,
#subpage-article #subpage-talk-tab {
	display: none;
}*/

/*.subpage-tabs-main {
    position: relative;
    top: -176px;
    margin-bottom: -56px;
    z-index: 9000;
}*/

.skin-citizen-dark .portable-infobox {
    /* background: var(--contrast-color-9);
    > then build further with backgrounds and box shadows, using #e1e7f2
                   and #cad5e8.
                     */
    border: solid 2px var(--primary-color-9);
}

.portable-infobox .pi-data-label + p {
    padding-top: 8.9px;
    font-size: 14.8px;
}
.portable-infobox .pi-title + p {
    margin-top: -16px;
    padding-top: 7px;
}
.portable-infobox img.pi-image-thumbnail {
    padding-top: 4px;
    width: 320px;
}
.portable-infobox .pi-header + p {
    margin-top: 5px;
    margin-bottom: 4px;
    padding: 2.4px;
}

.pi-data-value .embedvideo {
    width: 324px!important;
    height: 185px!important;
    margin-top: 3px!important;
}
.embedvideo-wrapper {
    height: 182px!important;
}
.embedvideo-loader__service {
    font-weight: 300;
}

.skin-citizen-light .portable-infobox .story-nav {
    background: var(--contrast-color-7);
}

@media screen and (max-width: 720px) {
    .dabtag, #dabtag {
        clear: right;
    }
}
.mw-parser-output > h2:first-of-type {
    clear: left;
}

@media screen and (min-width: 721px) {
    /*.citizen-header {
        --header-button-size: calc(var(--header-size) * 1.54 - var(--space-xs) * 2);
    }*/
    p + h3 {
        margin-top: 8px;
    }
}
@media screen and (min-width: 1120px) {
    .mw-parser-output > h2 {
        padding-bottom: 8px;
    }
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 ~ p,
    .skin-citizen-dark .mw-parser-output section.collapsible-block > .thumb:first-child ~ p,
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 ~ ul > ul {
         -moz-box-shadow: var(--p-shadow-wide);
      -webkit-box-shadow: var(--p-shadow-wide);
           -o-box-shadow: var(--p-shadow-wide);
          -ms-box-shadow: var(--p-shadow-wide);
              box-shadow: var(--p-shadow-wide);
    }
}

div#article-type { 
    border: 1px solid var(--accent-2);
    padding: 5px;
    letter-spacing: .5px;
    text-align: left;
    min-height: 55px;
    min-width: 528.5px;
    margin: 0px 0px 10px 0px;
}   
div#article-type p {
    margin-left: 205px;
    line-height: 11px;
    font-size: 11px;
    text-align: left;
    font-weight: normal;
    font-style: normal;
}
@media screen and (max-width: 720px) {
    div#article-type p {
        margin-left: 0;
        color: var(--alt-text-color);
    }
    div#article-type {
        max-width: 30%!important;
    }
}
div.type-delete {
    background: url(https://tardis.wiki/images/Tardis_images/8/89/Delete-mobile.jpg) 30%!important;
    background-size: 120%!important;
    font-family: "Maven Pro","Nunito","Rubik",sans-serif;
}
div.type-delete p {
    color: white!important;
}
    

.skin-citizen-light .portable-infobox .pi-title + p {
    background: var(--accent-6);
}

/*  =-=-=-=-=-=-=-=-=-=-=-=
    TABLET/DESKTOP DESIGN
    =-=-=-=-=-=-=-=-=-=-=-= */

@media screen and (min-width: 1120px) {
    html {
        --width-layout: 1030px;
    }

    .citizen-body-container {
       margin: var(--space-xl) 56px 200px 55px;
    }

    .citizen-body {
        padding: 5px 6px;
    }

    .citizen-header {
        --header-button-size: calc(var(--header-size) * 1.54 - var(--space-xs) * 2);
    }

    .mw-body-header {
        width: 118%;
        margin-left: -8.8%;
        padding: 16px;
        padding-left: 10%;
        padding-right: 24%;
    }

    .citizen-toc {
        width: 227px;
    }
}

/*  =-=-=-=-=-=-=-=-=-=-=-=
    ARCHIVE TOOL
    =-=-=-=-=-=-=-=-=-=-=-= */

#archstrip table, .archstrip table,
#archstrip td, .archstrip td {
    background-color: transparent;
    color: #FFF;
}
#archstrip, 
.archstrip {
    background: #012c57;
    overflow: visible;
    padding: 10px 20px;
    margin-bottom: 5px;
    position: relative;
    font-family:'Gill Sans', Verdana, sans-serif;
    text-transform:uppercase;
    letter-spacing:3px;
    border:2px #fff solid;
    float:right;
    line-height:110%;
    color:#fff;
    max-width:250px;
}

/*  =-=-=-=-=-=-=-=-=-=-=-=
    Main page fixes
    =-=-=-=-=-=-=-=-=-=-=-= */

.mainpage-box-characters .header,
.mainpage-box-how-to-DW .header,
.mainpage-box-featured-videos .header,
.mainpage-box-series .header {
    color: var(--contrast-color-9);
}
.skin-citizen-light .mainpage-box-about .header,
.skin-citizen-light .mainpage-box-characters .header,
.skin-citizen-light .mainpage-box-how-to-DW .header,
.skin-citizen-light .mainpage-box-featured-videos .header,
.skin-citizen-light .mainpage-box-series .header {
    color: var(--accent-9);
    border-bottom-color: var(--accent-1);
}

.mainpage .gallerybox img {
    width: auto;
    margin: 0!important;
}
.mainpage-box-characters {
    width: 458px;
    margin-left: -5px;
}
.citizen-body-container .mainpage-box-characters .gallerytext {
    left: -55px;
    top: -15px;
}

.skin-citizen-light #ca-edit > a, .skin-citizen-light #ca-ve-edit > a {
    background: var(--accent-6);
}

.citizen-overflow--left,
.citizen-overflow--right,
.citizen-overflow--left.citizen-overflow--right {
 -webkit-mask-image: none;
         mask-image: none;
}

/*  
    ===================
    TABLET MODE 
    =================== */

/* CSS here will be loaded for mobile users on tablet-sized screens */

/* =============================
   Version 1.0 March 2024
   ============================= 
   
   Building on the main mobile skin,
   tablet mode presents an experience
   optimised for tablet/computer users
   in mobile. Designed by [[User:SOTO]].

   Work in progress. (Haven't set variables
   and such yet. Will also want to check what
   code works well on regular mobile too, or
   can be adapted.)

   */
/*
@media screen and (min-width: 1120px) {

    .citizen-body-header--sticky .mw-body-header {
        z-index: 105;
    }
    .citizen-header__logo {
        position: relative;
        left: -2px;
        z-index: 1000;
        height: 134px;
        padding-top: 15px;
        margin-top: -34px;
        width: 134px;
        margin-bottom: -13px;
        background: #20355a;
        /* box-shadow: 0 -85px 0 #1f3458 inset, 1px 1px 0 #3c4c66, 4px 1.5px 0 #1a2e53, 10px 1.5px 0 #061b40; */
        box-shadow: 0 -85px 0 #1f3458 inset, 0.2px 0.4px 0 #3c4c66, 6px 1.5px 0 #162a50, 11px 1.5px 0 #15284c;
        transition: transform .7s, boxshadow .1s;
        transform: translateX(-9.8px);
        padding-left: 2px;
    }
    .citizen-scroll--up .citizen-header__logo {
        box-shadow: 0 -85px 0 #25395d inset, 70px -100px 0 #0a2149, 70px 0 0 #25395d;
        padding-left: 1.8px;
        /* transition: transform .8s, box-shadow .2s!important; */
        transform: translateX(-6.25px);
    }
    .action-edit.citizen-scroll--up .citizen-header__logo {
        box-shadow: 0 -85px 0 #25395d inset, 45px -123px 0 #162e56, 45px 0 0 #25395d;
    }
    .skin-citizen-light .citizen-scroll--up .citizen-header__logo {
        box-shadow: 0 -85px 0 #2f4574 inset, -2.5em 8px 0 #516898, -4.05em 26px 0 #2d416c, -4.05em 34px 0 #3c568d, 59px -100px 0 #233860, 59px -83px 0 #2c4374, 62px 0 0 #47597e, 64px -14px 0 #8892a7;
        margin-bottom: -8px;
    }
    .skin-citizen-light .action-edit.citizen-scroll--up .citizen-header__logo {
        box-shadow: 0 -85px 0 #2f4574 inset, -2.5em 8px 0 #516898, -4.05em 26px 0 #2d416c, -4.05em 34px 0 #3c568d, 59px -100px 0 #233860, 59px -83px 0 #2c4374, 62px 0 0 #47597e;
        transition: transform 2s, box-shadow 6s;
    }
    .citizen-scroll--down.citizen-body-header--sticky .citizen-header__logo {
        transition: transform .8s, box-shadow 10s, left 8s;
        transform: translateX(-12.12px);
        padding-left: 3.98px!important;
        padding-right: 132.5px!important;
        margin-right: -1px;
        box-shadow: 0 -85px 0 #25395d inset;
        box-shadow: 0 -85px 0 #1f3458 inset, 1px 1px 0 #3c4c66, 3px 1.5px 0 #1a2e53, 6px -70px 0 #283b62;
    }
    .skin-citizen-light .citizen-scroll--down.citizen-body-header--sticky .citizen-header__logo {
        box-shadow: 16px -85px 0 #294476 inset, 0 15px 0 #1f3764 inset, 0 7px 0 #39528d, 7px 7px 0 #30477e;
        background: #243c72;
    }
    .citizen-scroll--up.citizen-body-header--sticky .citizen-header__logo {
        transform: translateX(-7.44px);
        padding-left: 1.5px!important;
        padding-right: 0.2px!important;
        margin-right: 4px;
        box-shadow: 0 -85px 0 #1f3458 inset, 1px 1px 0 #3c4c66, 1px 1.5px 0 #1a2e53, 5px -70px 0 #283b62;
    }
    .skin-citizen-light .citizen-scroll--up.citizen-body-header--sticky .citizen-header__logo {
        box-shadow: 0 -85px 0 #294476 inset, 0 15px 0 #1f3764 inset, 0 7px 0 #39528d, 7px 7px 0 #30477e;
    }
    
    .mw-logo {
        width: 130px;
        height: 99px;
        margin-top: 9px;
        margin-left: 1.8px;
    }
    .mw-logo-icon {
        width: 119.2px!important;
        position: relative;
        top: -7px!important;
        left: -2px!important;
    }
    
    .citizen-scroll--up .mw-body-header {
        transition: box-shadow .38s;
        box-shadow: 2em 93vh 0 #031534;
    }
    .citizen-scroll--down .mw-body-header {
        transition: box-shadow .38s;
        box-shadow: 2em 96.2vh 0 #031534;
    }
    .citizen-scroll--up .citizen-header {
        transition: box-shadow .38s;
        box-shadow: 1.04em 0 #1a2f56;
    }
    .skin-citizen-light .citizen-body-header--sticky .citizen-header {
        background: #364c7c;
        transition: background 5s, box-shadow .38s;
    }
    
    .skin-citizen-light .citizen-body-header--sticky .mw-body-header {
        background: #3b5283;
    }
    .skin-citizen-light .citizen-body-header--sticky .mw-body-header:before {
        background: #485d8b;
    }
    .citizen-body-header--sticky .citizen-scroll--up .citizen-header {
        transition: box-shadow .38s;
        box-shadow: 1.18em 0 #1a2f56, 2.39em 0 #0d1f40;
    }
    .skin-citizen-light .citizen-scroll--up .citizen-header {
        box-shadow: 0.6em 7em #2b4574;
    }
    .citizen-scroll--down .citizen-header {
        transition: box-shadow .38s;
        box-shadow: .6em 0 #1a2f56;
        z-index: 200!important;
    }
    .action-edit.citizen-scroll--down .citizen-header {
        box-shadow: 2.47em 0 #1a2f56, 4.97em 0 #162a50;
    }
    .skin-citizen-light .citizen-scroll--down .citizen-header {
        box-shadow: .6em 0 #2d4167;
    }
    
    #siteNotice {
        background: #0b1f44;
        margin-bottom: 1px;
        padding-left: 10.29em;
        padding-right: 10em;
    }
    .mw-dismissable-notice {
        margin-top: -5.9px;
    }
    .mw-dismissable-notice-close {
        position: relative;
        left: 17px;
    }
    
    .mw-body-header {
        background: #162a50;
        box-shadow: 0 -200px 0 #051b40;
        margin-top: -14px;
    }
    
    .skin-citizen-light .citizen-header__logo {
        background: #2a437a;
        box-shadow: 0 -85px 0 #2b487c inset, 0 15px 0 #1f3764 inset, 0 7px 0 #39528d, 7px 7px 0 #30477e;
    }
    .skin-citizen-light .mw-body-header #siteSub {
        font-size: 1em;
    }
    .skin-citizen-light #siteNotice {
        background: #c5c2c1;
        color: #474240;
        box-shadow: 0 -10px 0 #949393, 150px 0 0 #b2b2b2 inset;
    }
        
    .skin-citizen-light #siteNotice a,
    .skin-citizen-light #siteNotice a:visited {
        color: #2d529d;
        font-weight: 700;
    }
    .skin-citizen-light .mw-body-header {
        background: #516898;
        color: white;
        box-shadow: 0 -210px 0 #a49d9b, 0 -11.2em 0 #405581;
        margin-top: -14px;
    }
    .skin-citizen-light .citizen-body-header--sticky .mw-body-header {
        background: #3b5283;
    }
    .skin-citizen-light .citizen-body-header--sticky .mw-body-header:before {
        background: #485d8b;
    }
    
    .skin-citizen-light .mw-body-header h1,
    .skin-citizen-light .mw-body-header a {
        color: white;
    }
    .skin-citizen-light .mw-body-header #siteSub {
        color: #cfd4df;
    }
    
    h3 {
        margin-top: 24px!important;
        margin-bottom: 19.8px;
        margin-left: -0.06em;
    }
    
    .citizen-body .pi-image a.image:not(.lazy):not(.new) > img {
        transform: scale(1.07);
        margin-left: 1.2%;
        margin-top: -.6%;
        margin-bottom: .8%;
    }
    .citizen-body .pi-image a.image:hover:not(.lazy):not(.new) > img {
        transform: scale(1.02);
    }
    
    .tleft .thumbinner,
    .tleft .thumbimage {
        width: 307px!important;
        height: auto!important;
        margin-top: 5.2px;
        margin-right: .338em;
    }
    .tright .thumbinner,
    .tright .thumbimage {
        max-width: 290px;
        height: auto!important;
        margin-top: 2.2px;
    }

    .stub-type {
        transform: rotate(90deg);
        position: absolute;
        top: 21em;
        left: 51.4em;
        filter: invert(1) hue-rotate(322deg) brightness(0.93) contrast(2.2) saturate(0.58);
        z-index: 12;
        margin-bottom: 20px;
    }
    .skin-citizen-light .stub-type {
        filter: invert(1) hue-rotate(233deg) brightness(0.83) contrast(2.2) saturate(0.58);
        filter: hue-rotate(374deg) brightness(1.2) contrast(1.3);
        top: 16.3em;
    }
    
    div#inline-box {
        width: 23em;
        margin-left: 0em;
        margin-right: 1.4em;
    }
    
    .mw-parser-output section.collapsible-block p {
        margin-bottom: 11px;
        margin-left: -8px!important;    
    }
    
    .skin-citizen-light .citizen-toc {
        box-shadow: 20px 0 #95979c, 305px 0 #283654, 305px -14em #283654, 227px -14em #475a82, 200px 0 #475a82;
    }
.   .skin-citizen-light .citizen-toc {
}
    div#inline-box {
        margin-top: 11.8px;
        margin-bottom: -2.4px;
        margin-left: 6.09px;
        margin-right: 22.6px;
        border-radius: 5px 0 8px 2px;
        border-color: #8f9ab3;
        box-shadow: 0px -6px 0 0 #172d52, -4px -5px 0 0 #273d62, -4px -4px 0 0 #273d62, 1px 0 0 4px inset #061a3c, -7px 0 0 4px inset #172d52, -14px 0 0 4px inset #27406a;
        font-size: .82em;
        text-align: left;
        padding-top: 14px;
        padding-left: 12.2px;
    }
    div#inline-box p {
        font-family: "Maven Pro","Nunito","Rubik",sans-serif;
        font-size: .821em;
        padding-left: .8em;
        padding-right: .68em;
        margin-top: 11.8px;
        margin-bottom: 11.8px;
        text-align: center;
    }
    h2 + div#inline-box, h3 + div#inline-box {
        box-shadow: 0px -11.5px 0 0 #172d52, -4px -11px 0 0 #213659ba, -4px -5px 0 0 #273d62, -4px -4px 0 0 #273d62, 1px 0 0 4px inset #061a3c, -7px 0 0 4px inset #172d52, -14px 0 0 4px inset #27406a, -22px 3px 0 #0c1d41, 4px -15px 0 #061736d9, -116px -21px 0 #0b1c3da6;
        margin-left: -0.32em;
        margin-right: 18px;
        margin-top: 3.1px;
        margin-bottom: 3px;
    }
    
    .thumb.tleft {
        margin-right: 1.18em;
    }
    .thumb.tright {
        margin-right: .5em;
        margin-bottom: 1.08em;
    }
    
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 + p {
           -moz-box-shadow: var(--p-shadow-wide), -12.3px -11.8px 0 #17305ca6, -123px -16px 0 #06122840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
        -webkit-box-shadow: var(--p-shadow-wide), -12.3px -11.8px 0 #17305ca6, -123px -16px 0 #06122840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
             -o-box-shadow: var(--p-shadow-wide), -12.3px -11.8px 0 #17305ca6, -123px -16px 0 #06122840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
            -ms-box-shadow: var(--p-shadow-wide), -12.3px -11.8px 0 #17305ca6, -123px -16px 0 #06122840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
                box-shadow: var(--p-shadow-wide), -12.3px -11.8px 0 #17305ca6, -123px -16px 0 #06122840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
    }
    
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 + p,
    .skin-citizen-dark .mw-parser-output section.collapsible-block > .thumb:first-child + p,
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 + .thumb + div + p,
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 + div + .thumb + p,
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 + ul > ul {
              -moz-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
           -webkit-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
                -o-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
               -ms-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
                   box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
           margin-left: -0.05em!important;
           margin-top: -4px;
           padding-top: 8px;
    }

    .mw-parser-output section.collapsible-block h3 + p,
    .mw-parser-output section.collapsible-block > .thumb:first-child + p,
    .mw-parser-output section.collapsible-block h3 + .thumb + div + p,
    .mw-parser-output section.collapsible-block h3 + div + .thumb + p,
    .mw-parser-output section.collapsible-block h3 + ul > ul {
           margin-left: -0.05em!important;
           margin-top: -4px;
           padding-top: 8px;
    }
    
    
    .skin-citizen-dark .mw-parser-output section.collapsible-block h3 + .thumb + p, {
              -moz-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
           -webkit-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
                -o-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
               -ms-box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
                   box-shadow: var(--p-shadow-wide), .3px -12.8px 0 #17305ca6, -236px -16px 0 #05173840, -718px 2em 0 #253c6640, -236px 14em 0 #05173840, -51.7em 19.8em 0 #04183c4a, -123px 25em 0 #0c20436b;
    }
    
    .mw-editsection {
        margin-top: 0.45em;
        margin-right: 0.24em!important;
    }
    
    .citizen-editsection-icon {
        width: 3.56rem;
    }
    
    .citizen-editsection-icon::before {
        background-size: 1.077em;
    }
    
    .mw-parser-output section.collapsible-block h3 ~ dl {
        padding-bottom: 6px;
        margin-bottom: 2px;
        margin-left: 1.1em;
    }
    .mw-parser-output section.collapsible-block h3 ~ dl + div + p, .mw-parser-output section.collapsible-block h3 + dl + div + .thumb + p, .mw-parser-output section.collapsible-block h3 ~ dl + p, .mw-parser-output section.collapsible-block h3 ~ dl + div + p + p, .mw-parser-output section.collapsible-block h3 + dl + div + .thumb + p, .mw-parser-output section.collapsible-block h3 ~ dl + p + p {
        margin-top: -6px!important;
        margin-right: -3px;
        margin-left: -9px!important;
        padding-right: 12px;
    }
    .mw-parser-output section.collapsible-block h3 ~ .tleft + dl {
        margin-top: -8px;
        margin-bottom: 14px;
    }
    .mw-parser-output section.collapsible-block h3 + .thumb, .skin-citizen-dark .mw-parser-output section.collapsible-block h3 + div + .thumb {
        margin-top: 14.7px;
        margin-bottom: 16.5px;
    }
    
    .mw-parser-output section.collapsible-block h3 ~ ul {
        background: #0c2043;
        box-shadow: -360px 0 #0a1e42;
        padding: .52em;
        margin: .1em;
        margin-top: -8px;
        margin-left: -.4em;
        margin-right: -1.98em;
        padding-right: 3.8em;
    }
    
    .mw-parser-output section.collapsible-block h3 + p {
        box-shadow: var(--p-shadow-wide), -12.3px -11.8px 0 #17305ca6, -123px -16px 0 #06122814, -51.7em 19.8em 0 #04183c36, -136px 3em 0 #0c20437a;
        margin-left: -79px!important;
        padding-left: 73px;
    }
    .mw-parser-output section.collapsible-block h3 ~ p, .skin-citizen-dark .mw-parser-output section.collapsible-block > .thumb:first-child ~ p, .skin-citizen-dark .mw-parser-output section.collapsible-block h3 ~ ul > ul {
        margin-left: 0.14em!important;
    }
    
    .page-heading {
        z-index: 4;
    }

    .citizen-search {
        margin-top: 25px;
        margin-bottom: -7px;
    }
    
    .mf-section-0 > #subpage-article .citizen-table-wrapper,
    .mf-section-0 > .citizen-table-wrapper:first-child,
    .mf-section-0 > #subpage-talk .citizen-table-wrapper {
        z-index: 200;
        top: -30px;
    }
    
    /* Dealing with various issues */
    
    p + .portable-infobox:first-of-type {
        top: 214px;
        right: calc(26.2em + 4px);
        position: absolute;
        border-top-right-radius: 5px;
    }
    
    .mf-section-0 > p:nth-of-type(1),
    .mf-section-0 > p:nth-of-type(2) {
        margin-right: calc(18em - 8px);
    }
    .mf-section-0 > #subpage-article ~ p:nth-of-type(1),
    .mf-section-0 > #subpage-article ~ p:nth-of-type(2),
    .mf-section-0 > .subpage-tabs-main ~ p:nth-of-type(1),
    .mf-section-0 > .subpage-tabs-main ~ p:nth-of-type(2)
    .mf-section-0 > #subpage-talk ~ p:nth-of-type(1),
    .mf-section-0 > #subpage-talk ~ p:nth-of-type(2) {
        z-index: 100;
        position: relative;
        background: var(--primary-1);
        box-shadow: 1.8px -63px 0 8.9px var(--primary-1), 1.8px -102px 0 8px var(--color-surface-5);
    }
    
    .citizen-body-header--sticky .citizen-header {
        z-index: 124;
    }
    
    .citizen-scroll--down .citizen-body-container {
        z-index: 200;
        position: relative;
    }
    .citizen-body-header--sticky.citizen-scroll--down .citizen-body-container {
        position: static;
        z-index: auto;
    }
    .citizen-scroll--down .mw-body-header {
        margin-left: -.89%;
        padding-left: 2.42%;
        padding-right: 31.6%;
        transition: margin 3s, padding 2s;
    }
    .action-edit.citizen-scroll--down .mw-body-header {
        margin-left: -1.89%;
        padding-left: 2.42%;
        position: relative;
        left: 1.4%;
    }
    .citizen-body-header--sticky.citizen-scroll--down .mw-body-header {
        margin-left: -8.8%;
        padding-left: 10%;
        padding-right: 24%;
        transition: transform 3s, box-shadow .38s, margin 2.4s;
    }
    .citizen-scroll--down .citizen-toc-enabled .citizen-toc {
        margin-top: calc(2.36em);
        transition: margin-top 1.45s 1.977s;
    }
    .citizen-scroll--up .citizen-toc-enabled .citizen-toc {
        margin-top: 0.25em;
        transition: margin-top 1.1s 0.28s;
    }
    .citizen-body-header--sticky.citizen-scroll--down .citizen-toc-enabled .citizen-toc {
        margin-top: inherit;
    }

    
    .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper,
    .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child,
    .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper {
        position: fixed;
        top: .53em;
        left: 32vw;
        right: 16vw;
        background: #1b3460;
        box-shadow: -3px 0 0 #1c2f50, 3px 0 0 #1c2f50, 0 3px 0 #1c2f50;
        border-radius:8px;
        transition: top .4s;
    }
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper {
        box-shadow: -1px 0 0 #3d69b9, 1.3px 0 0 #263a5e, 3px 0 0 #7887a3, 0 4px 0 #2e4060;
        margin-left: 13px;
        margin-top: -3px;
    }
    .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-main,
    .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-main,
    .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-main {
        border-color: #203660;
        background: #8194b8;
        border-top-left-radius: 7px;
        margin-top: -1px;
    }
    .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab,
    .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab,
    .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab {
        background: #20355a;
    }
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab {
        background: #344c78;
    }
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab:hover,
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab:hover,
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab:hover {
        background: #1a2c4c;
    }
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab:hover,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab:hover,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab:hover {
        background: #3a527c;
    }
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab:nth-child(1):hover,
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab:nth-child(1):hover,
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab:nth-child(1):hover,
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab:nth-child(2):hover,
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab:nth-child(2):hover,
    .skin-citizen-dark .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab:nth-child(2):hover {
        background: #2f4875;
    }
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab:nth-child(2):hover,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab:nth-child(2):hover,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab:nth-child(2):hover,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab:nth-child(4):hover,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab:nth-child(4):hover,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab:nth-child(4):hover {
        background: #354d79;
    }
    .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab a,
    .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab a,
    .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab a {
        color: #cbd0d9;
        text-decoration: none!important;
    }
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper .subpage-tabs-tab a,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > .citizen-table-wrapper:first-child .subpage-tabs-tab a,
    .skin-citizen-light .citizen-body-header--sticky .mf-section-0 > #subpage-talk .citizen-table-wrapper .subpage-tabs-tab a {
        color: #d1d5dd;
    }
    .citizen-body-header--sticky .mf-section-0 > #subpage-article .citizen-table-wrapper {
        left: calc(52vw / 4 + 32vw);
    }
    .citizen-body-header--sticky .mf-section-0 > #subpage-article #subpage-article-tab {
        display: none;
    }

    .action-edit .citizen-header {
        z-index: 300;
        box-shadow: 4.04em 0 #1a2f56;
    }
    
    }
    .skin-citizen-light .action-edit .citizen-header__logo {
        box-shadow: 0 -85px 0 #2f4574 inset, -2.5em 8px 0 #516898, -4.05em 26px 0 #2d416c, -4.05em 34px 0 #3c568d, 59px -100px 0 #233860, 59px -83px 0 #2c4374, 62px 0 0 #47597e, 64px -14px 0 #8892a7;
    }
    
    .action-edit .mw-newarticletext {
        position: absolute;
        top: -52px;
        max-width: 93.2%;
        right: -2.192em;
        background: var(--primary-5);
        padding-top: 43px;
        overflow-y: scroll;
        height: 143px;
        /* transition: right 1s .38s; */
    }
    .skin-citizen-light .action-edit .mw-newarticletext {
        background: #d3cdcd;
        box-shadow: 0 90px 0 #3b5385, 200px 90px 0 #3d5484, 200px 0 0 #3d5484;
    }
    .action-edit .mw-newarticletext #glow {
        padding-top: 10.3px;
        padding-bottom: 26px;
        border-radius: 205px 205px 160px 160px!important;
        background: #b2b2b2!important;
        border-color: #6d7381!important;
        border-width: 2px!important;
    }
    .skin-citizen-dark .action-edit .mw-newarticletext #glow {
        box-shadow: none!important;
    }
    .action-edit.citizen-scroll--down .mw-newarticletext {
        top: -147px;
        max-width: 94.2%;
        right: 3.11em;
        border: none;
    }
    .skin-citizen-light .action-edit.citizen-scroll--down .mw-newarticletext {
        background: var(--primary-5); /*3b5385*/
        /* transition: background 4s 0.2s; */
    }

    .action-edit .mw-citizen-body {
        background: var(--primary-1);
        z-index: 300;
        position: relative;
    }

    .skin-citizen-light .action-edit .citizen-page-container {
        background: #e3dfd2;
    }
    .skin-citizen-light .action-edit #bodyContent {
        background: #c3c1ba;
        color: black;
    }
    .skin-citizen-light .action-edit #bodyContent textarea {
        background: #d2cecc!important;
        color: #0c1832;
    }
    .action-edit #bodyContent {
        padding-left: 1.5em;
    }
}