Jump to content

MediaWiki:Common.css

From The Telecommunications Inventory Wiki
Revision as of 10:44, 25 December 2024 by Intcreator (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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
:root {
    --color-process-blue: #0091c9;
    --color-yellow-gold: #f3cf1d;
}

@font-face {
    font-family: "Bell Gothic";

    src: url("/static/fonts/BellGothic-Bold.woff2") format("woff2"),
        url("/static/fonts/BellGothic-Bold.woff") format("woff");

    font-weight: bold;

    font-style: normal;

    font-display: swap;
}

@font-face {
    font-family: "Bell Gothic";

    src: url("/static/fonts/BellGothic-Light.woff2") format("woff2"),
        url("/static/fonts/BellGothic-Light.woff") format("woff");

    font-weight: 300;

    font-style: normal;

    font-display: swap;
}

@font-face {
    font-family: "Bell Gothic";

    src: url("/static/fonts/BellGothic-Black.woff2") format("woff2"),
        url("/static/fonts/BellGothic-Black.woff") format("woff");

    font-weight: 900;

    font-style: normal;

    font-display: swap;
}

body,
.mw-body h1 {
    font-family: "Bell Gothic";
}

: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; */
}

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