MediaWiki: Vector.css

From Trekipedia
Revision as of 09:53, 16 January 2019 by Admin (talk | contribs)
Jump to: navigation, search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Vector skin */

@font-face {
  font-family: "Ubuntu Condensed", sans-serif;
  font-style: normal;
  font-weight: bold;
  src: local('Ubuntu Condensed'), url('/fonts/Ubuntu_Condensed/UbuntuCondensed-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  src: local('Open Sans'), url('/fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "Open Sans Bold", sans-serif;
  font-style: normal;
  src: local('Open Sans Bold'), url('/fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
  font-family: "Open Sans Bold-Italic", sans-serif;
  font-style: normal;
  src: local('Open Sans Bold-Italic'), url('/fonts/Open_Sans/OpenSans-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: "Open Sans Italic", sans-serif;
  font-style: normal;
  src: local('Open Sans Italic'), url('/fonts/Open_Sans/OpenSans-Italic.ttf') format('truetype');
}

h1 {
  font-family: "Ubuntu Condensed", sans-serif;
  font-size: 250% !important;
}

p {
  font-family: "Open Condensed", sans-serif;
  font-size: 1em;
}