MediaWiki:Common.css: Difference between revisions

From DFI Library
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
   font-weight: normal;
   font-weight: normal;
   src: local ("Roboto")
   src: local ("Roboto")
   src: url('public_html/skins/Vector/resources/fonts/Roboto-Regular.ttf');
   src: url('https://public_html/skins/Vector/resources/fonts/Roboto-Regular.ttf');
}
}



Revision as of 16:25, 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://public_html/skins/Vector/resources/fonts/Roboto-Regular.ttf');
}


body {
  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; 
}