MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
@font-face {
/* FONTS */
  font-family: 'AuthenticRegular';
  src: url('http://digitalgarden.hs-mainz.de/fonts/AUTHENTICSans-90.woff2') format('woff2');
}


h2 > .mw-editsection,
    @font-face {
h3 > .mw-editsection,
    font-family: "AuthenticRegular";
h4 > .mw-editsection,
    src: url("http://digitalgarden.hs-mainz.de/fonts/AUTHENTICSans-90.woff2")
h5 > .mw-editsection {
        format("woff2");
  display: none;
    }
}


h2:hover > .mw-editsection,
    @font-face {
h3:hover > .mw-editsection,
    font-family: "AuthenticBold";
h4:hover > .mw-editsection,
    src: url("http://digitalgarden.hs-mainz.de/fonts/AUTHENTICSans-130.woff2")
h5:hover > .mw-editsection {
        format("woff2");
  display: initial;
    }
}


    @font-face {
    font-family: "DINdong";
    src: url("http://digitalgarden.hs-mainz.de/fonts/DINdong.woff") format("woff");
    }


 
    @font-face {
@font-face {
    font-family: "Necto";
  font-family: 'AuthenticBold';
    src: url("http://digitalgarden.hs-mainz.de/fonts/NectoMono-Regular.woff2")
  src: url('http://digitalgarden.hs-mainz.de/fonts/AUTHENTICSans-130.woff2') format('woff2');
        format("woff2");
}
 
@font-face {
  font-family: 'DINdong';
  src: url('http://digitalgarden.hs-mainz.de/fonts/DINdong.woff') format('woff');
}
 
 
@font-face {
  font-family: 'Necto';
  src: url('http://digitalgarden.hs-mainz.de/fonts/NectoMono-Regular.woff2') format('woff2');
}
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
#p-tb{display: none;}
 
.mw-body h2{overflow: visible;}
 
.mw-page-container{margin: 0;
    display: block;
    justify-content: center;
    max-width: unset;
overflow: hidden;}
 
#right-navigation .vector-menu-content {
    left: 1px;
    right: auto;
}
 
.mw-indicators{display:none;}
 
.mw-page-container-inner{
max-width: 1400px;
    margin-right: auto;
    margin-left: auto;}
 
.vector-limited-width-toggle{display:none;}
 
.mw-editsection a {
color: #222 !important;
    background-color: #DDD;
    padding: 0.2rem 0.4rem;
    border-radius: 0.4rem;
    margin-left: 0.4rem;
}
 
.mw-editsection-bracket, .mw-editsection-divider{display:none;}
 
.vector-toc-landmark .vector-menu-dropdown > .vector-menu-content {left: unset; max-width: 15em; right: 0;}
 
.vector-feature-page-tools-enabled .vector-unpinned-container .vector-toc .vector-toc-contents {
    max-width: 20em;
}
 
 
.vector-feature-page-tools-enabled .vector-unpinned-container .vector-toc .vector-pinnable-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1em;
}
 
#vector-toc-pinned-container .vector-toc:after {
    background: transparent;
}
 
@media screen and (min-width: 1000px) {
    #vector-toc-pinned-container .vector-toc:after {
        background: transparent;
     }
     }
}
.mw-content-ltr ul, .mw-content-ltr ul, .mw-content-ltr ol, .mw-content-ltr ol{margin-left: 1.2em;}
.mw-content-ltr ul, .mw-content-ltr ul{list-style: disc;}
.vector-body .div-col h2:first-of-type {
  /* Your styles for the first h2 element inside .div-col go here */
  margin-top: 0;
}
.vector-page-titlebar{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row-reverse;
}


/* DIFFERENT COLOURS */
/* DIFFERENT COLOURS */
/* DIFFERENT COLOURS */


body {
    body {
     box-shadow: inset -2em -5em 4em #2a818d !important;
     box-shadow: inset -2em -5em 4em #2a818d !important;
}
    }


a {
    a {
     color: #2a818d !important;
     color: #2a818d !important;
}
    }


body.cat-Human-Environment_Relations {
    body.cat-Human-Environment_Relations {
     box-shadow: inset -2em -5em 4em #e31a21 !important;
     box-shadow: inset -2em -5em 4em #e31a21 !important;
}
    }


body.cat-Human-Environment_Relations a {
    body.cat-Human-Environment_Relations a {
     color: #e31a21 !important;
     color: #e31a21 !important;
}
    }


body.cat-Other {
    body.cat-Other {
     box-shadow: inset -2em -5em 4em yellow !important;
     box-shadow: inset -2em -5em 4em yellow !important;
}
    }


body.cat-Other a {
    body.cat-Other a {
     color: grey !important;
     color: grey !important;
}
    }


