MediaWiki:Common.css

From DiVersions
Revision as of 18:01, 3 November 2020 by Sarah (talk | contribs)
Jump to navigation Jump to search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/** https://pad.constantvzw.org/p/diversions.css */

@import url('https://diversions.constantvzw.org/diversions-wiki-fonts/fonts.css');

@page {
  size: 210mm 297mm;
  margin: 15mm 17.5mm 17.5mm 17.5mm;
}

@page:left {
  margin-right: 20mm;
}

@page:left {   
  @bottom-left {
    text-align: left;
    content: counter(page) " ― " string(running-title);
    font-family: "Poppins";
    font-size: calc(var(--font-size) * 0.8);
    letter-spacing: 0.025em
  }
}

@page:right {
  margin-left: 20mm;
}

@page:right {   
  @bottom-right {
    text-align: right;
    content: counter(page);
    font-family: "Poppins";
    font-size: calc(var(--font-size) * 0.8);
    letter-spacing: 0.025em
  }
}

body {
  background-color: var(--background-color);
  text-rendering: geometricPrecision;
}

.mw-body {
  max-width: 70em;
  padding-left: 4em;
  padding-right: 4em;
}


h1 {
  display:none
}

h2, h3, h4, h5, h6 {
  border-bottom: 0;
  color: var(--main-color);
}

h2 {
  font-family: 'Avara';
}

h4 {
  font-weight: normal;
  font-family: "Poppins";
  font-size: 1.6em;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: var(--line-height);
}

p, .mw-body-content p {
  font-family: 'Spectral',serif;
  font-size: var(--font-size);
  max-width: 38em;
  line-height: var(--line-height);
  margin: 0 0 0 0;
}

.mw-parser-output a.external,
a {
    font-family: "Poppins";
    font-size: calc(0.45 * var(--font-size));
    letter-spacing: 0.025em;
    font-weight: 500 !important;
    color: var(--secondary-color);
}

.mw-parser-output a.external,
a:visited,
.mw-parser-output a:visited,
:visited {
    color: var(--secondary-color);
}

a:visited, a.new, #p-personal a.new {
    color: var(--secondary-color);
}

ul li {
    list-style: none;
    }
    
#index_publication p {
      text-indent: -15pt;
    }
    
    
#index_publication p span {
    line-height: 0;
    font-size: 0.5em;
    font-family: "Poppins";
    font-weight: 500;
    }
#index_publication .sections {  
    margin-bottom: var(--line-height);
    }
#mw-panel .portal a {
    font-size: calc(0.5 * var(--font-size));
}
em {
    font-family: "Poppins";
}

p + p,
.column-breaker + p {
    margin: 0em 0 0em 0;
    text-indent: 44pt;
}


.mw-content-ltr ul, 
.mw-content-rtl .mw-content-ltr ul {
  list-style-type: none;
  margin-left: 0;
}

.mw-content-ltr ul, 
.mw-content-rtl .mw-content-ltr ul,
.mw-content-ltr ol, 
.mw-content-rtl .mw-content-ltr ol {
  padding: 0;
  font-family: spectral;
  font-size: var(--font-size);
  line-height: var(--line-height);
}

li {
  margin: 0;
  padding: 0;
}

#mw-panel .portal .body {
    background-image: none;
}
.vectorTabs,
.vectorTabs ul,
.vectorTabs ul li,
.vectorTabs ul li.selected,
.vectorTabs span  {
        background-image: none;
}

.vectorMenu .menu {
    background: black;
}

[data-lang]::before {
    text-transform: uppercase;
    content: attr(data-lang);
}

div.thumbinner,
html .thumbimage {
    border-width: 0px;
    background-color: transparent;
    text-align: left;
}

html .thumbcaption {
    font-family: "Poppins";
    font-weight: 500;
    letter-spacing: 0.035em;
    font-size: 1.15em;
}

pre, .mw-code, code {
    font-family: "ocr-pbi-canonique", "OCR-PBI", monospace;
    font-size: 1.1em;
    color: inherit;
    background-color: transparent;
    border: 0px solid;
}

