MediaWiki:Common.css: Difference between revisions
From Protochroma Wiki
m (more main page fix) |
No edit summary |
||
Line 18: | Line 18: | ||
.mw-body:not(.toc) a:not(.new):not(.mw-collapsible-text) { | .mw-body:not(.toc) a:not(.new):not(.mw-collapsible-text) { | ||
color: #042229; | / *color: #042229; */ | ||
text-decoration: underline; | text-decoration: underline; | ||
font-weight: bold; | font-weight: bold; | ||
Line 30: | Line 30: | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-weight: bold; | font-weight: bold; | ||
color: #042229; | /* color: #042229; */ | ||
} | } | ||
Line 38: | Line 38: | ||
a, a:visited { | a, a:visited { | ||
color: #000080; | /* color: #000080; */ | ||
} | } | ||
a:hover:not(.new) { | a:hover:not(.new) { | ||
color: #0000CD; | /* color: #0000CD; */ | ||
} | } | ||
hr { | hr { | ||
color: #99815f; | /* color: #99815f; */ | ||
background-color: #99815f; | /* background-color: #99815f; */ | ||
} | } | ||
Line 55: | Line 55: | ||
background-color: #a9a9a9; | background-color: #a9a9a9; | ||
font-size: 13px; | font-size: 13px; | ||
} | } | ||
Line 129: | Line 120: | ||
} | } | ||
/* | |||
#p-cactions li { | #p-cactions li { | ||
border: 1px solid #00FFFF; | border: 1px solid #00FFFF; | ||
Line 141: | Line 133: | ||
background-color: #585858; | background-color: #585858; | ||
} | } | ||
*/ | |||
Line 214: | Line 207: | ||
} | } | ||
.maincontainer, .textcontainer, .toplinkcontainer, .linkcontainer, .toplinkcontainer2, .linkcontainer2 { | .maincontainer, .textcontainer, .toplinkcontainer, .linkcontainer, .toplinkcontainer2, .linkcontainer2 { | ||
Line 225: | Line 214: | ||
} | } | ||
/* -- Mobile -- */ | |||
@media (max-width: 1278px){ | |||
.infobox { | .infobox { |
Revision as of 07:23, 29 January 2023
/* -- Font imports -- */ @import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap'); @import url('https://fonts.googleapis.com/css?family=PT+Serif:400,700&display=swap'); /* -- Wiki fundamentals -- */ body { background-image: url(https://protochroma.wiki/w/images/2/26/Background.png); background-repeat: repeat; font-family: 'Open Sans', sans-serif; } .mw-body { background-color: #D0D0D0; } .mw-body:not(.toc) a:not(.new):not(.mw-collapsible-text) { / *color: #042229; */ text-decoration: underline; font-weight: bold; } .mw-body a.new { text-decoration: underline; font-weight: bold; } h1, h2, h3, h4, h5, h6 { font-weight: bold; /* color: #042229; */ } h1, h2 { border-bottom: 1px solid #000000; } a, a:visited { /* color: #000080; */ } a:hover:not(.new) { /* color: #0000CD; */ } hr { /* color: #99815f; */ /* background-color: #99815f; */ } #footer, .mw-footer { border-top: 1px dotted white; border-bottom: 1px dotted white; background-color: #a9a9a9; font-size: 13px; } /* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */ @media screen { /* The backgrounds for galleries. */ #content .gallerybox div.thumb { /* Light gray padding */ background-color: #f8f9fa; } /* Put a chequered background behind images, only visible if they have transparency. '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */ .gallerybox .thumb img { background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; } /* But not on articles, user pages, portals or with opt-out. */ .ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img, .nochecker .gallerybox .thumb img { background-image: none; } } /* -- PC-style wiki sidebar -- */ #sidebar div.pBody { background-image: linear-gradient(to right, #181a1b, #42484b); border-left: 5px solid #1e90ff; border-right: transparent; border-top: transparent; border-bottom: transparent; } #sidebar h3 { color: #ffffff; } #sidebar a { color: #1affff; font-size: 13px; } #sidebar a:hover { color: white; } /* -- Miraheze nav styling -- */ .oo-ui-icon-bell, .mw-ui-icon-bell:before { background-image: url(https://static.miraheze.org/protochromawiki/6/6e/Bell.png); } .oo-ui-icon-tray, .mw-ui-icon-tray:before { background-image: url(https://static.miraheze.org/protochromawiki/8/8f/Tray.png); } #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { opacity: 1; } #pt-notifications-notice .mw-echo-notifications-badge, #pt-notifications-alert .mw-echo-notifications-badge { top: 2px; } /* #p-cactions li { border: 1px solid #00FFFF; } #p-cactions li a { background-color: #585858; color: #00FFFF; } #p-cactions li a:hover { background-color: #585858; } */ #p-personal li a { color: #ffffff; } #p-personal li a:hover { background-color: #003c40; } .mw-echo-notifications-badge:before { background-color: #ffffff; box-shadow: 0px 0px 5px #ffffff; } #p-cactions li.selected { border: 2px solid #00FFFF; } #p-cactions li.selected a { background-color: #585858; } #p-cactions .new a { color: #ffc0b3; } /* -- Front page containers -- */ .maincontainer { width: 100%; display: flex; margin: auto; } .textcontainer { width: 70%; padding-right: 10px; text-align:justify; } .rsscontainer { border: 2px solid; border-color: #1e90ff; background-color: #a9a9a9; text-align:justify; padding-right: 8px; width: 30%; } .toplinkcontainer, .toplinkcontainer2 { border: 2px solid; border-color: #1e90ff; background-color: #000000; color:#ffffff; font-size:3em; width: 50%; font-family: 'Open Sans', sans-serif; padding-top: 12px; padding-left: 5px; } .linkcontainer, .linkcontainer2 { background-color: #a9a9a9; width: 50%; } .maincontainer, .textcontainer, .toplinkcontainer, .linkcontainer, .toplinkcontainer2, .linkcontainer2 { flex-direction: column; width: 100% !important; } /* -- Mobile -- */ @media (max-width: 1278px){ .infobox { float: none !important; width: 100% !important; } .scrollbox { width: 100%; overflow-x: auto; overflow-y: hidden; white-space: nowrap; } .rsscontainer { visibility: hidden; display: none; } } @media screen and (max-width: 550px){ table.border { width: 100%; } } /* -- Wiki table -- */ /* header */ .wikitable > tr > th, .wikitable > * > tr > th { background-color: black; color: white; } /* sortable table header */ .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort { background-image: url(https://protochroma.wiki/w/images/a/a6/Sort_both.png); background-color: black; color: white; } .wikitable { color: #000000; margin: 1em 0; border: 1px dotted #ffffff; border-collapse: collapse; font-size: 12px; } .wikitable > tr > td, .wikitable > * > tr > td { background-color: #c1c1c1; } a.mw-collapsible-text { color: #46eded; }