body.cat-Flora {
    body.cat-Flora {
     box-shadow: inset -2em -5em 4em #0e9c07 !important;
     box-shadow: inset -2em -5em 4em #0e9c07 !important;
}
    }


body.cat-Flora a {
    body.cat-Flora a {
     color: #0e9c07 !important;
     color: #0e9c07 !important;
}
    }


body.cat-Ocean {
    body.cat-Ocean {
     box-shadow: inset -2em -5em 4em #2065d4 !important;
     box-shadow: inset -2em -5em 4em #2065d4 !important;
}
    }


body.cat-Ocean a {
    body.cat-Ocean a {
     color: #2065d4 !important;
     color: #2065d4 !important;
}
    }


body.cat-Cloud {
    body.cat-Cloud {
     box-shadow: inset -2em -5em 4em hsl(278, 100%, 47%) !important;
     box-shadow: inset -2em -5em 4em hsl(278, 100%, 47%) !important;
}
    }


body.cat-Cloud a {
    body.cat-Cloud a {
     color: hsl(278, 100%, 47%) !important;
     color: hsl(278, 100%, 47%) !important;
}
    }


.mwe-popups a{color: black !important;}
    .mw-page-container {
    background-color: transparent;
    background: linear-gradient(0deg, white, transparent);
    }


oo-ui-toolbar-bar a{color:black !important;}
/* REPAIRING COLOURS */
 
.oo-ui-tool-title a{color:white !important;}


    .mwe-popups a {
    color: black !important;
    }


    oo-ui-toolbar-bar a {
    color: black !important;
    }


    .oo-ui-tool-title a {
    color: white !important;
    }


/* HIDING THINGS */


div.patrollink {
    #left-navigation, .vector-page-toolbar, #p-tb, .mw-indicators, .vector-limited-width-toggle, div.patrollink, #footer-info, #footer-icons {
     display: none;
     display: none;
}
    }


/* BODY */


    .mw-page-container {
    margin: 0;
    display: block;
    justify-content: center;
    max-width: unset;
    overflow: hidden;
    }


body {
    .mw-page-container-inner {
     height: initial;
     max-width: 1400px;
     background-color: transparent;
     margin-right: auto;
     font-family: "AuthenticRegular", sans-serif;
     margin-left: auto;
     /* Adjust 'sans-serif' to your fallback font */
     }
}
 


/* CSS placed here will be applied to all skins */
/* TYPOGRAPHY */
.mw-footer {
    border-top: none;
}


#footer-info, #footer-icons {
     body {
     display: none;
}
 
.mw-body-content {
    margin-top: 0;
}
 
.vector-pinnable-header-label,
.vector-sticky-header-context-bar-primary {
    font-family: "DINdong", sans-serif;
    font-size: 1.5rem;
}
 
.vector-sticky-header {
    background: none;
     background-color: transparent;
     background-color: transparent;
    border-bottom: none;
     font-family: "AuthenticRegular", sans-serif;
}
     }
 
strong, b, .vector-body h3, .vector-body h4 {
     font-family: 'AuthenticBold', sans-serif !important;
    font-weight: normal;
     /* Adjust 'sans-serif' to your fallback font */
}


 
     .vector-body p,
#vector-toc {
    .vector-body ul,
     background: none;
    .vector-body li {
}
 
.vector-body p, .vector-body ul, .vector-body li {
     letter-spacing: 0.01rem;
     letter-spacing: 0.01rem;
}
     }
 
.client-js.vector-sticky-header-enabled .vector-sticky-header {
     display: none !important;
}


.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    .mw-body h1,
    .mw-body-content h1,
    .mw-body-content h2 {
     font-family: "DINdong", sans-serif;
     font-family: "DINdong", sans-serif;
     /* Adjust 'sans-serif' to your fallback font */
     /* Adjust 'sans-serif' to your fallback font */
     border: none;
     border: none;
     line-height: 1;
     line-height: 1;
}
    }
 
    strong,
    b,
    .vector-body h3,
    .vector-body h4 {
    font-family: "AuthenticBold", sans-serif !important;
    font-weight: normal;
    /* Adjust 'sans-serif' to your fallback font */
    }


.mw-body h1 {
    .mw-body h1 {
     font-size: 3.5em;
     font-size: 3.5em;
}
    }


.mw-body h2 {
    .mw-body h2 {
     font-size: 2.3em;
     font-size: 2.3em;
     border: none;
     border: none;
    overflow: visible;
}
}


.mw-page-container {
/* LISTS */
    background-color: transparent;
    background: linear-gradient(0deg, white, transparent);
}


.mw-logo-wordmark {
    .mw-content-ltr ul,
     color: black !important;
    .mw-content-ltr ul,
    .mw-content-ltr ol,
    .mw-content-ltr ol {
    margin-left: 1.2em;
    }
    .mw-content-ltr ul,
    .mw-content-ltr ul {
     list-style: disc;
}
}