code { 

    width: 100%;

}

blockquote {
    margin: var(--line-height);
    margin-left: 44pt;
}

.mw-body-content blockquote p {
    font-size: 1.2em;
    font-weight: 400;
}

.mw-body-content blockquote ul + p {
    margin-top: var(--line-height);
}

#mw-panel .portal .body li {
  font-size: 9pt;
}

#mw-panel .portal .body li:before {
  content: '';
}

/**
*
* Screen styles
*
*/
@media screen {
  :root {
    --font-size: 1.75em;
    --line-height: 1.3em;
    --main-color: black;
    --background-color: var(--main-color);
    --secondary-color: #a0892c;
  }
  
  .onlyprint {
    display: none; 
  }
  
  #p-logo {
    width: 100px;
  }
  
  .metadata {
    position: sticky;
    float: left;
    top: var(--line-height);
    width:45%;
  }
      
  .page-Collectie_van_onzekerheden [data-lang],
  .page-Sketchy_recognition [data-lang],
  .page-Wikified_Colonial_Botany [data-lang],
  .page-Materiële_reizen_door_Andere_Realiteiten [data-lang],
  .page-Het_gewicht_van_dingen_Le_poids_des_choses_The_weight_of_things [data-lang],
  .page-Zoumana_Meïte_Een_nieuwe_vuurceremonie [data-lang],
  .page-Z_Blace [data-lang],
  [data-section="projects"] [data-lang] {
     width: 50%;
     margin-left: 50%;
  }

#mw-panel li {
    display: block;
    }

#mw-panel {
    overflow-y: auto;
    height: 100vh;
}

#mw-panel::-webkit-scrollbar { 
    display: none; 
}

#n-EN, #n-NL, #n-FR {
    display: inline ;
    position: relative;
    //text-transform: lowercase;
    float: right;
    padding-left: .5em !important;
}
    
    

#n-EN a, #n-NL a, #n-FR a {
    display: inline;
    position: relative;
    //text-transform: lowercase;
    float: right;
    color:   #a0892c;
    }
    
