MediaWiki:Gadget-Timeless.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(120 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 */


/* Hide sidebar items */
li#n-Gameplay,
li#n-Related-sites {
display: none;
}
/* External self-links */
/* External self-links */
.mw-parser-output a.external[href^="https://www.halopedia.org"] {
.mw-parser-output a.external[href^="https://www.halopedia.org"] {
Line 11: Line 6:
background: none;
background: none;
padding: 0;
padding: 0;
}
/* Indicators */
.mw-indicators {
top: -0.25em;
}
.sitenotice-shown .mw-indicators {
top: 0.15em;
}
@media all and (min-width: 851px) {
.mw-indicators img {
max-height: 30px !important;
width: auto !important;
}
}
/* Wordmark logo */
.mw-wiki-title.wordmark img {
width: 165px !important;
height: auto !important;
}
#p-logo-text a.wordmark {
padding-top: 1px !important;
}
@media screen and (max-width: 850px) {
#p-logo-text a.wordmark {
padding-top: 3.5px !important;
}
}
/* Site notice */
.mw-dismissable-notice-close {
margin-top: 10px !important;
}
}


/* Timeless theme */
/* Timeless theme */
#mw-content-container {
#mw-content-container {
background: #9A9CA0 url(/images/timeless-bg.webp) fixed;
background: #9A9CA0 url(https://halo.wiki.gallery/images/timeless-bg.webp) no-repeat fixed 0 0 / cover;
}
}
#mw-header-container,
#mw-header-container, #mw-header-nav-hack, .mobile h2.list-header {
#mw-header-nav-hack {
background: #ddd;
background: #ddd;
}
}
body { background: #444; }
.color-left, .color-middle, .color-right,
.color-left, .color-middle, .color-right,
.suggestions .suggestions-result-current {
.suggestions .suggestions-result-current {
background: #333;
background: #333;
}
}
#mw-content h1.firstHeading,
#personal .dropdown h3,
#mw-content h1, #mw-content h2,
#mw-page-header-links li.selected,
#mw-page-header-links li.selected,
#mw-site-navigation .sidebar-chunk h3,
#mw-site-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3,
#personal .dropdown h3 {
#mw-content h1::after, #mw-content h2::after,
#mw-content h1, #mw-content h2,
#mw-content h1.firstHeading {
border-color: #444;
border-color: #444;
}
}
#mw-content-container {
#mw-content-container {
border-color: #222;
border-color: #222;
}
body {
background: #444;
}
}


/* External links */
/* Fixes */
a.external, .mw-parser-output a.external, .link-https {
.infobox {
color: #36b;
border-spacing: 0;
padding-right: 15px;
background: 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%2336b%22 d=%22M1.5 4.518h5.982V10.5H1.5z%22/%3E %3Cpath fill=%22%2336b%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") center right no-repeat;
}
}
/* Fixes */
#whosonline {
#whosonline {
margin-bottom: 2px !important;
margin-bottom: 2px !important;
}
.mw-dismissable-notice-close {
margin-top: 10px;
}
.infobox {
border-spacing: 0;
}
}
.mp-welcome-logged-in h2 {
.mp-welcome-logged-in h2 {
Line 66: Line 82:
}
}


/* Standard changes */
/* No contribs link hover */
#siteNotice {
a.mw-usertoollinks-contribs-no-edits:hover {
font-size: 85%;
color: #bd2020;
text-align: center;
}
}
#siteNotice p {
 
