Jump to content

From Noumenapedia
Revision as of 21:21, 20 September 2026 by Deleatur yhe (talk | contribs)

MediaWiki:Common.css

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Wikipedia-style biography infobox */
.infobox {
    border: 1px solid #a2a9b1;
    border-spacing: 3px;
    background-color: #f8f9fa;
    color: #202122;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    width: 22em;
    float: right;
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
}

.infobox caption,
.infobox-above {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}

.infobox th {
    text-align: left;
    vertical-align: top;
    white-space: normal;
}

.infobox td {
    vertical-align: top;
}

.infobox-above,
.infobox-header {
    text-align: center;
    font-weight: bold;
}

.infobox-above {
    background-color: #b0c4de;
    padding: 0.25em;
}

.infobox-native_name {
    text-align: center;
    font-size: 105%;
}

.infobox-image {
    text-align: center;
}

.infobox-image img {
    max-width: 100%;
    height: auto;
}

.infobox-caption {
    text-align: center;
    font-size: 90%;
    line-height: 1.25em;
    padding: 0.2em 0.3em;
}

.infobox-header {
    background-color: #b0c4de;
    padding: 0.2em;
}

.infobox th[scope="row"] {
    background-color: transparent;
    font-weight: bold;
}

.infobox td {
    padding: 0.15em 0.3em;
}

/* Prevent long titles or links from forcing the box too wide */
.infobox a {
    overflow-wrap: anywhere;
}

/* Small screens */
@media screen and (max-width: 720px) {
    .infobox {
        width: 100%;
        max-width: 100%;
        margin: 0.5em 0;
        float: none;
        clear: both;
        box-sizing: border-box;
    }
}

.mw-body-content {
    max-width: 100%;
}

.mw-parser-output {
    line-height: 1.6;
}

.mw-parser-output h2 {
    border-bottom: 1px solid #a2a9b1;
    font-size: 1.5em;
    font-weight: normal;
    margin-top: 1em;
    padding-bottom: 0.2em;
}

.mw-parser-output h3 {
    font-size: 1.2em;
    margin-top: 0.8em;
}

.mw-parser-output table.wikitable {
    border-collapse: collapse;
    background-color: #f8f9fa;
}

.mw-parser-output table.wikitable th {
    background-color: #eaecf0;
    font-weight: bold;
}

.mw-parser-output table.wikitable th,
.mw-parser-output table.wikitable td {
    border: 1px solid #a2a9b1;
    padding: 0.3em 0.5em;
}

/* Basic Wikipedia-style infobox */
table.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: #202122;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

/* Main title */
.infobox > caption,
.infobox-title {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
	padding: 0.2em;
}

/* Text above the image */
.infobox-above,
.infobox-subheader {
	text-align: center;
}

/* Images */
.infobox-image {
	text-align: center;
}

.infobox-caption {
	text-align: center;
	font-size: 90%;
	padding: 0.2em;
}

/* Field labels and values */
.infobox th {
	vertical-align: top;
	text-align: left;
}

.infobox td {
	vertical-align: top;
}

.infobox-label {
	text-align: left;
	font-weight: normal;
}

.infobox-data {
	text-align: left;
}

/* Section headings inside the infobox */
.infobox-header {
	text-align: center;
	font-weight: bold;
}

/* Bottom text */
.infobox-below {
	text-align: center;
}

/* Borders for explicitly bordered infoboxes */
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}

/* Nested infoboxes */
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

a:link {
    color: #4169E1;
}

a:visited {
    color: #898B8E;
}

#ca-talk {
    display: none;
}

#ca-watch,
#ca-unwatch {
    display: none;
}

#ca-nstab-main {
    display: none;
}

@import url('https://cdn.jsdelivr.net/npm/typeface-tex-gyre-pagella@1.1.13/index.css');

body {
    font-family: 'TeX Gyre Pagella', 'Palatino Linotype', Palatino, serif;
}