#p-logo {
    display: none;
    }
    
  /*
  body {
    position: fixed;
    width: 100vw;
    overflow: hidden;
  }
  */

            
            
  div.thumb {
   float: none;
   margin: var(--line-height) 0;
   max-width: 80%;
  }
  
  .big-image div.thumb {
    max-width: 100%
  }
    
  .big-image .thumbimage {

    max-width: 100%;

    height:auto;

  }
        
  .big-image .thumbinner {
    max-width: 100%;
  }
  html .thumbimage {
   max-width: 100%;
   height: auto;
  }
 
  div.thumbinner{
    max-width: 100%;
    text-align: left;
  }

  .mw-references-wrap {
    max-width: 40em;
  }
  
  #simpleSearch {
      background-image: none;
      border: none;
      border-radius: 0px;
      }
      
 #right-navigation {
    float: right;
    margin-top: 2.5em;
    margin-right: 12.2em;
}

  h2, .mw-body-content h2 {
    font-family: 'Avara';
    font-size: 4.2em;
    color: var(--main-color);
    line-height: calc(0.9 * var(--line-height));
    margin-top: 0;
    margin-bottom: 0;
    max-width: 17em;
  }

  h2 + p, 
  .mw-body-content h2 + p,
  h2 + ul, 
  .mw-body-content h2 + ul,
  h2 + ol, 
  .mw-body-content h2 + ol {
    margin-top: calc( var(--line-height) * 0.3);
  }

  .mw-body-content [data-section] > h2 {
    margin: calc(var(--line-height) * 2) 0;
    font-size: 8em;
    line-height: calc( var(--line-height) * 0.8);
    text-transform: initial;
  }

  [data-article] h3 + p, 
  .mw-body-content h3 + p  {
    margin-top: calc(var(--line-height) * 3) 0; 
    /** font-family: "poppins";
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0;
    text-transform: uppercase; */
  }

  h4, .mw-body-content h4 {
    font-family: "Poppins";
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 0.045em;
    margin-bottom: var(--line-height);
    line-height: var(--line-height);
    padding-top: calc( var(--line-height) * 0);
  }
  
 .mw-parser-output a.external,
  a {
    font-weight: 500;
  }

 .mw-parser-output a.external,
 .mw-parser-output a.external:visited {
    color: var(--secondary-color);
  }

  .mw-body, .mw-body-content {
    color: var(--main-color);
  }

  #mw-head {
    background: var(--main-color);
    color: white !important;
  }

  #mw-head a {
    color: white !important;
  }

  #mw-panel {
    background-color: var(--main-color);;
    width: 22em;
    position: fixed;
  }

  #mw-panel .portal h3,
  #mw-panel .portal .body li a {
    color: white !important;
  }

  .vectorTabs li.selected a,
  .vectorTabs li.selected a:visited {
    color: white !important;
    font-weight: bold;
  }

  .mw-body, #mw-head-base, #left-navigation, #footer {
    margin-left: 23em;
    margin-right: 0em;
  }

  /**
   * Maybe use: [data-arcticle-name="introduction"] [data-lang] or [data-arcticle-name="introduction"] [data-lang="fr"]
   *
   * [data-section="appendix"] > div > div
   */
  [data-lang] + [data-lang] , 
  [data-section="projects"] [data-lang] {
    margin-top: calc(var(--line-height) * 8);
  }
  
  .page-Biographies [data-lang] + [data-lang],
  [data-article="biographies"] [data-lang]+[data-lang] {
    margin-top: 0;
  }
  
  .page-Biographies [data-lang] {
      position: relative;
    }
  
   .page-Biographies [data-lang]:before,
   [data-article="biographies"] [data-lang]:before {
       position:absolute;
       left: -2em;
       top: .6em;
       line-height: var(--line-height);
  }

  .timeline {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    white-space:nowrap
  }

  .timeline--entry[data-loading]::before {
    content:"Loading";
    padding:2em
  }

  .timeline--entry::before {
    content: url("https://gitlab.constantvzw.org/osp/work.diversions/raw/master/sketches_femke/img/arrow.png");
    color: white;
    font-size: 4em;
    font-family: poppins;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: red;
  }

  .timeline--entry {
    display:inline-block;
    background:brown;
    border-radius:1em;
    height:1.5em;
    width:5px;
    margin-right:.5em;
    cursor:pointer;
    position:relative
  }

  .timeline--entry.active,
  .timeline--entry:hover {
    background:green
  }

  .timeline--entry .timeline--entry--data {
    display:none;
  }

  .timeline--entry:hover .timeline--entry--data {
    transform:rotate(-90deg);
    transform-origin:top left;
    display:block;
    position:absolute;
    left:0;
    bottom:1em
  }
  .timeline--entry--data {
    white-space:nowrap
  }
  .revisions {
    max-height:80vh;
    white-space:nowrap;
    max-width:100%;
    overflow-x:auto
  }
  .revisions--revision {
    display:inline-block;
    height:80vh;
    width:100%;
    overflow-y:auto;
    white-space:normal;
    margin-right:2em
  }
li::before {
  content: "— ";
}
.references li {
    margin-bottom: 0.8em;
}
.references li::before {
    content: "";
}
.mw-content-ltr ol.references,
.mw-content-rtl .mw-content-ltr ol.references,
.mw-content-ltr ul.references, 
.mw-content-rtl .mw-content-ltr ul.references {
    margin: var(--line-height) 0 0 0;
    padding: 0;
    font-family: "Poppins";
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.45em;
}

