Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 10:47, 30 May 2024 by TreZc0 (talk | contribs)

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

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
 .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul {

  display: none;

}

.boxWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.frontBox {
  width: 40%;
  min-width: 340px;
  background-color: rgb(29, 35, 48);
  color: white;
  border: 2px solid black; 
  margin-top: 1.5em; 
  padding: 2px; 
  padding-top: 0; 
  text-align: center; 
  margin-bottom: 1.5em; 
  border-radius: 25px; 
}

.leftBox {
  float: left; 
}

.rightBox {
  float: right;
}

html.skin-citizen-light div.frontBox {
    background-color: lightgrey !important;
    color: black !important;
}

html.skin-citizen-dark div.frontBox {
    background-color: rgb(29, 35, 48) !important;
    color: white !important;
}

a, .external.text {

  color: #337ab7;
  font-weight: 600 !important;
  text-decoration: underline;

}

.tag-header {
  border: 1px solid;
  padding: 1em 0 0 1em;
  padding-top: 1em;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 1em;
  font-size: larger;
  margin: 0 1em 1em 1em;
}

.citizen-header__inner {
  justify-content: flex-start !important;
}

@media screen and (min-width: 1120px) {
    .citizen-toc-enabled .citizen-body-container {
        display: grid;
        grid-template-areas:
        'header header header'
        'sidebar content adspace'
        'footer footer footer';
        grid-template-columns: var(--width-toc) minmax(0, var(--width-layout)) 300px;
    }

   .citizen-toc-enabled .citizen-body-container .citizen-body-adspace {
       display: flex;
       flex-direction: column;
       grid-area: adspace;
       gap: var(--space-sm);
       padding-left: var(--space-xs);
       margin-top: var(--space-sm);
       margin-left: calc(var(--space-xs)* -1);
    }

    .citizen-userMenu__card {
       bottom: 80px;
    }


    .citizen-body-container .citizen-header-adspace {
       min-height: 90px;
    }

}


@media screen and (max-width: 1119px) {
    .citizen-header {
        top: 0 !important;
        bottom: auto;
    }

    .citizen-body-container {
      margin-top: 45px;
    }

    .page-actions {
        top: calc(var(--header-size) + var(--space-xs));
    }
    .page-actions__card {
        top: 100%;
        bottom: auto;
    }
    .citizen-drawer__card {
        top: 100%;
        bottom: auto;
    }
     .citizen-userMenu__card {
        top: 100%;
        bottom: auto;
        left: 0;
        right: auto;
     }
}

:root.citizen-feature-custom-width-clientpref-standard {
  --width-layout: 1280px;
}