MediaWiki:Common.css

From the Logical Languages Wiki
Revision as of 17:59, 16 January 2021 by Maiku (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* The following line suppresses the title on the main page (namely "Portal") */

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

/* CSS class name key 
  tb - textbox (use h1 or h2)
  ib - infobox (use h2 or h3)
  nb - navbox (use h3)  
  h1a, h2a, h3a - heading area
  h1t, h2t, h3t - heading text
*/

.llwiki-tb, .llwiki-ib, .llwiki-nb {
  border: 1px #77c1f6 solid;
}
.llwiki-tb {
  width: 100%;
  background-color: #f8f9fa;
  margin: 1.5em 0 1em;
}
.llwiki-ib {
  width: 18em;
  background-color: #f8f9fa;
  float: right;
  clear: right;
  margin: 0 0 1em 1em;
}
.llwiki-nb {
  width: 100%;
  margin: 1em 0 1em;
}

.llwiki-h1a, .llwiki-h2a, .llwiki-h3a, .llwiki-nb th {
  padding-right: 0.5em;
  padding-left: 0.5em;
  border: 1px #a2a9b1 solid;
}
.llwiki-h1a, .llwiki-h2a, .llwiki-h3a {
  margin: 2px 2px 0;
}
.llwiki-tb .llwiki-h1a, .llwiki-ib .llwiki-h2a {
  background-color: #d5fdf4;
}
.llwiki-tb .llwiki-h2a, .llwiki-ib .llwiki-h3a {
  background-color: #eaf3ff;
}
.llwiki-nb .llwiki-h3a {
  background-color: #eaecf0;
}

.llwiki-h1t {
  font-size: 150%;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.llwiki-h2t {
  font-size: 120%;
  font-weight: bold;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
.llwiki-h3t {
  font-size: 100%;
  font-weight: bold;
  text-align: center;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
.llwiki-ib .llwiki-h2t {
  font-weight: normal;
}
.llwiki-ib table, .llwiki-nb table {
  width: 100%;
}
th.llwiki-nb-h4 {
  width: 10em;
  background-color: #f8f9fa;
  font-size: 90%;
}

.llwiki-text {
  padding: 0 0.5em;
  margin: 0.75em 2px;
}

td.llwiki-nb-cell {
  border-bottom: 1px #a2a9b1 solid;
  font-size:90%;
}
td.llwiki-nb-text {
  padding-right: 0.5em;
  padding-left: 0.5em;
}

div.llwiki-vte {
  float: right;
  font-size: 70%;
  font-weight: normal;
}

/* "noinclude" is just a label here for a darkish-gray area for _in-house_ info (e.g. templates): */

.llwiki-noinclude {
  background-color: #c8ccd1;
  padding: 1em;
  border: 1px solid black;
  margin-bottom: 1em;
}

.llwiki-noinclude code {
  background-color: #c8ccd1;
}

/* Use this class in a <tr> to italicize the <td>s of a whole row: */

.llwiki-td-italic td {
  font-style: italic;
}

.llwiki-ib td {
  font-size: 90%;
  border-bottom: 1px #a2a9b1 solid;
}