MediaWiki:Common.css

From Barion Documentation
Revision as of 10:53, 3 February 2017 by Vinczei (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.
/* Hide "Main Page" header */

body.page-Main_Page h1#firstHeading { display: none !important; }

/* API endpoints (method and URI) */

table.wikitable.api-url,
table.wikitable.api-url > tbody th,
table.wikitable.api-url > tbody td  {
border: 1px solid #1993c7;
}

table.wikitable.api-url > tbody > tr > th {
background: #f2f2f2;
font-size: 15px;
font-weight: 400;
min-width: 400px;
text-align: left;
font-family: monospace;
}

table.wikitable.api-url > tbody > tr > th:first-child {
background: #1993c7;
font-size: 15px;
font-weight: 700;
color: #ffffff;
text-align: left;
min-width: auto;
font-family: sans-serif;
}

/* API input and output property list */ 

table.wikitable.api-table {
border: 1px solid #1993c7;
}

table.wikitable.api-table > tbody th,
table.wikitable.api-table > tbody td {
border: 1px solid #d4d4d4;
}

table.wikitable.api-table > tbody > tr th {
background: #1993c7;
color: #ffffff;
font-weight: 700;
font-size: 15px;
}

table.wikitable.api-table tbody > tr > td {
vertical-align: top;
min-width: 150px;
color: #121212;
font-weight: 400;
font-size: 13px;
}

table.wikitable.api-table tbody > tr:nth-child(even) > td {
background: #ffffff;
}

table.wikitable.api-table tbody > tr:nth-child(odd) > td {
background: #f2f2f2;
}

table.wikitable.api-table tbody > tr > td:first-child {
color: #000000;
font-weight: 700;
font-size: 13px;
}

span.api-ver {
font-size: 11px;
color: #ffffff;
background: #1993c7;
padding: 2px 4px;
vertical-align: 1px;
}

/* General content, links and lists */ 

a,
a.visited,
a.hover,
div#mw-content-text ul li a,
div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:hover,
div#mw-panel div.portal div.body ul li a:visited {
color: #1993c7;
}

div#mw-content-text p a,
div#mw-content-text table a {
color: #1993c7;
font-weight: 700;
border-bottom: 1px dotted #1993c7;
}

div#mw-content-text p a:hover,
div#mw-content-text table a:hover {
color: #1993c7;
font-weight: 700;
border-bottom: 1px solid #1993c7;
text-decoration: none;
}

div#mw-content-text a.new {
color: #ba0000 !important;
font-weight: 400 !important;
border: none !important;
}

div#mw-content-text a.new:hover {
text-decoration: underline;
}

div#mw-content-text a.external {
font-weight: 400 !important;
border: none !important;
}

div#mw-content-text a.external:hover {
text-decoration: underline;
}