MediaWiki:Vector.css: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
(Replaced content with "→‎CSS placed here will affect users of the Vector skin: →‎DO NOT add CSS for DarkVector here.: @font-face { font-family: "Rubik"; src: url("/resources/assets/Rubik.woff2") format("woff2"), url("/resources/assets/Rubik-Bold.woff2") format("woff2"), url("/resources/assets/Rubik-Italic.woff2") format("woff2"); font-weight: normal; font-style: normal; } in @font-face {bl font-family: "Rubik"; src: url("/resources/assets/Rubik-Bold.woff2"...")
Tag: Replaced
 
(99 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
/* CSS placed here will affect users of the Vector skin */


.portable-infobox {
/* DO NOT add CSS for DarkVector here. */
   background-color: #FFF5EE;
@font-face {
   border: 1px solid #F98686;
   font-family: "Rubik";
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
   src: url("/resources/assets/Rubik.woff2") format("woff2"),
   margin: 10px;
      url("/resources/assets/Rubik-Bold.woff2") format("woff2"),
   padding: 10px;
      url("/resources/assets/Rubik-Italic.woff2") format("woff2");
   width: 280px;
   font-weight: normal;
   font-style: normal;
} in
 
@font-face {bl
  font-family: "Rubik";
  src: url("/resources/assets/Rubik-Bold.woff2") format("woff2");
  font-weight: bold;
   font-style: normal;
}
}


.portable-infobox .pi-title {
@font-face {#
  color: #000000;
   font-family: "Rubik";
   background-color: #FAAAAA;
   src: url("/resources/assets/Rubik-Italic.woff2") format("woff2");
   font-size: 16px;
   font-weight: normal;
   font-weight: bold;
  margin-bottom: 10px;
  padding: 0px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
   font-style: italic;
   font-style: italic;
  height: 25px;
  line-height: 25px;
}
}


.portable-infobox .pi-header {
@font-face {
   color: #B71C1C;
   font-family: "Rubik";
   background-color: #FAAAAA;
   src: url("/resources/assets/Rubik-Italic.woff2") format("woff2");
  font-size: 14px;
   font-weight: bold;
   font-weight: bold;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
   font-style: italic;
   font-style: italic;
  height: 25px;
  line-height: 25px;
}
.portable-infobox .pi-data {
  margin-bottom: 10px;
}
.portable-infobox .pi-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
}
 
body, .mw-headline {
.portable-infobox .pi-data-value a {
font-family: "Rubik", "Arial", "Helvetica Neue", "Segoe UI", Rubix, sans-serif !important;
  color: #0645ad;
  text-decoration: none;
}
 
.portable-infobox .pi-data-value a:hover {
  text-decoration: underline;
}
}

Latest revision as of 02:37, 17 December 2023

/* CSS placed here will affect users of the Vector skin */

/* DO NOT add CSS for DarkVector here. */
@font-face {
  font-family: "Rubik";
  src: url("/resources/assets/Rubik.woff2") format("woff2"),
       url("/resources/assets/Rubik-Bold.woff2") format("woff2"),
       url("/resources/assets/Rubik-Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
} in

@font-face {bl
  font-family: "Rubik";
  src: url("/resources/assets/Rubik-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {#
  font-family: "Rubik";
  src: url("/resources/assets/Rubik-Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Rubik";
  src: url("/resources/assets/Rubik-Italic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
}
body, .mw-headline {
font-family: "Rubik", "Arial", "Helvetica Neue", "Segoe UI", Rubix, sans-serif !important;
}