MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
(131 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
.mediawiki { | .mediawiki { | ||
background-image: url(../img/bg.jpg); | background-image: url(../img/bg.jpg); | ||
background-attachment: fixed; | |||
background-position: center; | |||
background-size: cover; | |||
font-family: -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Inter','Helvetica','Arial',sans-serif; | |||
font-size: 1rem; | |||
font-weight: 400; | |||
} | |||
a { | |||
color: #ffb703; | |||
} | |||
a:hover { | |||
color: #fb8500; | |||
text-decoration: none; | |||
} | |||
a:where(.new:not([role="button"])) { | |||
color: #fb4f00; | |||
} | |||
a:where(:not([role="button"])) { | |||
color: #ffb703; | |||
} | |||
a:where(.new:not([role="button"])) { | |||
color: #fb4f00; | |||
} | |||
a:where(:not([role="button"])):visited { | |||
color: #ffb703; | |||
} | |||
a:where(.new:not([role="button"])):visited { | |||
color: #fb4f00; | |||
} | |||
a:where(:not([role="button"])):hover { | |||
color: #fb8500; | |||
} | |||
a:where(.new:not([role="button"])):hover { | |||
color: #fb8500; | |||
} | |||
a:where(:not([role="button"])):visited:hover { | |||
color: #fb8500; | |||
} | |||
a:where(.new:not([role="button"])):visited:hover { | |||
color: #fb8500; | |||
} | } | ||
#mw-mf-viewport { | #mw-mf-viewport { | ||
background-color: | background-color: rgba(0, 0, 0, 0.7); | ||
position: unset; | |||
height: unset; | |||
} | |||
.header-container { | |||
height: 80px; | |||
padding-left: 1rem; | |||
padding-right: 1rem; | |||
} | |||
.minerva-header { | |||
border-top: unset; | |||
height: 100%; | |||
margin-top: auto; | |||
margin-bottom: auto; | |||
} | |||
.minerva-header .branding-box { | |||
min-width: unset; | |||
opacity: 1; | |||
} | |||
.branding-box { | |||
font-family: "Mali"; | |||
font-weight: 500; | |||
text-shadow: 1px 1px #2c3532; | |||
padding-left: 10px; | |||
padding-right: 50px; | |||
} | |||
div.branding-box a span { | |||
color: rgba(255, 255, 255, 0.8); | |||
} | |||
.heading-holder .tagline { | |||
color: rgba(255, 255, 255, 0.8); | |||
} | |||
.minerva-user-navigation { | |||
padding-right: 10px; | |||
} | |||
.heading-holder { | |||
width: 100%; | |||
} | |||
.page-heading { | |||
width: 90%; | |||
color: rgb(255, 183, 3); | |||
} | |||
.action-edit .mw-first-heading { | |||
color: rgb(255, 183, 3); | |||
} | |||
.minerva__tab-container .minerva__tab .minerva__tab-text { | |||
color: #fb8500 !important; | |||
} | |||
.minerva__tab-container .minerva__tab.new .minerva__tab-text { | |||
color: #fb4f00 !important; | |||
} | |||
.page-actions-menu__list-item .cdx-button { | |||
color: #fb8500 !important; | |||
} | |||
.cdx-button.language-selector.disabled { | |||
color: #aaaaaa !important; | |||
} | |||
#mw-mf-page-center { | |||
background-image: url(../img/bg.png); | |||
margin-right: auto; | |||
margin-left: auto; | |||
background-color: unset; | |||
} | } | ||
.header-container.header-chrome { | .header-container.header-chrome { | ||
background-color: | background-color: rgba(39, 111, 191, 0.8); | ||
} | } | ||
.mw-body { | .mw-body { | ||
background- | background-color: unset; | ||
} | |||
#bodyContent { | |||
background-color: rgba(42, 79, 114, 0.8); | |||
width: 100%; | |||
max-width: 100%; | |||
margin: 0px; | |||
padding-top: 2rem; | |||
padding-bottom: 2rem; | |||
} | |||
.mw-body-content::before { | |||
border-radius: 0.5rem; | |||
content: ""; | |||
position: absolute; | |||
top: -0.5rem; | |||
bottom: -0.5rem; | |||
left: -0.5rem; | |||
right: -0.5rem; | |||
border: 0.25rem solid rgba(255, 255, 255, 0.85); | |||
z-index: -1; | |||
} | |||
.mw-body-content { | |||
width: 90%; | |||
min-height: 500px; | |||
position: relative; | |||
margin-top: 0.5rem; | |||
margin-bottom: 0.5rem; | |||
margin-left: auto; | |||
margin-right: auto; | |||
border-radius: .25rem !important; | |||
background-color: rgba(255, 255, 255, 0.85); | |||
} | |||
#mw-content-subtitle { | |||
color: rgba(255, 255, 255, 0.85); | |||
} | |||
#mw-content-subtitle a { | |||
color: rgb(255, 183, 3); | |||
} | |||
#mw-content-subtitle a:hover { | |||
color: #fb8500; | |||
} | |||
.mw-content-ltr { | |||
padding: 2rem; | |||
} | |||
.noarticletext { | |||
padding: 2rem; | |||
} | |||
.mw-pager-navigation-bar { | |||
padding: 2rem; | |||
} | |||
.mw-pager-body { | |||
padding: 2rem; | |||
} | |||
.mw-newarticletext { | |||
padding: 2rem; | |||
} | |||
.mw-editform { | |||
padding: 2rem; | |||
} | |||
.mw-rcfilters-head { | |||
padding: 2rem; | |||
} | |||
.mw-changeslist { | |||
padding: 2rem; | |||
} | |||
.cdx-message { | |||
border-color: rgba(255, 255, 255, 0.85); | |||
border-radius: .25rem !important; | |||
} | |||
.content { | |||
z-index: auto; | |||
} | |||
.minerva-icon--bellOutline { | |||
background-image: unset; | |||
} | |||
.mw-changeslist-line { | |||
border-bottom: unset; | |||
} | |||
ul.special li { | |||
border-bottom: unset; | |||
} | |||
.ext-discussiontools-init-new-topic { | |||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
} | } | ||
.mw-footer { | .mw-footer { | ||
background-color: | padding-top: 3rem !important; | ||
padding-bottom: 3rem !important; | |||
background-color: rgba(39, 111, 191, 0.8); | |||
} | |||
.minerva-footer { | |||
border-top: unset; | |||
text-align: center !important; | |||
line-height: 1.75; | |||
margin: 0; | |||
} | |||
.footer-content { | |||
margin-top: 0px; | |||
} | |||
footer.mw-footer div.post-content { | |||
margin-top: 0px; | |||
} | |||
a.last-modified-bar { | |||
background-color: unset; | |||
color: rgb(255, 183, 3) !important; | |||
border-bottom: unset; | |||
} | |||
.last-modified-bar__content { | |||
text-align: left !important; | |||
display: block; | |||
} | |||
.minerva-icon--modified-history { | |||
margin-left: 0; | |||
margin-right: 0; | |||
} | |||
.last-modified-bar__text { | |||
margin-left: 0px; | |||
margin-right: 0; | |||
} | |||
.minerva-icon--expand { | |||
margin-left: 0px; | |||
margin-right: auto; | |||
} | |||
footer.mw-footer div.post-content .minerva-footer-logo { | |||
border-bottom: unset; | |||
padding-bottom: 0px; | |||
margin-top: 0px; | |||
margin-bottom: 1rem; | |||
} | |||
footer.mw-footer div.post-content .minerva-footer-logo img { | |||
vertical-align: middle; | |||
} | |||
.footer-items { | |||
font-family: "Mali"; | |||
text-transform: uppercase; | |||
font-weight: 500; | |||
font-size: 80%; | |||
color: rgba(255, 255, 255, 0.8); | |||
text-shadow: 1px 1px #2c3532; | |||
margin: 0 !important; | |||
} | |||
.footer-items .footer-item { | |||
color: rgba(255, 255, 255, 0.8); | |||
text-decoration: none; | |||
} | |||
.footer-items .footer-item:hover { | |||
color: #fb8500; | |||
text-decoration: none; | |||
} | |||
.minerva-icon { | |||
background-color: rgb(255, 183, 3) !important; | |||
} | |||
@media (min-width: 576px) { | |||
#mw-mf-page-center { | |||
max-width: 540px; | |||
} | |||
} | |||
@media (min-width: 640px) { | |||
.minerva-header .search-box { | |||
display: none; | |||
} | |||
.client-js #searchIcon { | |||
display: block; | |||
} | |||
} | |||
@media (min-width: 768px) { | |||
#mw-mf-page-center { | |||
max-width: 720px; | |||
} | |||
.minerva-header .search-box { | |||
display: block; | |||
width: 100%; | |||
max-width: 300px; | |||
} | |||
.client-js #searchIcon { | |||
display: none; | |||
} | |||
} | |||
@media (min-width: 992px) { | |||
#mw-mf-page-center { | |||
max-width: 960px; | |||
} | |||
.minerva-header { | |||
padding-left: 3rem; | |||
padding-right: 3rem; | |||
} | |||
.minerva-header .search-box { | |||
display: block; | |||
width: 100%; | |||
max-width: 460px; | |||
} | |||
} | |||
@media (min-width: 1200px) { | |||
#mw-mf-page-center { | |||
max-width: 1140px; | |||
} | |||
} | |||
@media screen and (max-width:calc(768px - 1px)) { | |||
.suggestions-results { | |||
display: table; | |||
width: 100% | |||
} | |||
.suggestions-results a { | |||
height: 70px; | |||
width: 100%; | |||
display: table; | |||
box-sizing: border-box | |||
} | |||
.suggestions-results .suggestions-result { | |||
display: table-cell; | |||
vertical-align: middle; | |||
width: 100% | |||
} | |||
.search-enabled .minerva-header { | |||
position: relative | |||
} | |||
.search-enabled .minerva-header .search-box { | |||
display: block; | |||
position: absolute; | |||
left: 0px; | |||
right: 0px; | |||
top: 22px; | |||
max-width: 420px; | |||
z-index:2 | |||
} | |||
} | } |
Latest revision as of 13:11, 23 April 2025
/* CSS placed here will be applied to all skins */ .mediawiki { background-image: url(../img/bg.jpg); background-attachment: fixed; background-position: center; background-size: cover; font-family: -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Inter','Helvetica','Arial',sans-serif; font-size: 1rem; font-weight: 400; } a { color: #ffb703; } a:hover { color: #fb8500; text-decoration: none; } a:where(.new:not([role="button"])) { color: #fb4f00; } a:where(:not([role="button"])) { color: #ffb703; } a:where(.new:not([role="button"])) { color: #fb4f00; } a:where(:not([role="button"])):visited { color: #ffb703; } a:where(.new:not([role="button"])):visited { color: #fb4f00; } a:where(:not([role="button"])):hover { color: #fb8500; } a:where(.new:not([role="button"])):hover { color: #fb8500; } a:where(:not([role="button"])):visited:hover { color: #fb8500; } a:where(.new:not([role="button"])):visited:hover { color: #fb8500; } #mw-mf-viewport { background-color: rgba(0, 0, 0, 0.7); position: unset; height: unset; } .header-container { height: 80px; padding-left: 1rem; padding-right: 1rem; } .minerva-header { border-top: unset; height: 100%; margin-top: auto; margin-bottom: auto; } .minerva-header .branding-box { min-width: unset; opacity: 1; } .branding-box { font-family: "Mali"; font-weight: 500; text-shadow: 1px 1px #2c3532; padding-left: 10px; padding-right: 50px; } div.branding-box a span { color: rgba(255, 255, 255, 0.8); } .heading-holder .tagline { color: rgba(255, 255, 255, 0.8); } .minerva-user-navigation { padding-right: 10px; } .heading-holder { width: 100%; } .page-heading { width: 90%; color: rgb(255, 183, 3); } .action-edit .mw-first-heading { color: rgb(255, 183, 3); } .minerva__tab-container .minerva__tab .minerva__tab-text { color: #fb8500 !important; } .minerva__tab-container .minerva__tab.new .minerva__tab-text { color: #fb4f00 !important; } .page-actions-menu__list-item .cdx-button { color: #fb8500 !important; } .cdx-button.language-selector.disabled { color: #aaaaaa !important; } #mw-mf-page-center { background-image: url(../img/bg.png); margin-right: auto; margin-left: auto; background-color: unset; } .header-container.header-chrome { background-color: rgba(39, 111, 191, 0.8); } .mw-body { background-color: unset; } #bodyContent { background-color: rgba(42, 79, 114, 0.8); width: 100%; max-width: 100%; margin: 0px; padding-top: 2rem; padding-bottom: 2rem; } .mw-body-content::before { border-radius: 0.5rem; content: ""; position: absolute; top: -0.5rem; bottom: -0.5rem; left: -0.5rem; right: -0.5rem; border: 0.25rem solid rgba(255, 255, 255, 0.85); z-index: -1; } .mw-body-content { width: 90%; min-height: 500px; position: relative; margin-top: 0.5rem; margin-bottom: 0.5rem; margin-left: auto; margin-right: auto; border-radius: .25rem !important; background-color: rgba(255, 255, 255, 0.85); } #mw-content-subtitle { color: rgba(255, 255, 255, 0.85); } #mw-content-subtitle a { color: rgb(255, 183, 3); } #mw-content-subtitle a:hover { color: #fb8500; } .mw-content-ltr { padding: 2rem; } .noarticletext { padding: 2rem; } .mw-pager-navigation-bar { padding: 2rem; } .mw-pager-body { padding: 2rem; } .mw-newarticletext { padding: 2rem; } .mw-editform { padding: 2rem; } .mw-rcfilters-head { padding: 2rem; } .mw-changeslist { padding: 2rem; } .cdx-message { border-color: rgba(255, 255, 255, 0.85); border-radius: .25rem !important; } .content { z-index: auto; } .minerva-icon--bellOutline { background-image: unset; } .mw-changeslist-line { border-bottom: unset; } ul.special li { border-bottom: unset; } .ext-discussiontools-init-new-topic { margin-left: 0 !important; margin-right: 0 !important; } .mw-footer { padding-top: 3rem !important; padding-bottom: 3rem !important; background-color: rgba(39, 111, 191, 0.8); } .minerva-footer { border-top: unset; text-align: center !important; line-height: 1.75; margin: 0; } .footer-content { margin-top: 0px; } footer.mw-footer div.post-content { margin-top: 0px; } a.last-modified-bar { background-color: unset; color: rgb(255, 183, 3) !important; border-bottom: unset; } .last-modified-bar__content { text-align: left !important; display: block; } .minerva-icon--modified-history { margin-left: 0; margin-right: 0; } .last-modified-bar__text { margin-left: 0px; margin-right: 0; } .minerva-icon--expand { margin-left: 0px; margin-right: auto; } footer.mw-footer div.post-content .minerva-footer-logo { border-bottom: unset; padding-bottom: 0px; margin-top: 0px; margin-bottom: 1rem; } footer.mw-footer div.post-content .minerva-footer-logo img { vertical-align: middle; } .footer-items { font-family: "Mali"; text-transform: uppercase; font-weight: 500; font-size: 80%; color: rgba(255, 255, 255, 0.8); text-shadow: 1px 1px #2c3532; margin: 0 !important; } .footer-items .footer-item { color: rgba(255, 255, 255, 0.8); text-decoration: none; } .footer-items .footer-item:hover { color: #fb8500; text-decoration: none; } .minerva-icon { background-color: rgb(255, 183, 3) !important; } @media (min-width: 576px) { #mw-mf-page-center { max-width: 540px; } } @media (min-width: 640px) { .minerva-header .search-box { display: none; } .client-js #searchIcon { display: block; } } @media (min-width: 768px) { #mw-mf-page-center { max-width: 720px; } .minerva-header .search-box { display: block; width: 100%; max-width: 300px; } .client-js #searchIcon { display: none; } } @media (min-width: 992px) { #mw-mf-page-center { max-width: 960px; } .minerva-header { padding-left: 3rem; padding-right: 3rem; } .minerva-header .search-box { display: block; width: 100%; max-width: 460px; } } @media (min-width: 1200px) { #mw-mf-page-center { max-width: 1140px; } } @media screen and (max-width:calc(768px - 1px)) { .suggestions-results { display: table; width: 100% } .suggestions-results a { height: 70px; width: 100%; display: table; box-sizing: border-box } .suggestions-results .suggestions-result { display: table-cell; vertical-align: middle; width: 100% } .search-enabled .minerva-header { position: relative } .search-enabled .minerva-header .search-box { display: block; position: absolute; left: 0px; right: 0px; top: 22px; max-width: 420px; z-index:2 } }