.mw-parser-output ol.references a.external, ol.references a {
    font-size: inherit;
  }
  
  sup.reference {
    font-size: 0.75em;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 0;
  }
  
  .acknowledgment p {
    margin: var(--line-height) 0;      
    font-family: "Poppins";
    font-size: 1.2em;
    font-weight: 500 !important;
    letter-spacing: 0.04em;
    line-height: 1.45em;
  }
  .banner-v2 {
	background-image: url(https://vvvvvvaria.org/~ccl/reverse/Wave19%20white%20on%20black.gif);
	background-size: 78px;
	color: white;
	background-position: -40px 5px;
  }
  .banner-v2.interviews-v2 {
        background-position: -40px -25px;
  }
  .banner-v2 .toc {
     display:none;
   }
  .banner-v2 h2,
  .banner-v2 h2 a.external,
  .banner-v2 h2 a.external:visited  {
	margin: 0;
        padding: 0;
        line-height: 0.8em;
        color: white;
        font-family: 'Avara';

   }
  .banner-v2 h2 {
        font-size: 5.4em;
  }
  .banner-v2 p, 
  .banner-v2 p a.external,
  .banner-v2 p a.external:visited {
	color: white;
        margin: 0;
        padding: 0;
        display: inline-block;
        font-family: 'Spectral',serif;
        font-size: var(--font-size);

   }
  .banner-v2 dt,
  .banner-v2 dd {
        margin: 0;
	padding: 0;
        text-shadow: 3px 3px 10px black;
  }
   .banner-v2 dl {
	display: inline-block;
	vertical-align: top;
	margin: 0;
	padding: 0;
	margin-right: 17px;
   }
   .banner-v2 dl::first-of-type {
        margin-bottom: 13px;

  }
  .banner-v2 audio {
    width: 100%;
    background: black;
    filter: invert(100%);
    margin-top: 6px;
  }
  .banner-header {
	float: left;
	margin-right: 31px;
        margin-top: 6px;
        margin-bottom: 13px;
  }
  .banner-v1 {
        border-top: 1px solid black;
  }
  .versions {
        margin-bottom: 26px;
        padding: 20px;
        margin-left: -20px;

  }
  .versions p  {	
	font-family: "Poppins";
	font-size: 1.2em;
	font-weight: 500 !important;
	letter-spacing: 0.04em;
	line-height: 1.45em;
        display: block;
   }
  .interviews-v2 p + p {
        text-indent:0px;
   }
   p.version-date {
	margin-bottom: 20px;
   }



/** PROTOTYPE NEW STYLE PROJECT PAGE*/
body.ns-100 {
  overflow-x: hidden;
}
.ns-100 #content {
	max-width: initial;
	padding-right: 0;
}
.project-container {
	display: flex;
}
.project-main {
  flex: 2 0;
}
.project-close-reading {
	flex: 0.75 0;
	position: sticky;
	top: 0;
	overflow-y: auto;
	max-height: 100vh;
	padding: 3em;
        border-left: 1px solid black;
	/*background: var(--secondary-color);*/
       /* color: white;*/
       /* transform: translate(60%, 0);*/
       /* transition: transform .25s;*/
	/*! position: relative; */
}
.project-close-reading p {
	font-family: U001;
	font-size: 1.1em;
	line-height: 1.3em;
}
.project-main > div[data-version] {
	display: flex;
	align-items: flex-start;
}
.project-main > div[data-version] > .project-metadata {
	flex: 0.5 0;
	position: sticky;
	top: 16em;
}
.project-main > div[data-version] > .project-description {
	flex: 2 0;
}
.project-main > div[data-version] + div[data-version] {
	margin-top: 3em;
	padding-top: 3em;
	border-top: 1px solid black;
}
.project-close-reading:hover {
       /* transform: translate(0, 0);*/
       /* transition: transform .25s;*/
}
.close-reading:before {
	display: block;
	position: sticky;
        top: 1em;
	content: "A close reading";
	text-transform: uppercase;
	margin-bottom: 1em;
}
.page-Projects_Z_Blace .mw-body-content .conversation p small {
    font-family: U001;
    font-size: 0.6em;
    line-height: 0.3em !important;
}
.project-description {
    padding: 0 2em;
}
.project-description  {
   font-size: 1.5em;
   line-height: 1.3em;
}
.project--title{
    position: sticky;
    top: 0.5em;
}
.mw-body-content .project-description h2 {
    font-size: 2.5em;
}
.project-description p ,
.project-description ul,
.project-description ul li {
   font-size: inherit;
   line-height: inherit;
}
.project-description p .image img,
img[alt="100%"] {
    width: 100%;
    height: auto;
    margin-bottom: 2em;
}
body.page-Projects_Wikified_Colonial_Botany_en_v2,
body.page-Projects_Collectie_van_onzekerheden,
body.page-Projects_Z_Blace  {
   background-color: white;
}
.page-Projects_Wikified_Colonial_Botany_en_v2 .mw-body, 
.page-Projects_Wikified_Colonial_Botany_en_v2 #mw-head-base, 
.page-Projects_Wikified_Colonial_Botany_en_v2 #left-navigation, 
.page-Projects_Wikified_Colonial_Botany_en_v2 #footer,
.page-Projects_Collectie_van_onzekerheden .mw-body, 
.page-Projects_Collectie_van_onzekerheden  #mw-head-base, 
.page-Projects_Collectie_van_onzekerheden  #left-navigation, 
.page-Projects_Collectie_van_onzekerheden  #footer,
.page-Projects_Z_Blace .mw-body, 
.page-Projects_Z_Blace  #mw-head-base, 
.page-Projects_Z_Blace   #left-navigation, 
.page-Projects_Z_Blace  #footer {
     margin-left: 0em;
}
.page-Projects_Wikified_Colonial_Botany_en_v2 h2 .mw-headline,
.page-Projects_Collectie_van_onzekerheden h2 .mw-headline,
.page-Projects_Z_Blace .mw-headline,
.page-Projects_Z_Blace h2 .mw-headline {
	font-size: 1.4em;


}
.page-Projects_Wikified_Colonial_Botany_en_v2 h2,
.page-Projects_Wikified_Colonial_Botany_en_v2 .mw-body-content h2,
.page-Projects_Collectie_van_onzekerheden h2,
.page-Projects_Wikified_Colonial_Botany_en_v2 .mw-body-content h2,
.page-Projects_Z_Blace h2,
.page-Projects_Z_Blace .mw-body-content h2{

	line-height: 1.6em;
}