.mw-page-container-inner {
/* UNSTYLING */
    min-height: 100svh;
    flex-direction: column;
}


.mw-content-container {
    .mw-logo-wordmark {
     flex-grow: 1;
     color: black !important;
}
    }


.mw-footer-container {
     .vector-page-titlebar {
    padding-top: 50px;
     box-shadow: none;
     padding-bottom: 10px;
     }
}
 
/*Dropdown-Menus*/
.vector-feature-page-tools-enabled .vector-unpinned-container .vector-toc .vector-toc-contents {
     padding-right: 14px;
     padding-left: 12px;
}


.vector-feature-page-tools-enabled .vector-unpinned-container .vector-toc .vector-pinnable-header {
    .vector-page-toolbar-container {
    padding-left: 12px;
}
 
.vector-dropdown .vector-dropdown-content, .vector-dropdown > .vector-menu-content {
     box-shadow: none;
     box-shadow: none;
     border-radius: 0.3rem;
     }
}


/*Search bar*/
    .vector-menu-checkbox:focus {
    outline: none;
    border: none;
    }


.cdx-button:enabled:focus:not(:active):not(.cdx-button--is-active) {
/* GENERAL LAYOUT */
  border-color: transparent;
  color: black;
  box-shadow: none;
}


.cdx-button:hover {
    .mw-page-container-inner {
  background-color: transparent;
    min-height: 100svh;
  border-color: transparent;
    flex-direction: column;
}
    }


.cdx-button:not(.cdx-button--type-quiet):enabled {
    .mw-content-container {
  background-color: transparent;
    flex-grow: 1;
  border-color: transparent;
    }
}


.cdx-button:not(.cdx-button--type-quiet):enabled:hover {
    .mw-footer-container {
  background-color: transparent;
    padding-top: 50px;
  border-color: transparent !important;
    padding-bottom: 10px;
  box-shadow: none;
    }
}


.cdx-search-input {
    .vector-page-titlebar {
  border-radius: 3rem;
    display: flex;
}
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row-reverse;
    }


.cdx-text-input__input {
    .mw-footer {
  border-color: transparent;
    border-top: none;
  box-shadow: none;
    }
  outline: none;
  background-color: transparent;
}


.cdx-text-input__input:enabled {
    .mw-body-content {
  border-color: transparent;
    margin-top: 0;
  background-color: transparent;
    }
}


.cdx-text-input__input:enabled:focus {
    .vector-feature-page-tools-enabled .mw-body {
  border-color: transparent !important;
    grid-template-areas:
  box-shadow: none;
        "toolbar columnEnd"
}
        "titlebar-cx ."
        "titlebar columnEnd"
        "content columnEnd";
    }


.cdx-text-input__input:enabled:focus:hover {
    #vector-page-titlebar-toc {
  border-color: transparent;
    margin-right: 6px;
  background-color: transparent;
    }
}


.cdx-text-input__input:enabled:hover {
    .mw-editable .vector-page-toolbar {
  border-color: transparent;
    display: block;
}
    }


.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--expanded) {
    #right-navigation {
  margin-left: 24px;
    margin-left: -8px;
}
    }


.cdx-typeahead-search--show-thumbnail:not(.cdx-typeahead-search--auto-expand-width),
    .vector-menu-tabs .mw-list-item.vector-tab-noicon > a,
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded {
    .vector-page-toolbar-container .vector-menu-dropdown > .vector-menu-heading {
  margin-left: 24px;
    padding-top: 9px;
}
    padding-bottom: 4px;
    }


.cdx-typeahead-search--show-thumbnail:not(.cdx-typeahead-search--auto-expand-width) .cdx-text-input__input,
/* UNPINNED MENUS */
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded .cdx-text-input__input {
  padding-left: 36px;
}


.cdx-typeahead-search--show-thumbnail:not(.cdx-typeahead-search--auto-expand-width) .cdx-text-input__start-icon,
    #right-navigation .vector-menu-content {
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded .cdx-text-input__start-icon {
    left: 1px;
  left: 9px;
    right: auto;
}
    }


    .vector-toc-landmark .vector-menu-dropdown > .vector-menu-content {
    left: unset;
    max-width: 15em;
    right: 0;
    }


.vector-search-box-input {
    .vector-feature-page-tools-enabled
     border-radius: 3rem;
     .vector-unpinned-container
  }
    .vector-toc
 
    .vector-toc-contents {
.vector-typeahead-search--active {
    max-width: 20em;
border-color: transparent;
    }
}


