MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
Kylmä Moth (talk | contribs) Removed random "th"; Added curly braces where they were needed; Text-color is not an element, changed it to color |
||
Line 10:
@font-face {
font-family: 'Aldrich';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/aldrich/v21/MCoTzAn-1s3IGyJMVacY3w.woff2) format('woff2');
Line 16:
/* bg-color */
.vector-feature-zebra-design-disabled #vector-main-menu-pinned-container .vector-main-menu,
}
/* menu left margin */
.vector-feature-zebra-design-disabled.vector-feature-limited-width-clientpref-1 .mw-page-container,
.vector-feature-zebra-design-disabled .vector-header-container {
max-width: none;
}
/* content width */
.vector-feature-zebra-design-disabled.vector-feature-limited-width-clientpref-1 .mw-body {
}
/* Thermerite testing here: By removing the bgcolor proprety from this class, the wiki will read the other mw-page-container class FROM the CSS instead of the skin */
@media screen {
.mw-body-content h1,
.mw-body-content h2 {
font-family: 'Aldrich';
}
/*Namespace Font in Sticky Header*/
.vector-feature-zebra-design-disabled .vector-sticky-header-context-bar-primary {
font-family: 'Aldrich';
}
/*Namespace Font Color in Sticky Header*/
.vector-feature-zebra-design-disabled body {
color: white;
}
/* Image Caption Background */
figure[typeof~="mw:File/Thumb"]>figcaption,
figure[typeof~="mw:File/Frame"]>figcaption {
border: 0px solid #c8ccd1;
background-color: #061016;
}
}
/* Visual Editor */
.ve-ui-mwSaveDialog-options {
background-color: var(--bg-color);
}
.oo-ui-fieldsetLayout {
background-color: var(--bg-color);
}
.oo-ui-indexLayout-stackLayout>.oo-ui-panelLayout {
background-color: var(--bg-color);
}
.oo-ui-window-head,
.oo-ui-window-foot {
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
background-color: var(--bg-color);
}
.oo-ui-tabSelectWidget-framed {
background-color: var(--bg-color);
}
.oo-ui-popupWidget-popup {
}
Line 137 ⟶ 142:
}
.oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-before
}
.oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-before
}
.ve-ui-mwTransclusionDialog-single-transclusion .ve-ui-mwTransclusionOutlineWidget .ve-ui-mwTransclusionOutlinePartWidget .ve-ui-mwTransclusionOutlineTemplateWidget-sticky {
}
.ve-ui-mwSaveDialog-license {
}
.oo-ui-panelLayout-padded {
}
/* File things */
#filetoc {
background-color: var(--bg-color);
}
.mw_metadata td {
background-color: var(--bg-color);
}
.mw_metadata th {
background-color: var(--bg-color);
}
table.commons-file-information-table,
.fileinfotpl-type-information,
.fileinfotpl-type-artwork {
background-color: var(--bg-color);
}
.mw-content-ltr.mw-highlight-lines pre,
.mw-content-ltr.content .mw-highlight-lines pre {
box-shadow: inset 2.75em 0 0 #061016;
.mw-datatable tr:hover td {
background-color: var(--bg-color);
}
.vector-feature-zebra-design-disabled .vector-dropdown .vector-dropdown-content {
position: absolute;
visibility: hidden;
overflow: hidden;
margin: 0;
padding: 4px 0;
z-index: 50;
background-color: #211e1e;
border: 1px solid #ffffff;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
transition-property: opacity;
transition-duration: 100ms;
width: max-content;
max-width: 200px;
}
/* Overrides default mediawiki colors and applies the dark bg and white text */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.vector-pinnable-header-label,
.vector-feature-page-tools-enabled .vector-pinnable-element .vector-menu-heading,
Line 232 ⟶ 247:
/*Bullet list coloring*/
ul li::marker {
}
/*Infobox collapsable stylying*/
pre,
.mw-code {
padding: 0;
word-wrap: break-word;
}
mw-collapsible-content,
pre,
code,
.mw-code {
background-color: #212b2a00;
color: #c9c9c9;
border: 1px solid #4DB6B0;
}
Line 263 ⟶ 282:
background-color: #061016;
}
/* Sticky Header */
.vector-sticky-header {
}
/* Wikitables or Tables */
.wikitable {
}
.wikitable
.wikitable>*>tr>th {
background-color: #161616;
}
Line 290 ⟶ 311:
color: var(--link-new-color) !important;
text-shadow: 0 0 3px rgba(224, 130, 130, 0.8);
}
indo
/* */
.mw-normal-catlinks
.mw-normal-catlinks
color: var(--link-color) !important;
}
Line 305 ⟶ 327:
/* Slideshows or Slide Show buttons Stylying */
.oo-ui-buttonElement-frameless.oo-ui-iconElement
}
Line 344 ⟶ 366:
.mw-ui-button {
}
.oo-ui-popup {
}
/*****Custom cursor *****/
/*Global cursor */
body {
}
/*Link cursor */
a:hover {
}
/* Infobox template style */
.infobox {
}
.infobox caption {
}
.infobox td,
.infobox th {
}
.infobox.bordered {
}
.infobox.bordered td,
.infobox.bordered th {
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
}
.infobox.sisterproject {
}
.infobox.standard-talk {
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
}
Line 418 ⟶ 447:
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
}
Line 434 ⟶ 463:
country subdivisions, cities, etc. */
.infobox.geography {
}
.infobox.geography
.infobox.geography
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
}
Line 475 ⟶ 505:
/* Default style for navigation boxes */
.navbox {
/* Navbox container style */
box-sizing: border-box;
border: 1px solid #4DB6B0;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0;
/* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
/* No top margin for nested navboxes */
}
.navbox+.navbox {
margin-top: -1px;
/* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
/* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group {
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
/* Background color */
}
.navbox-list {
/* Must match background color */
}
/* cell spacing for navbox cells */
tr
tr
tr
tr
/* Borders above 2nd, 3rd, etc. rows */
border-top: 2px solid #151D23;
/* Must match background color */
}
.navbox th,
.navbox-title {
/* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
/* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
/* Level 3 color */
}
.navbox-even {
/* Even row striping */
}
.navbox-odd {
/* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
Line 547 ⟶ 606:
.navbox td.hlist ol,
.navbox td.hlist ul {
/* Adjust hlist padding in navboxes */
}
/* Import Aldrich Cyrillic font */
@font-face {
}
/*Scrollbar*/
::-webkit-scrollbar {
}
::-webkit-scrollbar-thumb {
}
::-webkit-scrollbar-thumb:hover {
}
::-webkit-scrollbar-thumb:active {
}
/* Image frame fix */
figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:File/Frame"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"],
[typeof~="mw:Image/Frame"],
[typeof~="mw:Video/Frame"],
[typeof~="mw:Audio/Frame"]),
figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:File/Frame"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"],
[typeof~="mw:Image/Frame"],
[typeof~="mw:Video/Frame"],
[typeof~="mw:Audio/Frame"])
div.thumbinner,
.gallerytext {
Line 601 ⟶ 664:
figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:File/Frame"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"],
[typeof~="mw:Image/Frame"],
[typeof~="mw:Video/Frame"],
[typeof~="mw:Audio/Frame"])
.thumbcaption
height: unset !important;
min-width: 16ch;
Line 614 ⟶ 677:
width: -moz-fit-content !important;
width: fit-content !important;
}
.gallerytext {
background-color: #171D22;
border: #4DB6B0;
font: 400 .75rem/1.25rem var(--font-body-sans-serif);
letter-spacing: .0333333333em;
Line 623 ⟶ 688:
figure:is([typeof~="mw:File/Thumb"],
[typeof~="mw:Image/Thumb"],
[typeof~="mw:Video/Thumb"],
[typeof~="mw:Audio/Thumb"]):not([typeof~="mw:Error"])
content: unset;
}
Line 632 ⟶ 697:
text-align: center;
}
.mw-parser-output .gallery .gallerybox {
margin: 0 !important;
Line 639 ⟶ 705:
width: min-content !important;
}
.mw-parser-output .gallery .thumb {
height: unset !important;
|