.page-Projects_Wikified_Colonial_Botany_en_v2 #mw-panel,
.page-Projects_Collectie_van_onzekerheden #mw-panel,
.page-Projects_Z_Blace #mw-panel,
.page-Projects_Z_Blace #mw-panel {
    background-color: var(--main-color);
    width: 22em;
    position: fixed;
    transform: translate(calc(-100% + 30px),0);
    transition: transform .25s;
}
.page-Projects_Wikified_Colonial_Botany_en_v2 #mw-panel:hover,
.page-Projects_Collectie_van_onzekerheden #mw-panel:hover,
.page-Projects_Z_Blace #mw-panel:hover,
.page-Projects_Z_Blace #mw-panel:hover {
	transform: translate(0,0);
	transition: transform .25s;
}


.page-Projects_Wikified_Colonial_Botany_en_v2 .banner-v1,
.page-Projects_Collectie_van_onzekerheden .banner-v1,
.page-Projects_Z_Blace .banner-v1{
     border-top: 0px;
}
.page-Projects_Wikified_Colonial_Botany_en_v2 .versions,
.page-Projects_Collectie_van_onzekerheden .versions,
.page-Projects_Z_Blace .versions {
    padding: 0 0 0 20px;
}

.project-metadata p {
	line-height: 1.1em;
	font-size: 1.6em;
}
.project-metadata p a,
.project-metadata p a external {
word-wrap: anywhere;
}
body.page-Promiscuous_browser {
  background: white;
}

audio {
width: 200px;
}
h5 {
	line-height: 1.3em !important;
	margin-bottom: 1em !important;
	padding-left: 3em;
}
h5 .mw-headline {
	font-size: 0.9em !important;
	line-height: 0.1em !important;
	font-weight: normal;
	padding-bottom: 3em;
}