margin: 0;
/* Bungie: Echo */
}
@media all and (max-width: 430px) {
#localNotice > .mw-parser-output > :last-child {
#personal-extra ul {
margin-bottom: 0 !important;
margin-right: 0 !important;
}
.usermessage {
margin-top: 0.5em;
}
#content-bottom-stuff {
background: #f9f9f9;
}
#mw-header-nav-hack {
border-top: 0;
}
#catlinks {
border-top: 0;
padding: 0.75em 0 0.5em;
}
#mw-footer-container {
border-top: 0;
box-shadow: none;
}
#mw-content h1.firstHeading {
margin-top: 0.25em;
overflow: visible;
}
#contentSub {
margin-bottom: 10px;
}
#mw-content h1, #mw-content h2,
#mw-content h3, #mw-content h4,
#mw-content h5, #mw-content h6,
#mw-content dt {
margin-top: 1em;
}
#mw-content dd {
margin-bottom: 0.25em;
}
div.editOptions {
margin-top: 0;
border-bottom-width: 1px;
}
table {
border-spacing: 2px;
}
table td, table th {
padding: 2px 4px;
}
table.wikitable {
padding: 0;
}
blockquote {
margin-left: 0;
border-left: 3px solid #c8ccd1;
}
ul#filetoc {
border: 1px solid #eee;
}
input[type="checkbox"],
input[type="radio"] {
box-shadow: none !important;
}
.thumb {
padding-bottom: 0;
}
.thumbcaption {
padding-left: 0.5em;
padding-right: 0.5em;
padding-bottom: 0;
}
div.tnone {
margin-top: 0.2em;
margin-bottom: 0.8em;
}
body.ns-14 .gallery,
body.ns-14 #mw-pages > .mw-content-ltr {
margin-bottom: 1em !important;
}
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;
}
@media all and (max-width: 850px) {
#bodyContent img {
max-width: 100% !important;
height: auto !important;
}
}
#searchInput {
#pt-notifications-alert {
padding-left: 10px;
margin-right: 0.5em !important;
}
}
#searchButton,
}
#mw-searchButton {
@media all and (max-width: 415px) {
right: 1.25px !important;
#pt-notifications-alert {
margin-right: 0 !important;
}
}
#mw-content dl {
#pt-notifications-notice {
margin-block-start: 0;
margin-right: 0.5em !important;
margin-block-end: 0;
}
}
#mw-content {
}
padding-bottom: 1em;
@media all and (max-width: 400px) {
#pt-notifications-alert {
margin-right: 0.5em !important;
}
}
.mw-indicators {
#pt-notifications-notice {
position: absolute !important;
display: none !important;
top: -2px !important;
right: 2em !important;
}
}
#mw-content .mw-indicators img {
}
height: 20px !important;
@media all and (max-width: 365px) {
width: auto !important;
#pt-notifications-alert {
}
display: none !important;
.footer-icons {
margin-top: -5px !important;
}
h2.list-header {
color: #001133;
padding: 0;
background: transparent;
}
ul.special {
list-style: inherit;
padding-left: 1.6em;
}
ul.diff-summary-list,
ul.revision-history-links {
padding-left: 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) {
/* Echo extension */
.mw-warning-with-logexcerpt {
.mw-special-Notifications #contentSub,
padding-left: 1em;
.mw-special-Notifications #mw-echo-pref-link {
padding-right: 1em;
display: block !important;
}
}
}
 
@media all and (max-width: 981px) {
/* Recent changes options */
.mw-special-Notifications #contentSub,
@media all and (max-width: 850px) {
.mw-special-Notifications #mw-echo-pref-link {
.rcoptions {
text-align: center !important;
padding: 0.25em 1.25em;
}
}
}
}
 
.oo-ui-buttonSelectWidget,
/* OOUI */
.mw-echo-ui-notificationItemWidget-content-actions .mw-echo-ui-menuItemWidget-prioritized {
@media all and (max-width: 850px) {
margin-right: 0 !important;
.oo-ui-labelElement select {
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;
}
}
}
 
body.mobile .mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
/* Video widget */
height: 4em !important;
.videoWidget.tnone:not(.thumb) {
margin-top: 0;
margin-bottom: 0;
}
}
@media all and (max-width: 850px) {
@media all and (min-width: 851px) {
.videoWidget {
body.mobile .mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
display: block !important;
top: 50px !important;
}
.autoResize, .mw-overflow {
padding-left: 0 !important;
padding-right: 0 !important;
}
.videoWidget .thumbimage {
border: 0;
}
.videoWidget.tleft,
.videoWidget.tright {
float: none;
padding: 0;
}
}
}
}