MediaWiki: Common.css: Difference between revisions

From Laboratory of Modeling in Biology and Medicine
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 8: Line 8:
@font-face {
@font-face {
     font-family: "myfont";
     font-family: "myfont";
     src: url("fonts/Lato-Regular.woff") format('woff');
     src: url("fonts/Lato-Bold.woff") format('woff');
     font-weight: bold;
     font-weight: bold;
}
}
Line 14: Line 14:
@font-face {
@font-face {
     font-family: "myfont";
     font-family: "myfont";
     src: url("fonts/Lato-Regular.woff") format('woff');
     src: url("fonts/Lato-BoldItalic.woff") format('woff');
     font-weight: bold;
     font-weight: bold;
     font-style: italic;
     font-style: italic;
Line 21: Line 21:
@font-face {
@font-face {
     font-family: "myfont";
     font-family: "myfont";
     src: url("fonts/Lato-Regular.woff") format('woff');
     src: url("fonts/Lato-Italic.woff") format('woff');
     font-style: italic;
     font-style: italic;
}
}

Revision as of 17:38, 14 February 2018

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

@font-face {
    font-family: "myfont";
    src: url("fonts/Lato-Regular.woff") format('woff');
}

@font-face {
    font-family: "myfont";
    src: url("fonts/Lato-Bold.woff") format('woff');
    font-weight: bold;
}

@font-face {
    font-family: "myfont";
    src: url("fonts/Lato-BoldItalic.woff") format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "myfont";
    src: url("fonts/Lato-Italic.woff") format('woff');
    font-style: italic;
}

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

html, body {
 font-family: myfont, Arial, Helvetica;
}

span.pmbm {
  font-variant:small-caps;
}
span.nopmbm {
  color:#999;
  font-variant:small-caps;
}

.navbar-brand img {
  height: 54px;
  margin-left: 0px;
  margin-right: -1.48em;
  transform: translate(39%, 4%);
}

.navbar-default .navbar-nav > li > a {
  color: rgb(35, 82, 124)
}

#footer {
  background-color: #f8f8f8;
}

img.thumbinner {
  padding: 3px;
}

#toc ul > li a {
    color: #999;
    margin-bottom: 0.55ex;
}