MediaWiki: Common.css: Difference between revisions

From Laboratory of Modeling in Biology and Medicine
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 50: Line 50:
}
}


.navbar {
  padding-top: 0;
  padding-right: 1rem;
  padding-bottom: 0;
  padding-left: 1rem;
}
.navbar-brand img {
.navbar-brand img {
   height: 52px;
   height: 64px;
   margin-left: 0px;
   margin-left: 1.25em;
   margin-right: 3em;
   margin-right: 0.05em;
   transform: translate(0%, 39%);
  margin-top: 0px;
   transform: translate(-8%, 24%);
}
}


Line 64: Line 71:
.mw-content-ltr .mw-parser-output > ul, .mw-content-rtl .mw-parser-output > ul {
.mw-content-ltr .mw-parser-output > ul, .mw-content-rtl .mw-parser-output > ul {
   margin: 0 0 0 0;
   margin: 0 0 0 0;
   padding: 0.25em 0 0.25em 1em;
   padding: 0.25em 0 0.25em 1.125em;
}
}


Line 88: Line 95:
   padding: 3px;
   padding: 3px;
}
}
div.floatright { float: right; margin: 0em 0.5em 0em 0.5em; }
div.floatleft { float: left; margin: 0em 0.5em 0em 0.5em; }


div#content a.external {
div#content a.external {
Line 96: Line 106:
#footer ul {
#footer ul {
   text-align: center;
   text-align: center;
}
.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
padding-left:5px;
padding-right:5px;
}
}

Latest revision as of 09:06, 15 February 2023

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

a {
  color: rgb(51, 122, 183);
}

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

.navbar {
  padding-top: 0;
  padding-right: 1rem;
  padding-bottom: 0;
  padding-left: 1rem;
}
.navbar-brand img {
  height: 64px;
  margin-left: 1.25em;
  margin-right: 0.05em;
  margin-top: 0px;
  transform: translate(-8%, 24%);
}

.navbar-light .navbar-nav .nav-link {
  font-size: large;
  color: rgb(35, 82, 124);
}

.mw-content-ltr .mw-parser-output > ul, .mw-content-rtl .mw-parser-output > ul {
  margin: 0 0 0 0;
  padding: 0.25em 0 0.25em 1.125em;
}

ul#nav {
  padding-left: 0;
}

div.mw-collapsible-content {
  color: rgb(84, 84, 84);
}

.btn-secondary {
  background-color: inherit;
  border: none;
  color: rgb(51, 122, 183);
}

#footer {
  background-color: #f8f8f8;
}

img.thumbinner {
  padding: 3px;
}

div.floatright { float: right; margin: 0em 0.5em 0em 0.5em; }
div.floatleft { float: left; margin: 0em 0.5em 0em 0.5em; }

div#content a.external {
  background:none !important;
  padding: 0px !important;
}

#footer ul {
  text-align: center;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
 padding-left:5px;
 padding-right:5px;
}