/*Columns*/
    .vector-feature-page-tools-enabled
    .vector-unpinned-container
    .vector-toc
    .vector-pinnable-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1em;
    }


.div-col {
    .vector-feature-page-tools-enabled
  margin-top: 0.3em;
    .vector-unpinned-container
  column-width: 30em;
    .vector-toc
}
    .vector-toc-contents {
    padding-right: 14px;
    padding-left: 12px;
    }


.div-col dl,
    .vector-feature-page-tools-enabled
.div-col ol,
    .vector-unpinned-container
.div-col ul {
    .vector-toc
  margin-top: 0;
    .vector-pinnable-header {
}
    padding-left: 12px;
    }


.div-col li,
    .vector-dropdown .vector-dropdown-content,
.div-col dd {
    .vector-dropdown > .vector-menu-content {
  page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
    box-shadow: none;
  break-inside: avoid-column;
    border-radius: 0.3rem;
}
    }
 
.div-col-rules {
  column-rule: 1px solid #aaa;
}


/* PINNED MENUS */


/*Image Sizes */
    #vector-toc-pinned-container .vector-toc:after {
    background: transparent;
    }


.full-width img {
    @media screen and (min-width: 1000px) {
  width: 100%;
    #vector-toc-pinned-container .vector-toc:after {
  height: auto;
        background: transparent;
}
    }
    }


.half-width img {
    #vector-toc {
  width: 49.6%;
    background: none;
  height: auto;
    }
}


.third-width img {
     #vector-main-menu {
     width: 32.8%;
    height: auto;
  }
 
.quarter-width img {
    width: 24.5%;
    height: auto;
  }
 
 
 
/*Sidebar Menu*/
#vector-main-menu {
     background-color: transparent !important;
     background-color: transparent !important;
  }
    }


.vector-pinnable-header-label {
    .vector-pinnable-header-label {
     display: inline-block;
     display: inline-block;
     color: #222;
     color: #222;
Line 434: Line 324:
     border: 0;
     border: 0;
     margin-right: 0.2rem;
     margin-right: 0.2rem;
}
    }
 
    .vector-dropdown-content > *:not(:last-child) {
    border-bottom: none;
    }
 
    .vector-feature-page-tools-enabled
    .vector-pinnable-element
    > *:not(:last-child) {
    border-bottom: none;
    }
 
    .vector-feature-page-tools-enabled
    .vector-pinnable-element
    .vector-menu-heading {
    display: none;
    }
 
    .vector-pinnable-header-toggle-button:before,
    .vector-pinnable-header-toggle-button:after {
    display: none;
    content: "";
    }
 
    .vector-feature-page-tools-disabled
    .vector-main-menu-group
    .vector-menu-heading,
    .vector-feature-page-tools-disabled
    .vector-main-menu-action-item
    .vector-menu-heading {
    border-color: transparent;
    }


.vector-dropdown-content > *:not(:last-child) {
    .vector-feature-page-tools-disabled
border-bottom: none;
    .vector-main-menu-group
}
    .vector-menu-heading,
    .vector-feature-page-tools-disabled
    .vector-main-menu-action-item
    .vector-menu-heading {
    display: none;
    }


.vector-feature-page-tools-enabled .vector-pinnable-element > *:not(:last-child){
    .vector-feature-page-tools-disabled
  border-bottom: none;
    .vector-main-menu-group
}
    .vector-menu-content
    li,
    .vector-feature-page-tools-disabled
    .vector-main-menu-action-item
    .vector-menu-content
    li {
    padding: 4px 0;
    margin-bottom: 0.1em;
    line-height: initial;
    }


.vector-feature-page-tools-enabled .vector-pinnable-element .vector-menu-heading{display: none;}
/* BUTTONS */


.vector-pinnable-header-pinned .vector-pinnable-header-toggle-button {
    .vector-pinnable-header-pinned .vector-pinnable-header-toggle-button, .mw-editsection a, .vector-pinnable-header-toggle-button .vector-pinnable-header-pin-button {
     color: #222;
     color: #222 !important;
     background-color: #DDD;
     background-color: #ddd;
     padding: 0.2rem 0.4rem;
     padding: 0.2rem 0.4rem;
     border-radius: 0.4rem;
     border-radius: 0.4rem;
     margin-left: 0.2rem;
     margin-left: 0.4rem;
}
    }


.vector-pinnable-header-toggle-button:before, .vector-pinnable-header-toggle-button:after {display:none; content:""}
    .mw-editsection-bracket,
    .mw-editsection-divider {
    display: none;
    }


.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-heading, .vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-heading {border-color: transparent;}
    h2 > .mw-editsection,
    h3 > .mw-editsection,
    h4 > .mw-editsection,
    h5 > .mw-editsection,
    .vector-pinnable-header .vector-pinnable-header-unpin-button {
    display: none;
    }


