MediaWiki:Common.css

From IIFQ
Revision as of 07:51, 5 November 2023 by Wadmin (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.
/* CSS placed here will be applied to all skins */
@font-face {
  font-family: "Kontora ExtraBlack";
  src: url("/resources/assets/KontoraExtraBlack.woff2") format("woff2"),
    url("/resources/assets/KontoraExtraBlack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kontora";
  src: url("/resources/assets/Kontora-Bold.woff2") format("woff2"),
    url("/resources/assets/Kontora-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kontora";
  src: url("/resources/assets/KontoraMedium.woff2") format("woff2"),
    url("/resources/assets/KontoraMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kontora";
  src: url("/resources/assets/KontoraBlack.woff2") format("woff2"),
    url("/resources/assets/KontoraBlack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kontora";
  src: url("/resources/assets/KontoraExtraBold.woff2") format("woff2"),
    url("/resources/assets/KontoraExtraBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kontora SemBd";
  src: url("/resources/assets/Kontora-SemiBold.woff2") format("woff2"),
    url("/resources/assets/Kontora-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kontora";
  src: url("/resources/assets/Kontora-Regular.woff2") format("woff2"),
    url("/resources/assets/Kontora-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kontora";
  src: url("/resources/assets/KontoraLight.woff2") format("woff2"),
    url("/resources/assets/KontoraLight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kontora";
  src: url("/resources/assets/KontoraThin.woff2") format("woff2"),
    url("/resources/assets/KontoraThin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
.navbar-container {
  background: #100e0d;
}
#mw-navigation.p-navbar {
  background: transparent;
}
.p-navbar,
.p-navbar .navbar-nav .nav-link,
.p-navbar .navbar-nav .navbar-tool > a,
.p-navbar a.navbar-userloggedin {
  color: #fff;
}
@media (min-width: 600px) {
  .p-navbar .navbar-nav {
    flex-direction: row;
  }
}
body {
  font-family: "Roboto Condensed",Roboto,sans-serif;
}
body > .row {
  flex-grow: 1;
}
.footer {
  max-width: unset;
  background: #231f20;
}
.footer .p-navbar {
  background: transparent;
}
.footer > .row {
  margin: 0;
}
.footer > .row > .col {
  padding: 0; 0;
}
#searchform .form-control {
  background: #2a2827;
  color: #fff;
  border: none;
  border-radius: 0;
}
#searchform .form-control::placeholder {
  color: #5f5e5d;
}
#searchGoButton {
  background: transparent;
  color: white;
  border: none;
  box-shadow: none;
}
.p-navbar .navbar-brand.p-logo,
.p-navbar .navbar-brand img {
  height: 140px;
}
.sidebar {
  background: #353132;
  max-width: 320px;
  padding: 3rem 2rem;
}
@media (max-width: 768px) {
  body > .row {
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  .sidebar {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem;
    width: 100%;
    max-width: unset;
  }
}
@media (max-width: 768px) {
  .sidebar {
    flex-direction: column;
    align-items: center;
  }
}
@media (min-width: 1105px) {
  .flex-cmln-row, .p-navbar.collapsible .navbar-collapse {
    align-self: end;
  }
  .sidebar {
    max-width: 445px;
  }
}
.sidebar .nav-item a {
  color: #c8c7c7;
  font-size: 18px;
}
.sidebar .nav-item a:before {
  display: none;
}
.footer {
  padding: 1.25rem 0;
  color: #918f90;
}
.footer .license {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer .license img {
  width: 100px;
}
.footer .license a {
  color: inherit;
}
.footer-logos ul {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
  gap: 20px;
}
.footer-logos a img {
  width: 125px;
  height: 30px;
}
.footer-logos .logo-pch img {
  width: 82px;
  height: 38px;
}
.footer-places {
  gap: 12px;
}
.footer-places a {
  color: inherit;
  font-size: 22px;
  font-family: Kontora,Roboto,sans-serif;
  font-weight: 600;
}
h1 {
  font-weight: bold;
}