Jump to content

MediaWiki:Common.css: Difference between revisions

From The Telecommunications Inventory Wiki
Created page with "CSS placed here will be applied to all skins: @font-face { font-family: "Bell Gothic"; src: url("/fonts/BellGothic-Bold.woff2") format("woff2"), url("/fonts/BellGothic-Bold.woff") format("woff"); font-weight: bold; font-style: normal; font-display: swap; } @font-face { font-family: "Bell Gothic"; src: url("/fonts/BellGothic-Light.woff2") format("woff2"), url("/fonts/BellGothic-Light.woff") format("woff"); font-..."
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
:root {
    --color-process-blue: #0091c9;
    --color-yellow-gold: #f3cf1d;
}


@font-face {
body {
  font-family: "Bell Gothic";
background-color: var(--background-color-base);
}


  src:
body,
        url("/fonts/BellGothic-Bold.woff2") format("woff2"),
.mw-body h1,
        url("/fonts/BellGothic-Bold.woff") format("woff");
.mw-body h2 {
    font-family: Helvetica;
}


  font-weight: bold;
.mw-body h1 {
font-weight: bold;
}


  font-style: normal;
:root {
    --font-size-medium: 1rem;
    --line-height-medium: 1.5714285;
    --background-color-base: #f4f4f4;
}
.vector-feature-custom-font-size-clientpref-1 {
    --font-size-medium: 1.25rem;
    --line-height-medium: 1.6;
}
.vector-feature-custom-font-size-clientpref-2 {
    --font-size-medium: 1.6rem;
    --line-height-medium: 1.5;
}


  font-display: swap;
a {
    color: var(--color-process-blue);
    /* text-decoration: underline; */
}
}


@font-face {
a.mw-logo,
  font-family: "Bell Gothic";
a.mw-logo:visited {
color: black;
}


  src:
.mw-logo-wordmark {
        url("/fonts/BellGothic-Light.woff2") format("woff2"),
letter-spacing: -.03em;
        url("/fonts/BellGothic-Light.woff") format("woff");
    font-size: 1.3em;
}


  font-weight: 300;
#p-logo a {
 
    background-size: contain;
  font-style: normal;
}


  font-display: swap;
.vector-header-container {
padding-top: .5em;
    margin-bottom: .5em;
    padding-bottom: .5em;
    position: relative;
}
}


@font-face {
.vector-header-container::before {
  font-family: "Bell Gothic";
    content: "";
 
    position: absolute;
  src:
    background-color: var(--color-process-blue);
        url("/fonts/BellGothic-Black.woff2") format("woff2"),
    height: 0.6em;
        url("/fonts/BellGothic-Black.woff") format("woff");
    width: 100vw;
 
    bottom: -0.6em;
  font-weight: 900;
    z-index: 3;
 
  font-style: normal;
 
  font-display: swap;
}
}


body {
.vector-header-container::after {
  font-family: "Bell Gothic";
    content: "";
    position: absolute;
    background-color: var(--color-yellow-gold);
    height: 0.6em;
    width: 100vw;
    bottom: -1.4em;
    z-index: 2;
}
}

Latest revision as of 16:30, 13 March 2025

:root {
    --color-process-blue: #0091c9;
    --color-yellow-gold: #f3cf1d;
}

body {
	background-color: var(--background-color-base);
}

body,
.mw-body h1,
.mw-body h2 {
    font-family: Helvetica;
}

.mw-body h1 {
	font-weight: bold;
}

:root {
    --font-size-medium: 1rem;
    --line-height-medium: 1.5714285;
    --background-color-base: #f4f4f4;
}
.vector-feature-custom-font-size-clientpref-1 {
    --font-size-medium: 1.25rem;
    --line-height-medium: 1.6;
}
.vector-feature-custom-font-size-clientpref-2 {
    --font-size-medium: 1.6rem;
    --line-height-medium: 1.5;
}

a {
    color: var(--color-process-blue);
    /* text-decoration: underline; */
}

a.mw-logo,
a.mw-logo:visited {
	color: black;
}

.mw-logo-wordmark {
	letter-spacing: -.03em;
    font-size: 1.3em;
}

#p-logo a {
    background-size: contain;
}

.vector-header-container {
	padding-top: .5em;
    margin-bottom: .5em;
    padding-bottom: .5em;
    position: relative;
}

.vector-header-container::before {
    content: "";
    position: absolute;
    background-color: var(--color-process-blue);
    height: 0.6em;
    width: 100vw;
    bottom: -0.6em;
    z-index: 3;
}

.vector-header-container::after {
    content: "";
    position: absolute;
    background-color: var(--color-yellow-gold);
    height: 0.6em;
    width: 100vw;
    bottom: -1.4em;
    z-index: 2;
}