MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 11:13, 26 December 2021 by HerrHulaHoop (talk | contribs) (CSS stuff)

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.
/* All CSS here will be loaded for users of the Citizen skin */

/* Flexbox used in the Main page */
.flexbox-row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#mainpage-flexbox, #help-flexbox {
  margin-top: 0.8rem;
}

.flexchild-stretch {
  flex-grow: 1;
}

.flexchild-border {
/*   background-color: #f8f9fa; */
  border-style: solid;
  border-width: 1px;
/*   border-color: #eaecf0; */
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 5px;
  box-shadow:
    1px 2px 2px hsl(238deg 66% 65% / 0.3),
    2px 4px 4px hsl(238deg 66% 65% / 0.3),
    4px 8px 8px hsl(238deg 66% 65% / 0.3);
}

.flexheading3 {
  margin-top: 0rem !important;
}

.flexheading4 {
  margin-top: 0.8rem !important;
}

@media screen and ( max-width: 850px ) {
  .flexheading4 {
  }
}

/* Video game infobox */
.vginfobox {
  float: right;
  max-width: 365px;
  margin-left: 15px;
  margin-bottom: 15px;
  font-size: 90%;
/*   background-color: #f8f9fa; */
  border-style: solid;
  border-width: 1px;
/*   border-color: #eaecf0; */
  border-spacing: 0px;
  box-shadow:
    1px 2px 2px hsl(238deg 66% 65% / 0.3),
    2px 4px 4px hsl(238deg 66% 65% / 0.3),
    4px 8px 8px hsl(238deg 66% 65% / 0.3);
}

@media screen and ( max-width: 850px ) {
  .vginfobox {
    float: none;
    font-size: 100%;
    margin: auto !important;
  }
}

.vginfobox > * > tr > th, .vginfobox > * > tr > td {
  padding: 10px 15px;
}