MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset=latin-ext'); | @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset=latin-ext'); | ||
body, html { font-family: 'Open Sans', Arial, Helvetica, sans-serif !important; } | body, html { font-family: 'Open Sans', Arial, Helvetica, sans-serif !important; } | ||
h1,h2,h3,h4,h5,h6 { font-family: 'Open Sans', Arial, Helvetica, sans-serif !important; } | h1,h2,h3,h4,h5,h6 { font-family: 'Open Sans', Arial, Helvetica, sans-serif !important; font-weight: 700 !important; } | ||
/* Hide "Main Page" header */ | /* Hide "Main Page" header */ |
Revision as of 11:19, 3 February 2017
/* Open Sans font on site */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset=latin-ext');
body, html { font-family: 'Open Sans', Arial, Helvetica, sans-serif !important; }
h1,h2,h3,h4,h5,h6 { font-family: 'Open Sans', Arial, Helvetica, sans-serif !important; font-weight: 700 !important; }
/* Hide "Main Page" header */
body.page-Main_Page h1#firstHeading,
body.page-Main_Page #contentSub {
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;
}