MediaWiki:Gadget-Timeless.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(175 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Timeless skin on both desktop and mobile */
/* CSS placed here will affect users of the Timeless skin on both desktop and mobile */


/* Timeless theme */
/* Indicators */
#mw-content-container {
.sitenotice-shown .mw-indicators {
background: #9CC872 url(/images/timeless-bg.webp) fixed;
top: 0.1em;
}
}
#mw-header-container,
 
#mw-header-nav-hack,
/* Wordmark logo */
body {
.mw-wiki-title.wordmark img {
background: #3d7a5d;
width: 175px !important;
height: auto !important;
}
}
#mw-content h1.firstHeading,
#p-logo-text a.wordmark {
#mw-content h1, #mw-content h2,
padding-top: 1px !important;
#mw-page-header-links li.selected,
#mw-site-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3,
#personal .dropdown h3 {
border-color: #3d7a5d;
}
}
.color-left, .color-middle, .color-right,
@media screen and (max-width: 850px) {
.suggestions .suggestions-result-current {
#p-logo-text a.wordmark {
background: #26573e;
padding-top: 3px !important;
}
}
#mw-content-container {
border-color: #26573e;
}
}


/* Standard changes */
/* Site notice */
#content-bottom-stuff {
#siteNotice .pikipediaBox {
background: #f9f9f9;
text-align: center !important;
margin-bottom: 5px !important;
}
}
#mw-header-nav-hack {
#siteNotice .pikipediaBox p {
border-top: 0;
margin: 0 !important;
}
}
#catlinks {
@media all and (max-width: 850px) {
border-top: 0;
#siteNotice .pikipediaBox {
padding: 0.75em 0 0.5em;
width: 100% !important;
}
}
}
#mw-footer-container {
 
border-top: 0;
/* Infoboxes */
box-shadow: none;
.infobox {
border: 1px solid #AAA;
background-color: #F9F9F9;
}
}
#mw-content h1.firstHeading {
.infobox.bordered td,
margin-top: 0.25em;
.infobox.bordered th {
border: 1px solid #AAA;
}
}
#contentSub {
.infobox th,
margin-bottom: 10px;
.infoboxTitle {
background: #CEF2E0;
}
}
#mw-content h1, #mw-content h2,
 
#mw-content h3, #mw-content h4,
/* Site boxes */
#mw-content h5, #mw-content h6,
.pikipediaBox, .mw-message-box,
#mw-content dt {
.warningbox, body div.mw-warning-with-logexcerpt {
background: #CEF2E0;
border: 1px solid #A3BFB1;
}
 
/* Titled boxes */
.titledBox {
background: #ecf6ee url(https://pikmin.wiki.gallery/images/0/09/Vector_grass.jpg) bottom center;
border: 1px solid #66b283;
margin-top: 1em;
margin-top: 1em;
}
}
#mw-content dd {
.titledBoxTitle {
margin-bottom: 0.25em;
background: #cef2e0;
border: 1px solid #a3bfb1;
}
}
div.editOptions {
 
margin-top: 0;
/* Wiki tables */
border-bottom-width: 1px;
.mw-parser-output table.wikitable > tr > th,
.mw-parser-output table.wikitable > * > tr > th {
background-color: #d8f0db;
}
}
table {
 
border-spacing: 2px;
/* Timeless theme */
#mw-content-container {
background: #9CC872 url(https://pikmin.wiki.gallery/images/3/37/Vector_background.jpg) fixed;
}
}
table td, table th {
#mw-header-container, #mw-header-nav-hack, .mobile h2.list-header, body {
padding: 2px 4px;
background: #3d7a5d;
}
}
table.wikitable {
#personal .dropdown h3,
padding: 0;
#mw-page-header-links li.selected,
#mw-site-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3,
#mw-content h1::after, #mw-content h2::after,
#mw-content h1, #mw-content h2,
#mw-content h1.firstHeading {
border-color: #3d7a5d;
}
}
blockquote {
.color-left, .color-middle, .color-right,
margin-left: 0;
.suggestions .suggestions-result-current {
border-left: 3px solid #c8ccd1;
background: #26573e;
}
}
.thumb, .thumbcaption {
#mw-content-container {
padding-bottom: 0;
border-color: #26573e;
}
}
body.ns-14 .gallery,
 