.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-heading, .vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-heading {display:none;}
    h2:hover > .mw-editsection,
    h3:hover > .mw-editsection,
    h4:hover > .mw-editsection,
    h5:hover > .mw-editsection,
    .vector-pinnable-header:hover .vector-pinnable-header-unpin-button{
    display: initial;
    }


.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-content li, .vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-content li {
/* STICKY HEADER */
    padding: 4px 0;
    margin-bottom: 0.1em;
    line-height: initial;
}


    .vector-pinnable-header-label,
    .vector-sticky-header-context-bar-primary {
    font-family: "DINdong", sans-serif;
    font-size: 1.5rem;
    }


    .vector-sticky-header {
    background: none;
    background-color: transparent;
    border-bottom: none;
    }


    .client-js.vector-sticky-header-enabled .vector-sticky-header {
    display: none !important;
    }


/*Header and Toolbar*/
/*SEARCH BAR*/


.vector-feature-page-tools-enabled .mw-body {
    .cdx-button:enabled:focus:not(:active):not(.cdx-button--is-active) {
     grid-template-areas:
     border-color: transparent;
        'toolbar columnEnd'
    color: black;
        'titlebar-cx .'
    box-shadow: none;
        'titlebar columnEnd'
    }
        'content columnEnd';
}


.vector-page-titlebar{box-shadow: none;}
    .cdx-button:hover {
    background-color: transparent;
    border-color: transparent;
    }


#vector-page-titlebar-toc{
    .cdx-button:not(.cdx-button--type-quiet):enabled {
     margin-right: 6px;
     background-color: transparent;
}
    border-color: transparent;
    }


.vector-page-toolbar{display: none;}
    .cdx-button:not(.cdx-button--type-quiet):enabled:hover {
    background-color: transparent;
    border-color: transparent !important;
    box-shadow: none;
    }


.mw-editable .vector-page-toolbar{display: block;}
    .cdx-search-input {
    border-radius: 3rem;
    }


.vector-page-toolbar-container{box-shadow: none;}
    .cdx-text-input__input {
    border-color: transparent;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    }


#left-navigation{display:none}
    .cdx-text-input__input:enabled {
    border-color: transparent;
    background-color: transparent;
    }


#right-navigation{margin-left: -8px;}
    .cdx-text-input__input:enabled:focus {
    border-color: transparent !important;
    box-shadow: none;
    }


.vector-menu-tabs .mw-list-item.vector-tab-noicon > a,
    .cdx-text-input__input:enabled:focus:hover {
.vector-page-toolbar-container .vector-menu-dropdown > .vector-menu-heading {
    border-color: transparent;
padding-top: 9px;
    background-color: transparent;
padding-bottom: 4px;
    }
}


.vector-menu-checkbox:focus{outline: none; border: none;}
    .cdx-text-input__input:enabled:hover {
    border-color: transparent;
    }


    .cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--expanded) {
    margin-left: 24px;
    }


    .cdx-typeahead-search--show-thumbnail:not(
        .cdx-typeahead-search--auto-expand-width
    ),
    .cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded {
    margin-left: 24px;
    }


    .cdx-typeahead-search--show-thumbnail:not(
        .cdx-typeahead-search--auto-expand-width
    )
    .cdx-text-input__input,
    .cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded
    .cdx-text-input__input {
    padding-left: 36px;
    }


    .cdx-typeahead-search--show-thumbnail:not(
        .cdx-typeahead-search--auto-expand-width
    )
    .cdx-text-input__start-icon,
    .cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded
    .cdx-text-input__start-icon {
    left: 9px;
    }


    .vector-search-box-input {
    border-radius: 3rem;
    }


    .vector-typeahead-search--active {
    border-color: transparent;
    }


/*COLUMNS*/


    .div-col {
    margin-top: 0.3em;
    column-width: 30em;
    }


    .div-col dl,
    .div-col ol,
    .div-col ul {
    margin-top: 0;
    }


    .div-col li,
    .div-col dd {
    page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
    break-inside: avoid-column;
    }


    .div-col-rules {
    column-rule: 1px solid #aaa;
    }


    .vector-body .div-col h2:first-of-type {
    /* Your styles for the first h2 element inside .div-col go here */
    margin-top: 0;
    }


/*CUSTOM IMAGE SIZES*/


@media (max-width: 1000px) {
    .full-width img {
  .half-width img {
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
  }
    }
  .third-width img {
 
     width: 100%;
    .half-width img {
    width: 49.6%;
    height: auto;
    }
 
    .third-width img {
     width: 32.8%;
     height: auto;
     height: auto;
  }
    }
  .quarter-width img {
 
     width: 100%;
    .quarter-width img {
     width: 24.5%;
     height: auto;
     height: auto;
  }
    }
}


    @media (max-width: 1000px) {
    .half-width img {
        width: 100%;
        height: auto;
    }
    .third-width img {
        width: 100%;
        height: auto;
    }
    .quarter-width img {
        width: 100%;
        height: auto;
    }
    }


