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 4: Line 4:
     font-family: "myfont";
     font-family: "myfont";
     src: url("fonts/Lato-Regular.woff") format('woff');
     src: url("fonts/Lato-Regular.woff") format('woff');
    src: url("fonts/Lato-Regular.woff2") format('woff2');
}
}


Line 9: Line 10:
     font-family: "myfont";
     font-family: "myfont";
     src: url("fonts/Lato-Bold.woff") format('woff');
     src: url("fonts/Lato-Bold.woff") format('woff');
    src: url("fonts/Lato-Bold.woff2") format('woff2');
     font-weight: bold;
     font-weight: bold;
}
}
Line 15: Line 17:
     font-family: "myfont";
     font-family: "myfont";
     src: url("fonts/Lato-BoldItalic.woff") format('woff');
     src: url("fonts/Lato-BoldItalic.woff") format('woff');
    src: url("fonts/Lato-BoldItalic.woff2") format('woff2');
     font-weight: bold;
     font-weight: bold;
     font-style: italic;
     font-style: italic;
Line 22: Line 25:
     font-family: "myfont";
     font-family: "myfont";
     src: url("fonts/Lato-Italic.woff") format('woff');
     src: url("fonts/Lato-Italic.woff") format('woff');
    src: url("fonts/Lato-Italic.woff2") format('woff2');
     font-style: italic;
     font-style: italic;
}
}

Revision as of 18:14, 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');
    src: url("fonts/Lato-Regular.woff2") format('woff2');
}

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

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

@font-face {
    font-family: "myfont";
    src: url("fonts/Lato-Italic.woff") format('woff');
    src: url("fonts/Lato-Italic.woff2") format('woff2');
    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;
}