MediaWiki:Common.css: Difference between revisions
From Ephinea PSO Wiki
No edit summary |
No edit summary |
||
Line 418: | Line 418: | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
} | |||
@media only screen and (min-width: 66rem) and (max-width: 72.999rem) { | |||
.mainpage-header .header-stats, | |||
.mainpage-articleoftheweek { | |||
display: none; | |||
} | |||
} | |||
@media only screen and (min-width: 73rem) and (max-width: 99.999rem) { | |||
.mainpage-header .header-stats, | |||
.mainpage-contents .line-break { | |||
display: none; | |||
} | |||
} | } | ||
Revision as of 21:22, 13 October 2022
/* CSS placed here will be applied to all skins */ @import url("/index.php?title=MediaWiki:StickyTableHeaders.css&action=raw&ctype=text/css"); @import url("/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css"); .editOptions { color:#eee; } .wikitable tr:hover { background-color:#272C33; } .jquery-tablesorter > thead, .mw-sticky-header > thead { position: -webkit-sticky; position: sticky; top: 0; } @media screen and (max-width: 1099px) and (min-width: 851px) { .skin-timeless .jquery-tablesorter > thead, .skin-timeless .mw-sticky-header > thead { top: 3.5em; } } @media screen and (min-width: 1100px) { .skin-timeless .jquery-tablesorter > thead, .skin-timeless .mw-sticky-header > thead { top: 3.5em; } } .jquery-tablesorter > tfoot, .mw-sticky-header > tfoot { position: -webkit-sticky; position: sticky; bottom: 0; } .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort { background-position-x: center; background-position-y: bottom 3px; padding-bottom:12px; padding-right:0.5em; } ul#filetoc, .toc, .toccolours, .mw-warning { background: #323942; border: solid 1px #465160; } @keyframes unseen-fadeout-to-unread { 0% { background-color: none; } 100% { background-color: none; } } @keyframes olga2 { 0% { color: #ffae35; } 25% { color: #f8a531; } 50% { color: #bb5313; } 75% { color: #f19b23; } 100% { color: #ffae35; } } code, pre, .mw-code { color: #eee; background: #323942; } .talkbox { width: 65%; margin-left: auto; margin-right: auto; margin-top: 0.5em; margin-bottom: 0.5em; border: none; color:#eee; background-color: #232A35; } .talkbox .th { background-color: #465160; color:#eee; } .diff-addedline .diffchange { color: #000; } .diff-deletedline .diffchange { color: #000; } .diff-context, #pagehistory li.selected { background-color: #323942; color: #eee; } .mw-echo-ui-notificationItemWidget-unread:hover { background-color: rgba(41,98,204,0.1); } .mw-echo-ui-notificationItemWidget-content-actions-timestamp, .oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label, .mw-echo-ui-notificationItemWidget-content-message-header { color:#eee; } .mw-echo-ui-notificationsInboxWidget-toolbarWrapper { background: none; box-shadow: none; } .mw-echo-ui-notificationItemWidget:last-child, .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-body > .mw-echo-ui-notificationsListWidget > .mw-echo-ui-notificationItemWidget, .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-body > .mw-echo-ui-notificationsListWidget > .mw-echo-ui-notificationItemWidget:last-child, .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected { background-color: #232A35; } .mw-echo-ui-placeholderItemWidget { background-color: #2C343F; } .mw-body li.gallerybox div.thumb { background: none; border: none; } #p-logo-text a, #content h1, #content h2, #content h3, #content h4, #content h5 { font-family: "Segoe UI"; line-height: 1.3; } /* Message Box */ .messagebox { width: 65%; margin-left: auto; margin-right: auto; margin-top: 0.5em; margin-bottom: 0.5em; border: none; border-left: 15px solid #3366CC; background-color: #232A35; color:#eee; } .messagebox, .errorbox, .warningbox, .successbox { padding: 2px 12px; } /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. Slightly modified because <div> sucks. */ table.NavFrame { border: 1px solid #aaa; text-align: center; font-size: 75%; width: 100%; } table.NavFrame + table.NavFrame { border-top-style: none; border-top-style: hidden; } table.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } table.NavFrame th.NavHead { font-size: larger; text-align: center; background-color: #ccc; position: relative; padding-right: 0; } table.NavFrame th { background-color: #ccc; text-align: right; padding-right: 1%; width: 7%; } table.NavFrame td.NavContent, table.NavFrame td { text-align: left; } table.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; /* @noflip */ right: 3px; font-weight: normal; font-size: 90%; } .client-js .NavFrame.collapsed > td { display: none; } .psoBackground { background: repeating-linear-gradient(to bottom, #003431, #006675 1px, #003431 2px, #003431 6px); } .psoStyle { border: 1px solid #000; box-shadow: inset 0 0 0 1px #9aaaaa; border-radius: 10px; font-size: 95%; color: white; padding: 0; } .psoHeader { background-color: rgba(0, 0, 0, 0.2); font-size: larger; padding: 1px 8px; } th.smallClassHeader { border: 1px solid black; box-shadow: inset 0 0 3px 4px rgba(0,0,0,0.3); mix-blend-mode: hard-light; padding: 4px; flex: 1; text-align: center; font-size: x-small; } .uncoloredClass { color: black; border: 1px solid black; box-shadow: inset 0 0 3px 4px rgba(0,0,0,0.3); mix-blend-mode: hard-light; padding: 4px; flex: 1; text-align: center; font-size: x-small; background-color: #eee; } .classCannotUse { color: black; border: 1px solid black; box-shadow: inset 0 0 3px 4px rgba(0,0,0,0.3); mix-blend-mode: hard-light; padding: 4px; flex: 1; background-color: rgba(255, 158, 77, 0.88); text-align: center; } .classCanUse { color: black; border: 1px solid black; box-shadow: inset 0 0 3px 4px rgba(0,0,0,0.3); mix-blend-mode: hard-light; padding: 4px; flex: 1; background-color: rgba(221, 255, 83, 0.64); text-align: center; } .more_info { border-bottom: 1px dotted; position: relative; } .more_info .title { position: absolute; top: 20px; background: silver; padding: 4px; left: 0; white-space: nowrap; color:black; } .topLeft { border-radius: 10px 0 0 0; } .topRight { border-radius: 0 10px 0 0; } .bottomLeft { border-radius: 0 0 0 10px; } .bottomRight { border-radius: 0 0 10px 0; } .unequippable { color: #909090; } .normal { color: white; } .attributes { color: #61e853; } .untekked { color: #00fffc; } .rare { color: #ffea00; } .es { color: #fe3c28; } .native { color: #a5ffaa; } .abeast { color: #f5ff99; } .machine { color: #ff958b; } .dark { color: #e1a9ff; } .olga2 { animation-name: olga2; animation-duration: 3.3s; animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: forwards; } .noPadding td { padding: 0px; } /* Main page related */ / ** Header related stuff ** / .mainpage-header { display: flex; margin: 0em 1.75em 1.5em; } .mainpage-header .header-intro { flex: 2; } .mainpage-header .header-intro h1 { font-size: 2.5em; font-weight: bold; border: none; margin: 0 0 0.15em; } .mainpage-header .header-intro p { font-size: 1.1em; line-height: 1.7em; } .mainpage-header .header-stats { flex: 1; display: flex; justify-content: center; align-items: center; margin-top: -1em; } .mainpage-header .header-stats ul { list-style: none; } .mw-body .mw-parser-output h1.buttontext::after, .mw-body .mw-parser-output h2.buttontext::after { border:none; } / ** Misc (I forgot what this is for) ** / @media only screen and (min-width: 100rem) { .mainpage-header .header-intro { margin-right: 2em; } .mainpage-contents .line-break { display: none; } .themainpage { width:82rem; margin: 0 auto; } } @media only screen and (min-width: 66rem) and (max-width: 72.999rem) { .mainpage-header .header-stats, .mainpage-articleoftheweek { display: none; } } @media only screen and (min-width: 73rem) and (max-width: 99.999rem) { .mainpage-header .header-stats, .mainpage-contents .line-break { display: none; } } @media only screen and (max-width: 65.999rem) { .mainpage-contents .tile-halves:nth-child(1), .mainpage-contents .tile-halves:nth-child(2), .mainpage-contents .tile-halves:nth-child(3) { margin-bottom: 0.9rem; } .mainpage-contents .line-break { width: 100%; } .mainpage-header .header-stats, .mainpage-articleoftheweek { display: none; } }