MediaWiki:Common.css

From DFI Library
Revision as of 16:49, 5 October 2023 by Jzellat (talk | contribs)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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');
}


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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
}

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