[data-lang]::before {
    text-transform: uppercase;
    content: attr(data-lang);
    position: sticky;
    top: 1em;
    display: block;
    align-self: flex-start;
}
}
/*
*
* Print styles
*
*/
@media print {
  :root {
    --line-height: 12pt;
    --font-size: 9pt;
    --main-color: black;
    --secondary-color: black;
    --background-color: white;
  }
  
  .onlyprint {
    display: initial;
  }
  
  .onlyscreen {
    display: none;
  }

  body, html {
    padding: 0;
    margin: 0;
  }

  .timeline {
    display:none
  }
  
  .revision:nth-of-type(n+2) {
    display:none
  }
    
  h2 {
    border-bottom: none;
  }
  
  p {
    text-align: left;
    margin-top: 0;
    /* hyphens: auto; */
    orphans: 2;
    widows: 2;
  }
  
  p:before {
      /** A wiki print thing, but it prevents the text-indent. Disable it */
      display: none;
 }

  p + p,
  .column-breaker + p {
    text-indent: calc(1.5 * var(--line-height));
  }
  
  [data-article="colophon"] p + p {
    text-indent: 0;
    margin-top: var(--line-height);
  }
  
 .mw-body-content blockquote p {
    font-size: 1em;
  }
    
  h3, .mw-body-content h3 {
    font-size: calc(var(--font-size) * .9);
    font-family: "Poppins";
    font-weight: 500;
    line-height: calc(1 * var(--line-height));
    margin: var(--line-height) 0 0 0;
    letter-spacing: 0.01em;
  }
  
  h2, .mw-body-content h2 {
    line-height: calc(2 * var(--line-height));
    font-size: calc(2.2 * var(--font-size));
    margin-top: 0;
    margin-bottom: 0;
  }

.mw-body-content [data-section] > h2 {
    line-height: calc(2 * var(--line-height));
    font-size: calc(1.9 * var(--font-size));
    margin: 0;
 }

  h2 + h3, 
  .mw-body-content h2 + h3 {
    margin: 0;
  }
  
  h3, .mw-body-content h3 {
    margin: var(--line-height) 0 0 0;
    break-after: avoid;
 }
  
  h4, .mw-body-content h4 {
    font-size: calc(.9 * var(--font-size));
    line-height: var(--line-height); 
    margin-top: 0;
    padding: 0;
    letter-spacing: 0.01em;
    font-weight: 500;
  }

  [data-article="words"] h4,
  [data-article="biographies"] h4 {
    margin-bottom: 0;
    margin-top: var(--line-height);
  }
  
  .mw-content-ltr ol,
  .mw-content-rtl .mw-content-ltr ol,
  .mw-content-ltr ul,
  .mw-content-rtl .mw-content-ltr ul,
  .mw-content-ltr ol.references,
  .mw-content-rtl .mw-content-ltr ol.references,
  .mw-content-ltr ul.references,
  .mw-content-rtl .mw-content-ltr ul.references {
    font-family: "Poppins";
    margin: var(--line-height) 0 0 var(--line-height);
    font-size: calc(var(--font-size) * .8);
    line-height: var(--line-height);
    font-weight: 500;
    letter-spacing: 0;
  }
  
.mw-content-ltr ul, 
.mw-content-rtl .mw-content-ltr ul,
.mw-content-ltr ol, 
.mw-content-rtl .mw-content-ltr ol {
  padding: 0;
  font-family: spectral;
  font-weight: normal;
  font-size: var(--font-size);
  line-height: var(--line-height);
  margin: 0;
}
  ol li, ul li {
    padding: 0;
    font-size: inherit;
    }
  .acknowledgment p {
    margin: var(--line-height) 0;      
    font-family: "Poppins";
    font-size: calc(var(--font-size) * .8);
    font-weight: 500 !important;
    line-height: var(--line-height);
  }
  
  .references li {
      margin-bottom: 0;
  }

  ol.references li, ul.references li {
    font-size: calc(var(--font-size) * .8);
    padding: 0;
    margin: 0;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }

  [data-article="introduction"] [data-lang] {
    break-before: column;
  }

  [data-section="appendix"] [data-article] {
    break-before: always;
    -webkit-column-break-before: always;
  }

  [data-section="essays"] [data-article] {
    page-break-before: right;
  }
  
  [data-section="projects"] [data-article] {
      page-break-before: left;
  }

  [data-section="projects"] [data-lang] {
      min-height: 200mm;
      break-inside: avoid;
  }
  
  [data-section="projects"] [data-lang]+[data-lang],
  [data-section="projects"] [data-lang] {
      margin-top: 0;
  }

  [data-section],
  [data-section="essays"] [data-article] {
    columns: 2;
    column-gap: 7mm;
    column-fill: auto;
  }
  
  [data-section="essays"] {
      columns: initial;
  }
  
  [data-section="essays"] [data-article="to-have-the-name-of-the-object"],
  [data-section="essays"] [data-article="palimpset-africa-museum"] {
    page-break-before: left;
    columns: 1;
  }

  [data-section="essays"] .big-image.break {
      break-before: always;
  }
  
  [data-section="essays"] [data-article="palimpset-africa-museum"] .big-image:first-child {
      margin-top: calc(2 * var(--line-height));
  }


 [data-article="to-have-the-name-of-the-object"] .big-image div.thumb {
     margin: 0;
 }

  [data-article="to-have-the-name-of-the-object"] .big-image + .big-image div.thumb {
    margin-top: var(--line-height);
  }



  [data-article="to-have-the-name-of-the-object"] .thumbimage {
    max-height: 100mm;
    width: auto;
   }
   
  [data-section="essays"] [data-article="palimpset-africa-museum"] .thumbimage {
    width: auto;
  }

  [data-section="appendix"] {
    columns: 3;
  }

  [data-section="toc"] {
    columns: 1;
  }
  
  [data-section="projects"] {
    break-before: always;
  }
  
  [data-section="projects"] [data-lang] {
      width: initial;
      margin-left: 0;
      break-inside: avoid;
  }

 .metadata {
    position: initial;
    float: none;
    width: auto;
    min-height: 200mm;
  }

  sup.reference {
    line-height: 0.5;
    margin-left: .2em;
    font-family: "Poppins";
    font-size: calc(.8 * var(--font-size));
  }

  .mw-parser-output a.external,
  .mw-parser-output a,
  a 
  {
    font-weight: inherit;
    font-family: inherit;
    font-size: 1em;
    text-decoration: none;
    border-bottom: none;
  }
  
  .references li a {
      font-size: .85em;
  }

  #footer {
    display: none;
  }

  div.thumbinner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
    text-align: left;
  }

  .mw-content-ltr .thumbcaption, html .thumbcaption {
    font-family: "Poppins";
    font-size: calc(var(--font-size) * .8);
    line-height: var(--line-height);
    font-weight: 400;
    padding: 0;
    color: var(--main-color);
    max-width: 40em;
  }

  .mw-content-ltr [data-article="to-have-the-name-of-the-object"] .thumbcaption,
  html [data-article="to-have-the-name-of-the-object"] .thumbcaption {
      margin-top: calc(0.5* var(--line-height));
      margin-left: calc(0.5* var(--line-height));
  }

  div.thumb {
    margin: var(--line-height) 0;
    max-width: 100%;
  }

  pre, .mw-code, code {
    border: 0;
    padding: 0;
    margin: calc(var(--line-height) * .5) 0;
    line-height: var(--line-height);
    font-size: calc(0.75 * var(--font-size));
    max-width: 95%;
  }

  blockquote {
    padding: 0;
    border: none;
    margin: calc(var(--line-height) * .5) 0;
    font-style: italic;
    line-height: var(--line-height);
    font-size: var(--font-size);
  }

  .toc {
    display: none
  }

  .mw-references-columns, .mw-references-wrap {
    width: 100%;
    column-width: auto
  }

  .nav a {
    display: block;
  }
  
  [data-lang] {
      position: relative;
 }
  
  [data-lang]::before {
    position: absolute;
    left: -3.5mm; /** not too much, otherwise it will be positioned under the left column when it is in the right */
    font-family: "Poppins";
    font-size: calc(.7 * var(--font-size));
    line-height: calc(2.2 * var(--line-height));
    text-transform: uppercase;
  }
  
  [data-lang] + [data-lang] {
      margin-top: calc(2 * var(--line-height));
  }

  [data-article="biographies"] [data-lang]+[data-lang] {
    margin-top: 0;
  }
  
  [data-article="biographies"] [data-lang]::before {
    top: initial;
    left: -3.5mm;
    line-height: var(--line-height);
  }
  
  .mw-parser-output a.external, a:visited {
      color: var(--main-color);
  }
  
  [data-article="eventual-consistency"] pre {
    max-width: 95%;
    width: 95%;
  } 
    
  .mw-parser-output a.external.text:after,
  .mw-parser-output a.external.autonumber:after {
    word-break: break-all;
    word-wrap: break-all;
    /* font-size: 80%; */
    font-weight: 400;
  }
  
  ul li::before {
    content: "— ";
  }
  
  p a {
      font-weight: 400 !important;
  }
  
  .break-before {
      display: block;
      break-before: always;
  }
  
 .running-header { 
     display: none;
     string-set: running-title content(text);
  }
  
  p:first-child br:first-child {
   display: none;
 }
 
  div.thumb:first-child {
    margin-top: 0;
  }

  div.onlyprint div.thumb:first-child {
    margin: var(--line-height) 0;
  }

  div.onlyprint:first-child div.thumb:first-child {
    margin-top: 0;
  }
  
  a {
      word-break: break-all;
  }
  
  a.text {
      word-break: initial;
  }
  
  div.thumb {
   float: none;
  }
  
  code .line {
    display: block;
  }
  
  .printfooter {
        margin-top: 0;
        border-top: none;
        padding-top: 0;
        font-family: "poppins";
        font-weight: 500 !important;
        font-size: calc(.85 * var(--font-size));
        display: inline;
        clear: none;
  }
  
  .nav li {
        margin-bottom: var(--line-height);
        margin-right: 2.5em;
        padding-right: 3em;
}