/*Play arount*/
/*Play arount*/


#rotatingDiv {
    #rotatingDiv {
     position: absolute;
     position: absolute;
     transform: translate(0%, 0%);
     transform: translate(0%, 0%);
     transition: transform 0.1s ease;
     transition: transform 0.1s ease;
  }
    }


  div.gallerytext > p {
    div.gallerytext > p {
     font-size: 1px !important;
     font-size: 1px !important;
     color: transparent !important;
     color: transparent !important;
     line-height: 1% !important;
     line-height: 1% !important;
  }
    }
 
 
  div.gallerytext > p a {
    div.gallerytext > p a {
     font-size: initial !important;
     font-size: initial !important;
     line-height: initial !important;
     line-height: initial !important;
     color: initial !important;
     color: initial !important;
  }
    }

Revision as of 15:46, 3 March 2024

/* FONTS */

    @font-face {
    font-family: "AuthenticRegular";
    src: url("http://digitalgarden.hs-mainz.de/fonts/AUTHENTICSans-90.woff2")
        format("woff2");
    }

    @font-face {
    font-family: "AuthenticBold";
    src: url("http://digitalgarden.hs-mainz.de/fonts/AUTHENTICSans-130.woff2")
        format("woff2");
    }

    @font-face {
    font-family: "DINdong";
    src: url("http://digitalgarden.hs-mainz.de/fonts/DINdong.woff") format("woff");
    }

    @font-face {
    font-family: "Necto";
    src: url("http://digitalgarden.hs-mainz.de/fonts/NectoMono-Regular.woff2")
        format("woff2");
    }

/* DIFFERENT COLOURS */

    body {
    box-shadow: inset -2em -5em 4em #2a818d !important;
    }

    a {
    color: #2a818d !important;
    }

    body.cat-Human-Environment_Relations {
    box-shadow: inset -2em -5em 4em #e31a21 !important;
    }

    body.cat-Human-Environment_Relations a {
    color: #e31a21 !important;
    }

    body.cat-Other {
    box-shadow: inset -2em -5em 4em yellow !important;
    }

    body.cat-Other a {
    color: grey !important;
    }

    body.cat-Flora {
    box-shadow: inset -2em -5em 4em #0e9c07 !important;
    }

    body.cat-Flora a {
    color: #0e9c07 !important;
    }

    body.cat-Ocean {
    box-shadow: inset -2em -5em 4em #2065d4 !important;
    }

    body.cat-Ocean a {
    color: #2065d4 !important;
    }

    body.cat-Cloud {
    box-shadow: inset -2em -5em 4em hsl(278, 100%, 47%) !important;
    }

    body.cat-Cloud a {
    color: hsl(278, 100%, 47%) !important;
    }

    .mw-page-container {
    background-color: transparent;
    background: linear-gradient(0deg, white, transparent);
    }

/* REPAIRING COLOURS */

    .mwe-popups a {
    color: black !important;
    }

    oo-ui-toolbar-bar a {
    color: black !important;
    }

    .oo-ui-tool-title a {
    color: white !important;
    }

/* HIDING THINGS */

    #left-navigation, .vector-page-toolbar, #p-tb, .mw-indicators, .vector-limited-width-toggle, div.patrollink, #footer-info, #footer-icons {
    display: none;
    }

/* BODY */

    .mw-page-container {
    margin: 0;
    display: block;
    justify-content: center;
    max-width: unset;
    overflow: hidden;
    }

    .mw-page-container-inner {
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    }

/* TYPOGRAPHY */

    body {
    background-color: transparent;
    font-family: "AuthenticRegular", sans-serif;
    }

    .vector-body p,
    .vector-body ul,
    .vector-body li {
    letter-spacing: 0.01rem;
    }

    .mw-body h1,
    .mw-body-content h1,
    .mw-body-content h2 {
    font-family: "DINdong", sans-serif;
    /* Adjust 'sans-serif' to your fallback font */
    border: none;
    line-height: 1;
    }

    strong,
    b,
    .vector-body h3,
    .vector-body h4 {
    font-family: "AuthenticBold", sans-serif !important;
    font-weight: normal;
    /* Adjust 'sans-serif' to your fallback font */
    }

    .mw-body h1 {
    font-size: 3.5em;
    }

    .mw-body h2 {
    font-size: 2.3em;
    border: none;
    overflow: visible;
}

