MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* =========== UNIVERSAL THEME ============== */ :root {--color-accent: #00aeef} /* Main */ .ns-3000 {--color-accent: #289728} /* Xbox */ .ns-3002 {--color-accent: #5dc21e} /* Xbox 360 */ .ns-3030 {--color-accent: #e4000f} /* NES */ .ns-3012 {--color-accent: #444} /* PS3 */ /* .ns-3004 {--color-accent: #} /* XboxOne .ns-3006 {--color-accent: #} /* SeriesX .ns-3010 {--color-accent: #} /* PS1 .ns-3014 {--color-accent: #} /* PS2 .ns-3016 {--color-accent: #} /* PS4 .ns-3018 {--color-accent: #} /* PS5 .ns-3032 {--color-accent: #} /* SNES .ns-3034 {--color-accent: #} /* N64 .ns-3036 {--color-accent: #} /* GCN .ns-3038 {--color-accent: #} /* Wii .ns-3040 {--color-accent: #} /* WiiU .ns-3042 {--color-accent: #} /* Switch .ns-3050 {--color-accent: #} /* SG1000 .ns-3052 {--color-accent: #} /* MasterSystem .ns-3054 {--color-accent: #} /* Genesis .ns-3056 {--color-accent: #} /* Saturn .ns-3058 {--color-accent: #} /* Dreamcast .ns-3090 {--color-accent: #} /* PSP .ns-3092 {--color-accent: #} /* Vita */ /* TODO: Make a toggle to turn on/off color theme */ body, #mw-head { background-color: var(--color-accent); } #mw-head { text-align-last: center; } #mw-head::after { content: "Mods Wiki"; font-size: 2.5rem; top: 2rem; color: white; text-shadow: 1px 1px black; position: relative; font-family: 'Linux Libertine','Georgia','Times',serif; } .clip-corner { clip-path: polygon(0 0,100% 0,100% calc(100% - 25px),calc(100% - 25px) 100%,0px 100%,0% 100%); } #mw-panel::before { border-right: solid 2px var(--color-accent); box-sizing: border-box; background-color: whitesmoke; content: ""; height: 100%; width: 100%; position: absolute; z-index: -1; clip-path: polygon(0 0,100% 0,100% calc(100% - 25px),calc(100% - 25px) 100%,0px 100%,0% 100%); } #mw-panel { padding-left: 0px; filter: drop-shadow(0px 15px 0px var(--color-accent)); } .accented-table, #content { filter: drop-shadow(0px 15px 0px var(--color-accent)); } .accented-table-thin { text-align: center; filter: drop-shadow(0px 5px 0px var(--color-accent)); } .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: 10em; } .mw-body { margin-top: 2px; border: 1px solid var(--color-accent); } #p-variants { display: none; } #ca-talk::before { background: linear-gradient(to top,#77c1f6 0,#e8f2f8 1px,#ffffff 100%); content: ""; height: 100%; width: 80px; position: absolute; z-index: -1; clip-path: polygon(calc(100% - 12px) 0%,100% calc(0% + 12px),100% 100%,0 100%,0 0); border-right: solid 2px #a2a9b1; } #ca-talk { background-image: unset; } .vector-menu-tabs .new a { color: #0645ad!important; } #p-views > div > .vector-menu-content-list::before { background: linear-gradient(to top,#77c1f6 0,#e8f2f8 1px,#ffffff 100%); content: ""; height: 100%; width: 100%; position: absolute; z-index: -1; clip-path: polygon(calc(0% + 12px) 0,100% 0,100% 100%,0% 100%,0 calc(0% + 12px)); border-left: solid 2px #a2a9b1; } #p-views > div > .vector-menu-content-list { filter: drop-shadow(0px -2px 0px #a2a9b1); background-image: unset; } #p-namespaces > div > .vector-menu-content-list { filter: drop-shadow(0px -2px 0px #a2a9b1); background-image: unset; border-left: solid 1px var(--color-accent); margin-left: -1px; } #p-personal ul { padding-left: 0px; } #p-personal::before { background-color: whitesmoke; content: ""; height: 100%; width: 100%; position: absolute; z-index: -1; clip-path: polygon(0 0,100% 0,100% 100%,calc(0% + 10px) 100%,0 calc(0% + 13px)); border-left: solid 2px #a2a9b1; padding: 2px; } #p-personal { filter: drop-shadow(0px 2px 0px #a2a9b1); right: 0px; top: 0px; } #ca-view { background: unset; } #p-cactions { filter: drop-shadow(0px -2px 0px #a2a9b1); } .vector-menu-dropdown h3 { color: #0645ad; } .vector-menu-dropdown h3:after { top: 0.4em; } #simpleSearch { filter: drop-shadow(0px -2px 0px #a2a9b1); background-color: whitesmoke; } /* ======== END UNIVERSAL THEME ============= */ /* =========== LANDING PAGES ================ */ li[id*="ca-nstab-"] { display: none; } .mw-body-content h1 { margin-top: 0px; } .landing-page .mw-body-content h3 { font-size: 1.2rem; margin-top: 0px; } .landing-page .wikitable caption { font-size: 1.2rem; } .usermessage { margin: 0em 0px 3em 0px; } img { max-height: 6rem; max-width: 15rem; height: auto; width: auto; } .not-available { filter: opacity(0.4); } .page-Main_Page table:not(.general-information-table) td { text-align: center; vertical-align: bottom; min-width: 10rem; } .page-Main_Page table:not(.general-information-table) td a { text-decoration: none; font-weight: bold; color: black; } .general-information-table td ul { margin-left: 2em!important; } .general-information-table td { text-align: left; vertical-align: top; padding: 0px; } .page-Main_Page .accented-table a, .page-Main_Page #content h4, .page-Main_Page #content h3, .page-Main_Page .accented-table p { font-size: large!important; } body[class*="_Mods_Wiki"] .mw-body .firstHeading, body[class*="_Mods_Wiki"] .mw-parser-output:first-child, body[class*="_Mods_Wiki"] #bodyContent h4, .page-Main_Page .mw-body .firstHeading { text-align: center; } .landing-page-header { line-height: 400; font-size: 1.8em; margin-top: -1em; text-align: center; } /* =========== LANDING PAGES END ============ */ /* ============ GLOBAL SETTINGS ============= */ #bodyContent h1, #bodyContent h2 { margin-left: 0px; } #bodyContent :not(.landing-page) h1 ~ *:not(h1,h2,h3,h4,h5,h6,h1~h3~*), #bodyContent :not(.landing-page) h2 ~ *:not(h1,h2,h3,h4,h5,h6,h2~h3~*) { margin-left: 1em; } #bodyContent h3:not(.boxed-list h3) { margin-left: 1.4em; } #bodyContent h3:not(#p-namespaces-label, .landing-page h3) ~ *:not(h1,h2,h3,h4,h5,h6,h3~h2~*), #bodyContent h3:not(#p-namespaces-label, .landing-page h3) ~ h2 ~ h3 ~ *:not(h1,h2,h3,h4,h5,h6) { margin-left: 3em; } #bodyContent h4:not(.boxed-list h4) { margin-left: 3.4em; } #bodyContent h4:not(.landing-page h4) ~ *:not(h1,h2,h3,h4,h5,h6,h4~h3~*,h4~h2~*), #bodyContent h4:not(.landing-page h4) ~ h3 ~ h4 ~ *:not(h1,h2,h3,h4,h5,h6,h4~h3~*,h4~h2~*) { margin-left: 5em; } #bodyContent h5:not(.boxed-list h5) { margin-left: 5.4em; } #bodyContent h5:not(.landing-page h5) ~ *:not(h1,h2,h3,h4,h5,h6,h5~h4~*,h5~h3~*,h5~h2~*) { margin-left: 7em; } #bodyContent h6:not(.boxed-list h6) { margin-left: 7.4em; } #bodyContent h6:not(.landing-page h6) ~ *:not(h1,h2,h3,h4,h5,h6,h6~h5~*,h6~h4~*,h6~h3~*,h6~h2~*) { margin-left: 9em; } #bodyContent h4 { text-decoration: underline; } #content { border-right-width: 1px; border-right-color: var(--color-accent); margin-right: 45px; } .wikitable { border: none; } .wikitable caption { border: 1px solid #a2a9b1; } .wikitable th { white-space: nowrap; } #content { border-top-width: 4px; } #p-namespaces { height: inherit; } #left-navigation { margin-top: 3.5em } #p-views { height: 1.5em; margin-top: 16px; } .vector-menu-tabs .mw-watchlink.icon a:before { top: 0.5em; left: 0.5em; width: 1em; height: 1em; } .vector-menu-tabs .mw-watchlink.icon a { padding: 2.0em 0 0 0; } ul li::before:not(toclevel-1) { content: "\2022"; color: red; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; } #p-cactions { background-color: white; background-image: linear-gradient(to top,#77c1f6 0,#e8f2f8 1px,#ffffff 100%); margin-top: 16px; } .vector-menu-dropdown h3 { padding-top: 0.5em; } #p-search form { margin-top: 1em; } #p-search { margin-left: 0px; margin-right: 45px; } #searchInput { border-width: 0px 1px 1px 1px; border-radius: 0px; } td a[href="#unplayable"] { background-color: rgba(255,0,0,0.5); } td a[href="#playable"] { background-color: rgba(0,255,0,0.5); } td a[href="#menus"], td a[href="#intro"] { background-color: rgba(255,127,0,0.5); } td a[href="#untested"] { background-color: rgba(79,129,189,0.5); } td a[href="#ingame"] { background-color: rgba(255,255,0,0.5); } td sup { display: inline-block; } .mediawiki:not(.page-Main_Page) table:not(.note, .landing-page table) tr:nth-child(odd) { background-color: rgba(0,0,0,0.1); } ol { margin-left: -1.2em; } li { margin-bottom: 0px; padding-left: 5px; padding-right: 5px; } li::marker { background-color: inherit; } .vector-menu-dropdown .vector-menu-content-list { top: 1.6em; } #mw-head .vector-menu-dropdown h3 { height: 2em; } .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 { background-image: unset; } .vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { font-weight: bolder; color: var(--color-accent); } .vector-menu-tabs li a { height: 2em; padding-top: 0.5em; } .warning-message a { text-decoration: underline; } #mw-panel a, #mw-panel a:visited, #p-personal a, .toctogglelabel { color: black; } pre { width: fit-content; margin-left: 4.6em; } .mw-code:not(#mw-clearyourcache+.mw-code), code { width: fit-content; white-space: nowrap; } .boxed-list { width: fit-content; border-width: thin!important; border: solid black; margin: 1.5em 1rem 1.5rem 1rem; text-align: left; white-space: normal; background-color: whitesmoke; } .boxed-list a, .boxed-list a:visited { color: black; } .boxed-list ul { padding-right: 0.5em; padding-bottom: 0.5em; } .page-Main_Page .center-float { margin-left: 2rem; margin-bottom: 1.5rem; } #content ol li.highlighted, #content ol:not(.references) li:hover { background-color: rgba(0,255,0,0.33); width: fit-content; } #content ol li:hover a { text-decoration: underline; } #content .colortable td a { display: grid; width: 100%; text-align: center; text-decoration: none; } #content .colortable td a:not([href*=cite_note]) { pointer-events: none; padding: 2px; color: white; } table { border-collapse: collapse; /*outline-style: double;*/ } ul { list-style-image: none } .note { background-color: rgba(0,0,0,0.4); } #content .colortable td { padding: 0px 4px!important; } #content .wikitable td a { display: inline; width: 100%; height: 100%; text-align: center; line-height: normal; } .boxed-list h3 { text-align: center; border-bottom-width: thin; border-bottom-style: solid; padding-bottom: 0px; padding-top: 0px; } .boxed-list h2 { text-align: center; border-bottom-width: thin; border-bottom-style: solid; padding-bottom: 0.2em; padding-top: 0.2em; margin-top: 0px; } .center-float { display: inline-block; vertical-align: top; } .center-float h3 + ul, .center-float h4 + ul { margin-left: 1.6em!important; margin-right: 1.6em!important; } vector-menu-tabs .new a, .vector-menu-tabs .new a:visited { font-weight: bolder; } #contentSub { display: none; } .warning-message { border:1px #d33 solid; background: transparent; } /* ============== GLOBAL SETTINGS END ================ */ /* ============= THEME REFERENCE COLORS ============== */ /* Xbox: Green black (#001500), White, Green (#4CFF00), XBL Orange (#FF7200), XBL Dark Green (#289728) Xbox 360: Light Green (#5dc21e), White (#f1f1f1), Light Gray (#c2c2c2), Mid Gray (#6b6b6b), Black, Green (#107c10) NES: Light grey (#f1f2ed), dark grey (#8a8988), Black, Red (#dc2e29) */