|
|
| (17 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* Wikipedia-style biography infobox */
| | a:link { |
| .infobox {
| | color: #6495ED; |
| 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,
| | a:visited { |
| .infobox-above {
| | color: #A9A9A9; |
| font-size: 125%; | |
| font-weight: bold;
| |
| text-align: center;
| |
| } | | } |
|
| |
|
| .infobox th {
| | #ca-talk { |
| text-align: left; | | display: none; |
| vertical-align: top;
| |
| white-space: normal;
| |
| } | | } |
|
| |
|
| .infobox td {
| | #ca-watch, |
| vertical-align: top; | | #ca-unwatch { |
| | display: none; |
| } | | } |
|
| |
|
| .infobox-above,
| | #ca-nstab-main { |
| .infobox-header {
| | display: none; |
| text-align: center; | |
| font-weight: bold;
| |
| } | | } |
|
| |
|
| .infobox-above { | | @import url('https://cdn.jsdelivr.net/npm/typeface-tex-gyre-pagella@1.1.13/index.css'); |
| background-color: #b0c4de;
| |
| padding: 0.25em;
| |
| }
| |
|
| |
|
| .infobox-native_name { | | .mw-parser-output { |
| text-align: center;
| | font-family: 'TeX Gyre Pagella', 'Palatino Linotype', Palatino, serif; |
| font-size: 105%; | |
| }
| |
| | |
| .infobox-image {
| |
| text-align: center;
| |
| }
| |
| | |
| .infobox-image img {
| |
| max-width: 100%;
| |
| height: auto;
| |
| } | | } |
|
| |
|
| .infobox-caption { | | .mw-parser-output p { |
| text-align: center; | | text-align: justify; |
| font-size: 90%;
| | hyphens: auto; |
| line-height: 1.25em;
| |
| padding: 0.2em 0.3em; | |
| } | | } |
|
| |
|
| .infobox-header { | | .banner { |
| background-color: #b0c4de;
| | position: relative; |
| padding: 0.2em;
| |
| } | | } |
|
| |
|
| .infobox th[scope="row"] { | | .banner h1 { |
| background-color: transparent;
| | position: absolute; |
| font-weight: bold;
| | left: 1.5rem; |
| }
| | bottom: 1.5rem; |
| | | margin: 0; |
| .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;
| |
| }
| |
| } | | } |
|
| |
|
| | /* Slightly tighter article text */ |
| .mw-body-content { | | .mw-body-content { |
| max-width: 100%; | | line-height: 1.45; |
| } | | } |
|
| |
|
| .mw-parser-output {
| | #catlinks, .catlinks, .category-links { |
| line-height: 1.6;
| | display: none !important; |
| }
| |
| | |
| .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: #4A4C64;
| |
| }
| |
| | |
| a:visited {
| |
| color: #898B8E;
| |
| } | | } |