.nav li::before {
        content: "";
}

.nav a {
        display: block;
        position: relative;
}

.lang-label {
        position: absolute;
        left: -4.25mm;
        top: 0;
        font-family: "Poppins";
        font-size: calc(.7 * var(--font-size));
        line-height: var(--line-height));
        text-transform: uppercase;
}

  .nav a[href]::before {
    content: target-counter(attr(href), page);
    float: right;
    font-style: normal;
    margin-right: -3em;
        font-family: "Poppins";
        font-weight: 500 !important;
        font-size: calc(.9 * var(--font-size));
  }
  
  .nav .nav-title {
    display: block;
        font-family: "Poppins";
        font-weight: 500 !important;
        font-size: calc(.9 * var(--font-size));
  }
  
  .nav-subtitle {
      font-style: italic;
      font-weight: 400;
      font-family: "Spectral";
      font-size: var(--font-size);
      line-height: var(--line-height);
  }
  
  .nav a {
      word-break: initial;
  }
  
  ul.nav-projects {
      break-inside: avoid;
      margin-bottom: calc(2 * var(--line-height));
}

ul.nav-appendix {
    margin-top: calc(2 * var(--line-height));
}

ul.nav-appendix li {
    margin-bottom: 0;
}

.nav .nav-line {
    position: relative;
    display: block;
}

[data-section="index"] {
    page-break-before: left;
}

[data-article="free-culture"] .acknowledgment {
  break-before: column;
  break-inside: avoid;
}

.extra-whitespace {
  margin-top: 1em !important;
}

[data-article="biographies"] h3:first-child {
  margin-top: 0 !important;
}

.column-breaker::after {
	content: "";
	height: 4em;
	display: block;
}