MediaWiki:Common.css: Difference between revisions

From DFI Library
Jump to navigation Jump to search
(Added Roboto Condensed to callout fonts)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 24: Line 24:
}
}


h1, h2, h3, h4, h5, h6 {
.mw-body-content h1, .mw-body h1, .mw-body-content h2, .mw-body h2, .mw-body-content h3, .mw-body h3, .mw-body-content h4, .mw-body h4, .mw-body-content h5, .mw-body h5, .mw-body-content h6, .mw-body h6 {
   font-family: 'Roboto', sans-serif;
   font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 600;
}
}


/* Disables Text Select */
/* Disables Text Select */

Latest revision as of 17:41, 5 October 2023

/* CSS placed here will be applied to all skins */

/* Roboto Font */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: normal;
  src: local ("Roboto")
  src: url('https://dfi-library.org/images/7/77/Roboto-Regular-webfont.woff');
}

/* Roboto Condensed */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: normal;
  src: local ("Roboto Condensed")
  src: url('https://dfi-library.org/images/f/f2/Roboto-Condensed-webfont.woff');
}


body {
  font-family: 'Roboto', sans-serif;
}

.mw-body-content h1, .mw-body h1, .mw-body-content h2, .mw-body h2, .mw-body-content h3, .mw-body h3, .mw-body-content h4, .mw-body h4, .mw-body-content h5, .mw-body h5, .mw-body-content h6, .mw-body h6 {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 600;
}


/* Disables Text Select */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* CSS for Infobox */

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 375px;
}
.infobox-title {
    font-size: 1.5em;
    text-align: center;
    font-weight: 700;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
    font-size: .80em;
}
.infobox td {
    vertical-align: top;
    font-size: .80em;
}

/* Remove tabs */

#ca-talk, #ca-history, #ca-viewsource, #t-print { 
     display: none !important; 
}