body.ns-14 #mw-pages > .mw-content-ltr {
/* Fixes */
margin-bottom: 1em !important;
#whosonline {
margin-bottom: 2px !important;
}
}
@media all and (max-width: 850px) {
 
#bodyContent img {
/* Green links */
max-width: 100% !important;
a, .toctogglelabel, .mw-special-CheckUser .mw-checkuser-paging-links { color: #080; }
height: auto !important;
a:hover, a:visited:hover { color: #090; }
}
a:active { color: #060; }
#searchInput {
a:visited { color: #070; }
padding-left: 10px;
a.new > * { color: unset !important; }
}
a.external, .mw-parser-output a.external, a.extiw, .mw-parser-output a.extiw { color: #0a0; }
#searchButton,
a.external:hover, .mw-parser-output a.external:hover, a.extiw:hover, .mw-parser-output a.extiw:hover { color: #0b0; }
#mw-searchButton {
a.external:active, .mw-parser-output a.external:active, a.extiw:active, .mw-parser-output a.extiw:active { color: #080; }
right: 1.25px !important;
a.external:visited, .mw-parser-output a.external:visited, a.extiw:visited, .mw-parser-output a.extiw:visited { color: #090; }
}
.mw-parser-output a.external, .link-mailto, .link-ftp, .link-irc, .link-audio, .link-video, .link-document {
#mw-content dl {
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22%3E %3Cpath fill=%22%23fff%22 stroke=%22%230a0%22 d=%22M1.5 4.518h5.982V10.5H1.5z%22/%3E %3Cpath fill=%22%230a0%22 d=%22M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z%22/%3E %3Cpath fill=%22%23fff%22 d=%22M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z%22/%3E %3C/svg%3E");
margin-block-start: 0;
margin-block-end: 0;
}
#mw-content {
padding-bottom: 1em;
}
.footer-icons {
margin-top: -5px !important;
}
h2.list-header {
color: #001133;
padding: 0;
background: transparent;
}
body.ns-special .content-header {
border-bottom: 0;
padding-bottom: 0;
}
body.ns-special #mw-content h2.mw-mf-title-wrapper {
font-size: 1.85em;
text-align: center;
border-bottom: 0;
margin: 0;
}
body.ns-special ul {
list-style: inherit;
padding-left: 1.6em;
}
ul.diff-summary-list,
ul.revision-history-links {
list-style: none !important;
padding: 0;
}
.revision-history-prev + .revision-history-next {
margin-top: -19px;
}
.previewnote p, .successbox,
.errorbox, .warningbox,
.mw-revision {
padding-left: 1em;
padding-right: 1em;
}
#mw-content-text ol {
margin-left: 1.6em;
}
figure, .thumb {
clear: both !important;
max-width: none !important;
}
table {
display: block;
overflow-x: auto !important;
overflow-y: hidden !important;
}
}
}
@media all and (min-width: 851px) {
.mw-parser-output a.external[href$=".pdf"], .mw-parser-output a.external[href$=".PDF"],
.mw-warning-with-logexcerpt {
.mw-parser-output a.external[href*=".pdf#"], .mw-parser-output a.external[href*=".PDF#"],
padding-left: 1em;
.mw-parser-output a.external[href*=".pdf?"], .mw-parser-output a.external[href*=".PDF?"], .link-document {
padding-right: 1em;
background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8'?%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath fill='%23080' d='M7.5 2v3H10l1-1H8.5V1z'/%3E%3Cpath fill='%230a0' d='M3 1v10h8V4L8.5 1zm1 1h4l2 2.5V10H4z'/%3E%3C/svg%3E");
}
}
}
/* New links (yellow) */
a.new, a.new:hover, a.new:visited,
.new a, .new a:hover, .new a:visited,
a.mw-usertoollinks-contribs-no-edits { color: #bb0; }
a.new:visited:hover, .new a:visited:hover { color: #880; }


/* Recent changes options */
/* Green UI */
@media all and (max-width: 850px) {
#searchInput:focus {
.rcoptions {
box-shadow: inset 0 0 0 2px #26573e;
padding: 0.25em 1.25em;
outline: none;
}
}
.rcoptions input,
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type="submit"] {
.rcoptions select {
background: #080;
width: 100%;
border-color: #080;
margin-top: 0 !important;
}
margin-right: 0 !important;
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type="submit"]:not(:disabled):hover,
}
form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type="submit"]:not(:disabled):active {
.rcoptions td.mw-input {
color: #fff;
width: 100%;
background: #0a0;
}
border-color: #0a0;
}
}
 
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type="submit"]:not(:disabled):hover,
/* OOUI */
form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type="submit"]:not(:disabled):active {
@media all and (max-width: 850px) {
background: #060;
.oo-ui-labelElement select {
border-color: #060;
margin: 0;
}
.oo-ui-fieldLayout-header label {
padding-left: 0;
}
.mw-warning-with-logexcerpt > p {
margin-top: 0;
}
#mw-Protect-Form fieldset {
padding: 0;
margin: 0.5em 0;
}
#mw-Protect-Form fieldset legend {
padding: 0.25em 0.5em;
}
#mw-Protect-Form input:not([type="checkbox"]),
#mw-Protect-Form select {
width: 100% !important;
}
}
}


/* White text theme */
/* White text theme */
#p-logo-text a {
#p-logo-text a {
color: #fff;
color: #fff !important;
}
}
@media screen and (max-width:850px) {
@media screen and (max-width:850px) {