/* LISTS */

    .mw-content-ltr ul,
    .mw-content-ltr ul,
    .mw-content-ltr ol,
    .mw-content-ltr ol {
    margin-left: 1.2em;
    }
    .mw-content-ltr ul,
    .mw-content-ltr ul {
    list-style: disc;
}

/* UNSTYLING */

    .mw-logo-wordmark {
    color: black !important;
    }

    .vector-page-titlebar {
    box-shadow: none;
    }

    .vector-page-toolbar-container {
    box-shadow: none;
    }

    .vector-menu-checkbox:focus {
    outline: none;
    border: none;
    }

/* GENERAL LAYOUT */

    .mw-page-container-inner {
    min-height: 100svh;
    flex-direction: column;
    }

    .mw-content-container {
    flex-grow: 1;
    }

    .mw-footer-container {
    padding-top: 50px;
    padding-bottom: 10px;
    }

    .vector-page-titlebar {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row-reverse;
    }

    .mw-footer {
    border-top: none;
    }

    .mw-body-content {
    margin-top: 0;
    }

    .vector-feature-page-tools-enabled .mw-body {
    grid-template-areas:
        "toolbar columnEnd"
        "titlebar-cx ."
        "titlebar columnEnd"
        "content columnEnd";
    }

    #vector-page-titlebar-toc {
    margin-right: 6px;
    }

    .mw-editable .vector-page-toolbar {
    display: block;
    }

    #right-navigation {
    margin-left: -8px;
    }

    .vector-menu-tabs .mw-list-item.vector-tab-noicon > a,
    .vector-page-toolbar-container .vector-menu-dropdown > .vector-menu-heading {
    padding-top: 9px;
    padding-bottom: 4px;
    }

/* UNPINNED MENUS */

    #right-navigation .vector-menu-content {
    left: 1px;
    right: auto;
    }

    .vector-toc-landmark .vector-menu-dropdown > .vector-menu-content {
    left: unset;
    max-width: 15em;
    right: 0;
    }

    .vector-feature-page-tools-enabled
    .vector-unpinned-container
    .vector-toc
    .vector-toc-contents {
    max-width: 20em;
    }

    .vector-feature-page-tools-enabled
    .vector-unpinned-container
    .vector-toc
    .vector-pinnable-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1em;
    }

    .vector-feature-page-tools-enabled
    .vector-unpinned-container
    .vector-toc
    .vector-toc-contents {
    padding-right: 14px;
    padding-left: 12px;
    }

    .vector-feature-page-tools-enabled
    .vector-unpinned-container
    .vector-toc
    .vector-pinnable-header {
    padding-left: 12px;
    }

    .vector-dropdown .vector-dropdown-content,
    .vector-dropdown > .vector-menu-content {
    box-shadow: none;
    border-radius: 0.3rem;
    }

/* PINNED MENUS */

    #vector-toc-pinned-container .vector-toc:after {
    background: transparent;
    }

    @media screen and (min-width: 1000px) {
    #vector-toc-pinned-container .vector-toc:after {
        background: transparent;
    }
    }

    #vector-toc {
    background: none;
    }

    #vector-main-menu {
    background-color: transparent !important;
    }

    .vector-pinnable-header-label {
    display: inline-block;
    color: #222;
    font-size: 1.1rem;
    margin: 0;
    padding: 0;
    border: 0;
    margin-right: 0.2rem;
    }

    .vector-dropdown-content > *:not(:last-child) {
    border-bottom: none;
    }

    .vector-feature-page-tools-enabled
    .vector-pinnable-element
    > *:not(:last-child) {
    border-bottom: none;
    }

    .vector-feature-page-tools-enabled
    .vector-pinnable-element
    .vector-menu-heading {
    display: none;
    }

    .vector-pinnable-header-toggle-button:before,
    .vector-pinnable-header-toggle-button:after {
    display: none;
    content: "";
    }

    .vector-feature-page-tools-disabled
    .vector-main-menu-group
    .vector-menu-heading,
    .vector-feature-page-tools-disabled
    .vector-main-menu-action-item
    .vector-menu-heading {
    border-color: transparent;
    }

    .vector-feature-page-tools-disabled
    .vector-main-menu-group
    .vector-menu-heading,
    .vector-feature-page-tools-disabled
    .vector-main-menu-action-item
    .vector-menu-heading {
    display: none;
    }

    .vector-feature-page-tools-disabled
    .vector-main-menu-group
    .vector-menu-content
    li,
    .vector-feature-page-tools-disabled
    .vector-main-menu-action-item
    .vector-menu-content
    li {
    padding: 4px 0;
    margin-bottom: 0.1em;
    line-height: initial;
    }

