MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
#firstHeading { | #firstHeading { | ||
font-size: 1.8em; | font-size: 1.8em; | ||
} | } | ||
.mw-headline { | .mw-headline { | ||
Revision as of 14:28, 6 April 2025
/**************************************
Global & Body
***************************************/
html, body {
margin: 0;
padding: 0;
background-color: #f9f9f9;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #202122;
line-height: 1.6;
}
/* Override default link style */
a {
color: #0645AD;
text-decoration: none;
}
a:hover,
a:focus {
text-decoration: underline;
}
/**************************************
Headings
***************************************/
#firstHeading, /* The main page title */
.mw-headline { /* Section headings within content */
font-weight: normal;
margin: 1.3em 0 0.6em 0;
line-height: 1.2;
}
#firstHeading {
font-size: 1.8em;
}
.mw-headline {
font-size: 1.5em;
margin-top: 1.5em;
}
/**************************************
Site Notice (if used)
***************************************/
#siteNotice {
margin: 0;
padding: 0.5em 1em;
background-color: #fff8c4;
border-bottom: 1px solid #ddd;
font-size: 0.95em;
}
/**************************************
Navigation (Vector/MonoBook panels)
***************************************/
#mw-head, /* top part of Vector skin with logo and tabs */
#mw-head-base {
background-color: #ffffff;
border-bottom: 1px solid #ddd;
}
#mw-panel {
background-color: #fff;
padding: 0.5em 1em;
border-right: 1px solid #ddd;
}
#mw-panel .portal {
margin-bottom: 1em;
}
#mw-panel .portal h3 {
margin-top: 0.5em;
font-size: 1.1em;
border-bottom: 1px solid #ccc;
padding-bottom: 0.2em;
}
#mw-panel .portal ul {
list-style: none;
margin: 0;
padding: 0;
}
#mw-panel .portal ul li {
margin: 0.4em 0;
}
#mw-panel .portal ul li a {
text-decoration: none;
font-size: 0.95em;
}
/**************************************
Content Area
***************************************/
#content, /* Vector container for content */
.mw-body {
padding: 1em 1.5em;
margin-left: 13em !important;
}
#bodyContent, /* Inside #content */
.mw-body-content,
.mw-parser-output {
background-color: #fff;
padding: 1em;
}
/* Subheader beneath #firstHeading */
#contentSub {
font-size: 0.95em;
color: #555;
margin-bottom: 1em;
}
/**************************************
Page Tabs, Personal Tools
***************************************/
#p-personal ul { /* personal links top-right (username, talk, preferences, etc.) */
list-style: none;
margin: 0;
padding: 0;
}
#p-personal li {
display: inline-block;
margin: 0 0.5em;
}
#p-personal li a {
text-decoration: none;
}
.vectorTabs li.selected a,
.vectorTabs li.selected a:hover {
background-color: #ececec;
color: #202122;
}
/**************************************
Footer
***************************************/
#footer, .mw-footer,
#mw-footer {
clear: both;
margin-top: 2em;
padding: 1em;
color: #777;
font-size: 0.9em;
text-align: center;
border-top: 1px solid #ddd;
background-color: #fff;
}
#footer a, .mw-footer a {
color: #0645AD;
text-decoration: none;
}
#footer a:hover {
text-decoration: underline;
}
/**************************************
Tables
***************************************/
table {
border-collapse: collapse;
margin: 1em 0;
width: 100%;
}
table thead {
background-color: #f2f2f2;
font-weight: bold;
}
table td,
table th {
border: 1px solid #ddd;
padding: 0.6em;
}
/**************************************
TOC (Table of Contents)
***************************************/
#toc, .toc {
margin: 1em 0;
border: 1px solid #ddd;
background-color: #f7f7f7;
padding: 0.6em;
font-size: 0.95em;
}
#toc h2, .toc h2 {
border-bottom: 1px solid #ccc;
margin-top: 0;
margin-bottom: 0.5em;
}
/**************************************
Blockquotes
***************************************/
blockquote {
margin: 1em 2em;
padding: 0.5em 1em;
border-left: 3px solid #ccc;
background-color: #f6f6f6;
font-style: italic;
}
/**************************************
Code
***************************************/
pre, code {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
background-color: #f3f3f3;
padding: 0.2em 0.4em;
}
/**************************************
Images
***************************************/
img {
max-width: 100%;
height: auto;
border: none;
}
/**************************************
Utility Classes
***************************************/
.clearfix::after {
content: "";
display: table;
clear: both;
}
.hidden {
display: none !important;
}