MediaWiki

Common.css: Difference between revisions

From HLT@INESC-ID

No edit summary
No edit summary
Line 35: Line 35:
body {
body {
   font-family: 'Lato', Helvetica, sans-serif;
   font-family: 'Lato', Helvetica, sans-serif;
   font-size: 16px;
   font-size: 14px;
   line-height: 1.25;
   line-height: 1.25;
   color: #697060;
   color: #697060;

Revision as of 16:55, 27 February 2015

/* CSS placed here will be applied to all skins */
/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
   background: #282727;
   color: #dddddd;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #282727;
}

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a{
    background: #282727;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #282727;
}
.top-bar .button {
    background: #414141;
    border-top-color: #555555;
    border-right-color: #414141;
    border-bottom-color: #555555;
    border-left-color: #414141;
}

body {
  font-family: 'Lato', Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.25;
  color: #697060;
  /*background-color: #f7f7f7;*/
  background-color: #ffffff;
  margin: 0px;
}

body span.mw-headline {
    font-weight: normal;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: "Candara", "Lato", sans-serif;
    font-weight: normal;
    color: #697060;
    margin-top: 0.8em;
}
body .title {
    font-family: "Candara", "Lato", sans-serif;
    font-weight: normal;
    color: #697060;
    margin-top: 0em;
}

body #toctitle h2 {
  font-size: initial;
  margin-top: 0.8em;
  display: inline;
}

body pre {
  font-family: "Droid Sans Mono", monospace;
  font-size: 0.85em;
  line-height: 1.25em;
  background-color: #fcfcfc;
  padding: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: #dddddd;
}

@media all {
body h3#tagline {
    display: none;
    font-weight: normal;
  }

body h5#subtitle {
    display: none;
    font-weight: normal;
  }
}
@media print {
body h3#tagline {
    display: block;
    font-weight: normal;
  }
}