/* BUTTONS */

    .vector-pinnable-header-pinned .vector-pinnable-header-toggle-button, .mw-editsection a, .vector-pinnable-header-toggle-button .vector-pinnable-header-pin-button {
    color: #222 !important;
    background-color: #ddd;
    padding: 0.2rem 0.4rem;
    border-radius: 0.4rem;
    margin-left: 0.4rem;
    }

    .mw-editsection-bracket,
    .mw-editsection-divider {
    display: none;
    }

    h2 > .mw-editsection,
    h3 > .mw-editsection,
    h4 > .mw-editsection,
    h5 > .mw-editsection,
    .vector-pinnable-header .vector-pinnable-header-unpin-button {
    display: none;
    }

    h2:hover > .mw-editsection,
    h3:hover > .mw-editsection,
    h4:hover > .mw-editsection,
    h5:hover > .mw-editsection,
    .vector-pinnable-header:hover .vector-pinnable-header-unpin-button{
    display: initial;
    }

/* STICKY HEADER */

    .vector-pinnable-header-label,
    .vector-sticky-header-context-bar-primary {
    font-family: "DINdong", sans-serif;
    font-size: 1.5rem;
    }

    .vector-sticky-header {
    background: none;
    background-color: transparent;
    border-bottom: none;
    }

    .client-js.vector-sticky-header-enabled .vector-sticky-header {
    display: none !important;
    }

/*SEARCH BAR*/

    .cdx-button:enabled:focus:not(:active):not(.cdx-button--is-active) {
    border-color: transparent;
    color: black;
    box-shadow: none;
    }

    .cdx-button:hover {
    background-color: transparent;
    border-color: transparent;
    }

    .cdx-button:not(.cdx-button--type-quiet):enabled {
    background-color: transparent;
    border-color: transparent;
    }

    .cdx-button:not(.cdx-button--type-quiet):enabled:hover {
    background-color: transparent;
    border-color: transparent !important;
    box-shadow: none;
    }

    .cdx-search-input {
    border-radius: 3rem;
    }

    .cdx-text-input__input {
    border-color: transparent;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    }

    .cdx-text-input__input:enabled {
    border-color: transparent;
    background-color: transparent;
    }

    .cdx-text-input__input:enabled:focus {
    border-color: transparent !important;
    box-shadow: none;
    }

    .cdx-text-input__input:enabled:focus:hover {
    border-color: transparent;
    background-color: transparent;
    }

    .cdx-text-input__input:enabled:hover {
    border-color: transparent;
    }

    .cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--expanded) {
    margin-left: 24px;
    }

    .cdx-typeahead-search--show-thumbnail:not(
        .cdx-typeahead-search--auto-expand-width
    ),
    .cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded {
    margin-left: 24px;
    }

    .cdx-typeahead-search--show-thumbnail:not(
        .cdx-typeahead-search--auto-expand-width
    )
    .cdx-text-input__input,
    .cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded
    .cdx-text-input__input {
    padding-left: 36px;
    }

    .cdx-typeahead-search--show-thumbnail:not(
        .cdx-typeahead-search--auto-expand-width
    )
    .cdx-text-input__start-icon,
    .cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width.cdx-typeahead-search--expanded
    .cdx-text-input__start-icon {
    left: 9px;
    }

    .vector-search-box-input {
    border-radius: 3rem;
    }

    .vector-typeahead-search--active {
    border-color: transparent;
    }

/*COLUMNS*/

    .div-col {
    margin-top: 0.3em;
    column-width: 30em;
    }

    .div-col dl,
    .div-col ol,
    .div-col ul {
    margin-top: 0;
    }

    .div-col li,
    .div-col dd {
    page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
    break-inside: avoid-column;
    }

    .div-col-rules {
    column-rule: 1px solid #aaa;
    }

    .vector-body .div-col h2:first-of-type {
    /* Your styles for the first h2 element inside .div-col go here */
    margin-top: 0;
    }

/*CUSTOM IMAGE SIZES*/

    .full-width img {
    width: 100%;
    height: auto;
    }

    .half-width img {
    width: 49.6%;
    height: auto;
    }

    .third-width img {
    width: 32.8%;
    height: auto;
    }

    .quarter-width img {
    width: 24.5%;
    height: auto;
    }

    @media (max-width: 1000px) {
    .half-width img {
        width: 100%;
        height: auto;
    }
    .third-width img {
        width: 100%;
        height: auto;
    }
    .quarter-width img {
        width: 100%;
        height: auto;
    }
    }

/*Play arount*/

    #rotatingDiv {
    position: absolute;
    transform: translate(0%, 0%);
    transition: transform 0.1s ease;
    }

    div.gallerytext > p {
    font-size: 1px !important;
    color: transparent !important;
    line-height: 1% !important;
    }

    div.gallerytext > p a {
    font-size: initial !important;
    line-height: initial !important;
    color: initial !important;
    }