MediaWiki:Common.css: Difference between revisions
From IIFQ
No edit summary |
mNo edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
@font-face { | @font-face { | ||
font-family: "Kontora ExtraBlack"; | font-family: "Kontora ExtraBlack"; | ||
| Line 72: | Line 71: | ||
font-style: normal; | font-style: normal; | ||
font-display: swap; | font-display: swap; | ||
} | |||
@font-face { | |||
font-family: 'Roboto Condensed'; | |||
font-style: normal; | |||
font-display: swap; | |||
font-weight: 400; | |||
src: url('/resources/assets/roboto-condensed-cyrillic-ext-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-cyrillic-ext-400-normal.woff') format('woff'); | |||
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; | |||
} | |||
@font-face { | |||
font-family: 'Roboto Condensed'; | |||
font-style: normal; | |||
font-display: swap; | |||
font-weight: 400; | |||
src: url('/resources/assets/roboto-condensed-cyrillic-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-cyrillic-400-normal.woff') format('woff'); | |||
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; | |||
} | |||
@font-face { | |||
font-family: 'Roboto Condensed'; | |||
font-style: normal; | |||
font-display: swap; | |||
font-weight: 400; | |||
src: url('/resources/assets/roboto-condensed-greek-ext-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-greek-ext-400-normal.woff') format('woff'); | |||
unicode-range: U+1F00-1FFF; | |||
} | |||
@font-face { | |||
font-family: 'Roboto Condensed'; | |||
font-style: normal; | |||
font-display: swap; | |||
font-weight: 400; | |||
src: url('/resources/assets/roboto-condensed-greek-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-greek-400-normal.woff') format('woff'); | |||
unicode-range: U+0370-03FF; | |||
} | |||
@font-face { | |||
font-family: 'Roboto Condensed'; | |||
font-style: normal; | |||
font-display: swap; | |||
font-weight: 400; | |||
src: url('/resources/assets/roboto-condensed-vietnamese-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-vietnamese-400-normal.woff') format('woff'); | |||
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; | |||
} | |||
@font-face { | |||
font-family: 'Roboto Condensed'; | |||
font-style: normal; | |||
font-display: swap; | |||
font-weight: 400; | |||
src: url('/resources/assets/roboto-condensed-latin-ext-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-latin-ext-400-normal.woff') format('woff'); | |||
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; | |||
} | |||
@font-face { | |||
font-family: 'Roboto Condensed'; | |||
font-style: normal; | |||
font-display: swap; | |||
font-weight: 400; | |||
src: url('/resources/assets/roboto-condensed-latin-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-latin-400-normal.woff') format('woff'); | |||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; | |||
} | } | ||
.navbar-container { | .navbar-container { | ||
| Line 82: | Line 137: | ||
.p-navbar .navbar-nav .nav-link, | .p-navbar .navbar-nav .nav-link, | ||
.p-navbar .navbar-nav .navbar-tool > a, | .p-navbar .navbar-nav .navbar-tool > a, | ||
.p-navbar a.navbar-userloggedin { | .p-navbar a.navbar-userloggedin, | ||
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler { | |||
color: #fff; | color: #fff; | ||
} | |||
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler { | |||
border-color: #fff; | |||
} | } | ||
@media (min-width: 600px) { | @media (min-width: 600px) { | ||
| Line 96: | Line 155: | ||
body > .row { | body > .row { | ||
flex-grow: 1; | flex-grow: 1; | ||
margin: 0; | |||
} | } | ||
.footer { | .footer { | ||
| Line 108: | Line 168: | ||
.footer .row { | .footer .row { | ||
margin: 0; | margin: 0; | ||
} | |||
@media (max-width: 1200px) { | |||
.footer .row { | |||
flex-direction: column; | |||
} | |||
.footer .col { | |||
padding: 0; | |||
} | |||
.footer-logos ul, .footer-places { | |||
justify-content: center; | |||
} | |||
} | } | ||
.footer .col:first-child { | .footer .col:first-child { | ||
| Line 116: | Line 187: | ||
} | } | ||
@media (min-width: 1600px) { | @media (min-width: 1600px) { | ||
.navbar-container > .p-navbar { | |||
max-width: 1512px; | |||
padding-left: 0; | |||
padding-right: 0; | |||
margin: 0 auto; | |||
} | |||
.footer .container { | .footer .container { | ||
max-width: 1512px; | max-width: 1512px; | ||
} | |||
} | |||
@media (max-width: 476px) { | |||
.footer-logos ul, .footer-places { | |||
flex-direction: column; | |||
} | } | ||
} | } | ||
| Line 127: | Line 209: | ||
} | } | ||
.footer > .row > .col { | .footer > .row > .col { | ||
padding: | padding: 0; | ||
} | } | ||
#searchform .form-control { | #searchform .form-control { | ||
| Line 133: | Line 215: | ||
color: #fff; | color: #fff; | ||
height: 48px; | height: 48px; | ||
border: none; | border: none; | ||
border-radius: 0; | border-radius: 0; | ||
} | |||
@media (min-width: 1200px) { | |||
#searchform .form-control { | |||
width: 300px; | |||
} | |||
} | } | ||
#searchform .form-control::placeholder { | #searchform .form-control::placeholder { | ||
| Line 191: | Line 277: | ||
font-size: 24px; | font-size: 24px; | ||
} | } | ||
.sidebar .nav-item a:before { | .sidebar .nav-item a::before { | ||
display: none; | display: none; | ||
} | } | ||
| Line 198: | Line 284: | ||
align-items: center; | align-items: center; | ||
gap: 0.625rem; | gap: 0.625rem; | ||
margin-top: | margin-top: 2.5rem; | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
} | } | ||
| Line 237: | Line 323: | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
h1 { | h1, .h1 { | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 1.5rem; | |||
} | |||
h2, .h2 { | |||
font-size: 1.4rem; | |||
} | } | ||
Latest revision as of 12:16, 20 November 2023
@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;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('/resources/assets/roboto-condensed-cyrillic-ext-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-cyrillic-ext-400-normal.woff') format('woff');
unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('/resources/assets/roboto-condensed-cyrillic-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-cyrillic-400-normal.woff') format('woff');
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('/resources/assets/roboto-condensed-greek-ext-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-greek-ext-400-normal.woff') format('woff');
unicode-range: U+1F00-1FFF;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('/resources/assets/roboto-condensed-greek-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-greek-400-normal.woff') format('woff');
unicode-range: U+0370-03FF;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('/resources/assets/roboto-condensed-vietnamese-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-vietnamese-400-normal.woff') format('woff');
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('/resources/assets/roboto-condensed-latin-ext-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-latin-ext-400-normal.woff') format('woff');
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('/resources/assets/roboto-condensed-latin-400-normal.woff2') format('woff2'), url('/resources/assets/roboto-condensed-latin-400-normal.woff') format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
.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,
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler {
color: #fff;
}
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler {
border-color: #fff;
}
@media (min-width: 600px) {
.p-navbar .navbar-nav {
flex-direction: row;
}
}
body {
margin: 0;
font-family: "Roboto Condensed",Roboto,sans-serif;
}
body > .row {
flex-grow: 1;
margin: 0;
}
.footer {
max-width: unset;
padding: 2.25rem 0 1rem;
background: #231f20;
color: #918f90;
}
.footer .container {
padding: 0;
}
.footer .row {
margin: 0;
}
@media (max-width: 1200px) {
.footer .row {
flex-direction: column;
}
.footer .col {
padding: 0;
}
.footer-logos ul, .footer-places {
justify-content: center;
}
}
.footer .col:first-child {
padding-left: 0;
}
.footer .col:last-child {
padding-right: 0;
}
@media (min-width: 1600px) {
.navbar-container > .p-navbar {
max-width: 1512px;
padding-left: 0;
padding-right: 0;
margin: 0 auto;
}
.footer .container {
max-width: 1512px;
}
}
@media (max-width: 476px) {
.footer-logos ul, .footer-places {
flex-direction: column;
}
}
.footer .p-navbar {
background: transparent;
}
.footer > .row {
margin: 0;
}
.footer > .row > .col {
padding: 0;
}
#searchform .form-control {
background: #2a2827;
color: #fff;
height: 48px;
border: none;
border-radius: 0;
}
@media (min-width: 1200px) {
#searchform .form-control {
width: 300px;
}
}
#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: 2.5rem 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;
margin: -0.5rem 0;
}
.sidebar {
max-width: 445px;
}
}
.sidebar .link {
padding: 0.5rem 0.75rem;
}
.sidebar .nav-item a {
color: #c8c7c7;
font-size: 24px;
}
.sidebar .nav-item a::before {
display: none;
}
.footer .license {
display: flex;
align-items: center;
gap: 0.625rem;
margin-top: 2.5rem;
font-size: 0.875rem;
}
.footer .license img {
width: 100px;
}
.footer .license a {
color: inherit;
}
.footer-logos {
height: 100%;
}
.footer-logos ul {
display: flex;
flex-wrap: wrap;
align-items: center;
height: 100%;
margin-bottom: 0;
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: #fff;
font-size: 28px;
font-family: Kontora,Roboto,sans-serif;
font-weight: 600;
}
h1, .h1 {
font-weight: bold;
font-size: 1.5rem;
}
h2, .h2 {
font-size: 1.4rem;
}