Difference between revisions of "MediaWiki:Common.css"
From A3! Wiki
(added border color to infobox) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1,264: | Line 1,264: | ||
/* [end] For Navbox Links */ | /* [end] For Navbox Links */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* [start] For Infobox */ | /* [start] For Infobox */ | ||
.infobox { | .infobox { | ||
+ | float:right; | ||
width: 320px; | width: 320px; | ||
− | border: 1px solid; | + | border: 1px solid var(--mankai); |
border-radius: 15px; | border-radius: 15px; | ||
+ | border-spacing: 0; | ||
padding: 10px; | padding: 10px; | ||
margin-left: 1em; | margin-left: 1em; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
− | + | color: #000; | |
+ | } | ||
.infobox th { | .infobox th { | ||
Line 1,295: | Line 1,284: | ||
text-align: center; | text-align: center; | ||
} | } | ||
+ | |||
+ | .infobox .tabs { text-align: center; } | ||
@media only screen and (max-width: 600px) { | @media only screen and (max-width: 600px) { | ||
Line 1,368: | Line 1,359: | ||
.mankaitable th { | .mankaitable th { | ||
background: var(--mankai); | background: var(--mankai); | ||
− | |||
border-bottom: 1px solid var(--mankai); | border-bottom: 1px solid var(--mankai); | ||
color: #000; | color: #000; |
Latest revision as of 21:12, 12 November 2024
/* CSS placed here will be applied to all skins */ /* GO TO: http://yaycupcake.com/a3/index.php?title=MediaWiki:Timeless.css TO DO THINGS REGARDING BOOTSTRAP, MOBILE VIEW, MEDIA QUERIES, RESPONSIVE DESIGN, ETC. */ /* BEGIN CUSTOM CSS FOR A3! WIKI */ /* Table of Contents ================================= 1. COMMON 2. COLOR STYLES 3. STORY STYLES 4. TABLE STYLES 5. DIV STYLES 6. TAB STYLES 7. RESPONSIVE STYLES ================================= */ /* ================================= 1. COMMON ================================= */ /* Custom Fonts */ @import url('https://fonts.googleapis.com/css?family=Arvo:400,700'); @import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&subset=japanese'); @import url("https://use.fontawesome.com/releases/v5.0.4/css/all.css"); /* [begin] YAKUHAN */ /* =================================================== * * Webfonts Title: Yaku Han JP ver.Small Amount * Author: Qrac * URL: https://twitter.com/Qrac_jp * "Noto Sans CJK JP" licensed under the SIL Open Font License * https://www.google.com/get/noto/#/ * =================================================== */ @font-face { font-family: 'YakuHanJPs'; font-style: normal; font-weight: 100; src: url(../fonts/YakuHanJPs/YakuHanJPs-Thin.woff2) format('woff2'), url(../fonts/YakuHanJPs/YakuHanJPs-Thin.woff) format('woff'), url(../fonts/YakuHanJPs/YakuHanJPs-Thin.eot); } @font-face { font-family: 'YakuHanJPs'; font-style: normal; font-weight: 400; src: url(../fonts/YakuHanJPs/YakuHanJPs-Regular.woff2) format('woff2'), url(../fonts/YakuHanJPs/YakuHanJPs-Regular.woff) format('woff'), url(../fonts/YakuHanJPs/YakuHanJPs-Regular.eot); } @font-face { font-family: 'YakuHanJPs'; font-style: normal; font-weight: 900; src: url(../fonts/YakuHanJPs/YakuHanJPs-Black.woff2) format('woff2'), url(../fonts/YakuHanJPs/YakuHanJPs-Black.woff) format('woff'), url(../fonts/YakuHanJPs/YakuHanJPs-Black.eot); } /* [end] YAKUHAN */ /* [begin] Adjustments */ /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } .noautonum .tocnumber { display: none; padding: 0.5em; } * { box-sizing: border-box; } /* moving this above fonts will break them! */ img { vertical-align: middle; max-width: 100%; height: auto; width: auto\9; /* ie8 */ } /* [end] Adjustments */ /* Media Queries */ @media only screen and (max-width:92em) { .musicinfo { width: 18rem; } } @media only screen and (max-width: 62em) { .lessontable { width: 100%; } .musicinfo { float:none; width:100%; } } /* [end] Media Queries */ /* [begin] Homepage Styles */ h2.welcomeheader { font-family: arvo, sans-serif; font-weight: normal; margin-top: 0; text-transform: uppercase; letter-spacing: 0.1rem; font-size: 1.8rem; border-bottom: none; } /* [end] Homepage Styles */ /* Gallery Styles */ .smallgallery { font-size: 0.9em; margin-bottom: 3em; } /* ================================= 2. COLOR STYLES ================================= */ /* [begin] Custom Variables */ :root { --thin: 62em; --mid: 92em; --font-xlarge: 1.5em; --font-large: 1.2em; --font-small: 0.9em; --sakuya: #FF8282; --masumi: #826EE6; --tsuzuru: #00E6B4; --itaru: #FF375E; --citron: #ADE601; --tenma: #FFAA00; --yuki: #FFC0DF; --muku: #64F0FF; --misumi: #FFEB00; --kazunari: #00FF96; --banri: #BE8C00; --juza: #787878; --taichi: #FF4A8E; --omi: #782800; --sakyo: #C8BE96; --tsumugi: #0032BE; --tasuku: #00C80A; --hisoka: #001482; --homare: #D20029; --azuma: #A00096; --guy: #005e3c; --kumon: #c59ac5; --chikage: #5dc3d1; --azami: #e94730; --sakuya-light: #fff2f2; --masumi-light: #f2f0fc; --tsuzuru-light: #e5fcf7; --itaru-light: #ffebef; --citron-light: #f7fce5; --tenma-light: #fff6e5; --yuki-light: #fff9fc; --muku-light: #effdff; --misumi-light: #fffde5; --kazunari-light: #e5fff4; --banri-light: #f8f3e5; --juza-light: #f1f1f1; --taichi-light: #ffedf3; --omi-light: #f1e9e5; --sakyo-light: #f9f8f4; --tsumugi-light: #e5eaf8; --tasuku-light: #e5f9e6; --hisoka-light: #e5e7f2; --homare-light: #fae5e9; --azuma-light: #f5e5f4; --guy-light: #e5efeb; --kumon-light: #f9f5f9; --chikage-light: #eef9fa; --azami-light: #fdecea; --ichu-seiya: #ed1d26; --ichu-kokoro: #f654fa; --ichu-mutsuki: #00bdff; --ichu-ban: #dc560f; --ichu-hikaru: #ffa301; --ichu-saku: #155176; --spring: #FF91B2; --summer: #FFC800; --autumn: #FF9B63; --winter: #6AC1FF; --spring-med: #ffc8d8; --summer-med: #ffe37f; --autumn-med: #ffcdb1; --winter-med: #b4e0ff; --spring-light: #fff4f7; --summer-light: #fff9e5; --autumn-light: #fff5ef; --winter-light: #f0f9ff; --mankai: #ff6f96; --mankai-med: #ffb7ca; --mankai-light: #fff7f9; --a3-yellow: #ffd500; --a3-pink: #ff6f96; --a3-blue: #73ccff; --default: #6f7171; --default-light: #f0f1f1; --comedy: #fdf1d4; --action: #fcd4ce; --serious: #cce0ff; --comedy-dark: #fbe4b0; --action-dark: #f9b0a6; --serious-dark: #a3c5ff; --god-za: #483a6b; --god-za-light: #b6b0c4; } /* [end] Custom Variables */ /* [begin] Character Text Color */ .sakuya, .Sakuya { color: #FF8282; } .masumi, .Masumi { color: #826EE6; } .tsuzuru, .Tsuzuru { color: #00E6B4; } .itaru, .Itaru { color: #FF375E; } .citron, .Citron { color: #ADE601; } .tenma, .Tenma { color: #FFAA00; } .yuki, .Yuki { color: #FFC0DF; } .muku, .Muku { color: #64F0FF; } .misumi, .Misumi { color: #FFEB00; } .kazunari, .Kazunari { color: #00FF96; } .banri, .Banri { color: #BE8C00; } .juza, .Juza { color: #787878; } .taichi, .Taichi { color: #FF4A8E; } .omi, .Omi { color: #782800; } .sakyo, .Sakyo { color: #C8BE96; } .tsumugi, .Tsumugi { color: #0032BE; } .tasuku, .Tasuku { color: #00C80A; } .hisoka, .Hisoka { color: #001482; } .homare, .Homare { color: #D20029; } .azuma, .Azuma { color: #A00096; } .chikage, .Chikage { color: var(--chikage); } .kumon, .Kumon { color: var(--kumon); } .azami, .Azami { color: var(--azami); } .guy, .Guy { color: var(--guy); } /* [end] Character Text Color */ /* [begin] Season Text Color */ .spring, .Spring { color: #FF91B2 } .summer, .Summer { color: #FFC800 } .autumn, .Autumn { color: #FF9B63 } .winter, .Winter { color: #6AC1FF } /* [end] Season Text Color */ /* [begin] Character Background Color */ .sakuya-bg, .Sakuya-bg { background-color: #FF8282; } .masumi-bg, .Masumi-bg { background-color: #826EE6; } .tsuzuru-bg, .Tsuzuru-bg { background-color: #00E6B4; } .itaru-bg, .Itaru-bg { background-color: #FF375E; } .citron-bg, .Citron-bg { background-color: #ADE601; } .tenma-bg, .Tenma-bg { background-color: #FFAA00; } .yuki-bg, .Yuki-bg { background-color: #FFC0DF; } .muku-bg, .Muku-bg { background-color: #64F0FF; } .misumi-bg, .Misumi-bg { background-color: #FFEB00; } .kazunari-bg, .Kazunari-bg { background-color: #00FF96; } .banri-bg, .Banri-bg { background-color: #BE8C00; } .juza-bg, .Juza-bg { background-color: #787878; } .taichi-bg, .Taichi-bg { background-color: #FF4A8E; } .omi-bg, .Omi-bg { background-color: #782800; } .sakyo-bg, .Sakyo-bg { background-color: #C8BE96; } .tsumugi-bg, .Tsumugi-bg { background-color: #0032BE; } .tasuku-bg, .Tasuku-bg { background-color: #00C80A; } .hisoka-bg, .Hisoka-bg { background-color: #001482; } .homare-bg, .Homare-bg { background-color: #D20029; } .azuma-bg, .Azuma-bg { background-color: #A00096; } .chikage-bg { background-color: var(--chikage); } .kumon-bg { background-color: var(--kumon); } .azami-bg { background-color: var(--azami); } .guy-bg { background-color: var(--guy); } /* [end] Character Background Color */ /* [begin] Season Background Color */ .spring-bg, .Spring-bg { background-color: var(--spring) } .summer-bg, .Summer-bg { background-color: var(--summer) } .autumn-bg, .Autumn-bg { background-color: var(--autumn) } .winter-bg, .Winter-bg { background-color: var(--winter) } .default-bg, .Default-bg { background-color: var(--default) } .mankai-bg, .Mankai-bg { background-color: var(--mankai) } /* [end] Season Background Color */ /* [begin] Character Tables */ .sakuyatable th { background-color: var(--sakuya)!important; border-color: var(--sakuya)!important; } .sakuyatable, .sakuyatable td {border-color: var(--sakuya)!important; } .sakuyatable tr:hover { background-color: var(--sakuya-light)!important; } .masumitable th { background-color: var(--masumi)!important; border-color: var(--masumi)!important; color: #FFF!important;} .masumitable, .masumitable td {border-color: var(--masumi)!important; } .masumitable tr:hover { background-color: var(--masumi-light)!important; } .tsuzurutable th { background-color: var(--tsuzuru)!important; border-color: var(--tsuzuru)!important; } .tsuzurutable, .tsuzurutable td {border-color: var(--tsuzuru)!important; } .tsuzurutable tr:hover { background-color: var(--tsuzuru-light)!important; } .itarutable th { background-color: var(--itaru)!important; border-color: var(--itaru)!important; color: #FFF!important;} .itarutable, .itarutable td {border-color: var(--itaru)!important; } .itarutable tr:hover { background-color: var(--itaru-light)!important; } .citrontable th { background-color: var(--citron)!important; border-color: var(--citron)!important; } .citrontable, .citrontable td {border-color: var(--citron)!important; } .citrontable tr:hover { background-color: var(--citron-light)!important; } .chikagetable th { background-color: var(--chikage)!important; border-color: var(--chikage)!important; } .chikagetable, .chikagetable td {border-color: var(--chikage)!important; } .chikagetable tr:hover { background-color: var(--chikage-light)!important; } .tenmatable th { background-color: var(--tenma)!important; border-color: var(--tenma)!important; } .tenmatable, .tenmatable td {border-color: var(--tenma)!important; } .tenmatable tr:hover { background-color: var(--tenma-light)!important; } .yukitable th { background-color: var(--yuki)!important; border-color: var(--yuki)!important; } .yukitable, .yukitable td {border-color: var(--yuki)!important; } .yukitable tr:hover { background-color: var(--yuki-light)!important; } .mukutable th { background-color: var(--muku)!important; border-color: var(--muku)!important; } .mukutable, .mukutable td {border-color: var(--muku)!important; } .mukutable tr:hover { background-color: var(--muku-light)!important; } .misumitable th { background-color: var(--misumi)!important; border-color: var(--misumi)!important; } .misumitable, .misumitable td {border-color: var(--misumi)!important; } .misumitable tr:hover { background-color: var(--misumi-light)!important; } .kazunaritable th { background-color: var(--kazunari)!important; border-color: var(--kazunari)!important; } .kazunaritable, .kazunaritable td {border-color: var(--kazunari)!important; } .kazunaritable tr:hover { background-color: var(--kazunari-light)!important; } .kumontable th { background-color: var(--kumon)!important; border-color: var(--kumon)!important; } .kumontable, .kumontable td {border-color: var(--kumon)!important; } .kumontable tr:hover { background-color: var(--kumon-light)!important; } .banritable th { background-color: var(--banri)!important; border-color: var(--banri)!important; color: #FFF!important;} .banritable, .banritable td {border-color: var(--banri)!important; } .banritable tr:hover { background-color: var(--banri-light)!important; } .juzatable th { background-color: var(--juza)!important; border-color: var(--juza)!important; color: #FFF!important; } .juzatable, .juzatable td {border-color: var(--juza)!important;} .juzatable tr:hover { background-color: var(--juza-light)!important; } .taichitable th { background-color: var(--taichi)!important; border-color: var(--taichi)!important; color: #FFF!important;} .taichitable, .taichitable td {border-color: var(--taichi)!important;} .taichitable tr:hover { background-color: var(--taichi-light)!important; } .omitable th { background-color: var(--omi)!important; border-color: var(--omi)!important; color: #FFF!important;} .omitable, .omitable td {border-color: var(--omi)!important; } .omitable tr:hover { background-color: var(--omi-light)!important; } .sakyotable th { background-color: var(--sakyo)!important; border-color: var(--sakyo)!important; } .sakyotable, .sakyotable td {border-color: var(--sakyo)!important; } .sakyotable tr:hover { background-color: var(--sakyo-light)!important; } .azamitable th { background-color: var(--azami)!important; border-color: var(--azami)!important; color: #FFF!important;} .azamitable, .azamitable td {border-color: var(--azami)!important; } .azamitable tr:hover { background-color: var(--azami-light)!important; } .tsumugitable th { background-color: var(--tsumugi)!important; border-color: var(--tsumugi)!important; color: #FFF!important;} .tsumugitable, .tsumugitable td {border-color: var(--tsumugi)!important; } .tsumugitable tr:hover { background-color: var(--tsumugi-light)!important; } .tasukutable th { background-color: var(--tasuku)!important; border-color: var(--tasuku)!important; color: #FFF!important; } .tasukutable, .tasukutable td {border-color: var(--tasuku)!important; } .tasukutable tr:hover { background-color: var(--tasuku-light)!important; } .hisokatable th { background-color: var(--hisoka)!important; border-color: var(--hisoka)!important; color: #FFF!important;} .hisokatable, .hisokatable td {border-color: var(--hisoka)!important; } .hisokatable tr:hover { background-color: var(--hisoka-light)!important; } .homaretable th { background-color: var(--homare)!important; border-color: var(--homare)!important; color: #FFF!important;} .homaretable, .homaretable td {border-color: var(--homare)!important; } .homaretable tr:hover { background-color: var(--homare-light)!important; } .azumatable th { background-color: var(--azuma)!important; border-color: var(--azuma)!important; color: #FFF!important;} .azumatable, .azumatable td {border-color: var(--azuma)!important; } .azumatable tr:hover { background-color: var(--azuma-light)!important; } .guytable th { background-color: var(--guy)!important; border-color: var(--guy)!important; color: #FFF!important;} .guytable, .guytable td {border-color: var(--guy)!important; } .guytable tr:hover { background-color: var(--guy-light)!important; } /* [end] Character Tables */ /* [begin] Border Colours */ .storyborder { border-style: solid; } .Sakuya-story, .sakuya-story { border-color: rgb(255, 130, 130)!important; } .Masumi-story, .masumi-story { border-color: #826EE6!important; } .Tsuzuru-story, .tsuzuru-story { border-color: rgb(0, 230, 180)!important; } .Itaru-story, .itaru-story { border-color: rgb(255, 55, 94)!important; } .Citron-story, .citron-story { border-color: rgb(173, 230, 1)!important; } .Chikage-story, .chikage-story { border-color: var(--chikage)!important; } .Tenma-story, .tenma-story { border-color: #FFAA00!important; } .Yuki-story, .yuki-story { border-color: #FFC0DF!important; } .Muku-story, .muku-story { border-color: #64F0FF!important; } .Misumi-story, .misumi-story { border-color: #FFEB00!important; } .Kazunari-story, .kazunari-story { border-color: #00FF96!important; } .Kumon-story, .kumon-story { border-color: var(--kumon)!important; } .Banri-story, .banri-story { border-color: #BE8C00!important; } .Juza-story, .juza-story { border-color: #787878!important; } .Taichi-story, .taichi-story { border-color: #FF4A8E!important; } .Omi-story, .omi-story { border-color: #782800!important; } .Sakyo-story, .sakyo-story { border-color: #C8BE96!important; } .Azami-story, .azami-story { border-color: var(--azami)!important; } .Tsumugi-story, .tsumugi-story { border-color: #0032BE!important; } .Tasuku-story, .tasuku-story { border-color: #00C80A!important; } .Hisoka-story, .hisoka-story { border-color: #001482!important; } .Homare-story, .homare-story { border-color: #D20029!important; } .Azuma-story, .azuma-story { border-color: #A00096!important; } .Guy-story, .guy-story { border-color: var(--guy)!important; } .Izumi-story, .izumi-story { border-color: rgb(249, 162, 209)!important; } .Other-story, .other-story { border-color: #afafaf!important; } /* Troupes */ .spring-story { border-color: var(--spring)!important; } .summer-story { border-color: var(--summer)!important; } .autumn-story { border-color: var(--autumn)!important; } .winter-story { border-color: var(--winter)!important; } /* I-Chus */ .Seiya-story, .seiya-story { border-color: #ed1d26!important; } .Kokoro-story, .kokoro-story { border-color: #f654fa!important; } .Mutsuki-story, .mutsuki-story { border-color: #00bdff!important; } .Ban-story, .ban-story { border-color: #dc560f!important; } .Hikaru-story, .hikaru-story { border-color: #ffa301!important; } .Saku-story, .saku-story { border-color: #155176!important; } /* [end] Border Colours */ /* ================================= 3. STORY STYLES ================================= */ /* [begin] Story Hub */ .miniConvoContainer table, .crosstalk table { width: 60em; } .miniConvoContainer caption, .crosstalk caption { padding: 0.5em; } .crosstalk caption { background-color: #ccccff; border-color: #ccccff; } .crosstalk th, .crosstalk td { border-color: #ccccff!important; text-align: center; } .crosstalk td:first-of-type, .crosstalk td:nth-of-type(2) { text-align: left; padding: 0.5em; } .miniConvoTalk tr { vertical-align: top; } /* [end] Story Hub */ /* [begin] Story Tables */ .storytable tr:first-of-type th:first-of-type, .storytable tr:first-of-type th:last-of-type, .storytable tr:last-of-type th:first-of-type, .storytable tr:last-of-type th:last-of-type { width: 15%; } .storytable tr:nth-of-type(2):not(.line) { padding: 20px!important; } table.storytable { width: 90%; margin: 1em auto; background-color: #f8f9fa; border: 1px solid #a2a9b1; border-collapse: collapse; color: #000; } table.storytable > tr > th, table.storytable > tr > td, table.storytable > * > tr > th, table.storytable > * > tr > td { border: 1px solid #a2a9b1; padding: 0.2em 0.4em; } table.storytable > tr > th, table.storytable > * > tr > th { background-color: #eaecf0; text-align: center; } table.storytable > caption { font-weight: bold; } .storybodytable { margin: 1em auto!important; width: 95%; } .storybodytable tr td:last-of-type:empty { height: 2em; /*This makes empty lines for scene changes a bit taller to make it more obvious.*/ } .storybodytable tr td:first-of-type:not(.storychoice) { font-weight: bold; width: 74px; text-align: right; padding-top: 10px; padding-right: 5px; vertical-align: top; } .storybodytable tr td:first-of-type:not(:empty):not(.storyimage):not(.storychoice):not(.storytitle):not(.LIME):after { content: ":"; } .storybodytable tr td:last-of-type { padding: 10px 10px 10px 15px; vertical-align: top; } table.storybodytable.miniconvotable { width: 100%; } /* [end] Story Tables */ /* [begin] Story LIME Code */ .springlimebg, .summerlimebg, .autumnlimebg, .winterlimebg, .defaultlimebg, .izumilimebg { letter-spacing: 0.5px; border-radius: 0 10px; padding: 0.5em; } .springlimebg, .autumnlimebg, .winterlimebg, .defaultlimebg, .izumilimebg { color: #fff; } .summerlimebg { color: #000; } .springlimebg { background: #ea338c; } .summerlimebg { background: #f5bc41; } .autumnlimebg { background: #ed6f2d; } .winterlimebg { background: #4294f8; } .izumilimebg { background: #eda5ce; } .defaultlimebg { background: #333; } .limeicon { margin: 0 4px 0.5em 0; display: inline-block; } .LIME { width: 100%; text-align: left!important; } .LIME-container { margin: 0 auto; width: 70% } .LIME-name { font-weight: bold; font-size: 0.9em; } .limeicon { width: 33px; vertical-align: top; } .LIME-text { display: inline-block; max-width: calc(100% - 42px); } /* [end] Story LIME Code */ /* ================================= 4. TABLE STYLES ================================= */ /* [begin] Custom Tables */ /* Album Tables */ .albumtable caption { background-color: #AAA; border-color: #AAA; font-size: 1em; } .albumtable td { border-color: #AAA; font-size: 0.9em; } .albumtable { width: 65em; } /* Skills Tables */ .linkskilltable > .cargoTable tr td:nth-of-type(2) { min-width: 8em; } .linkskilltable > .cargoTable tr td:nth-of-type(4) { min-width: 8em; } .adlibtable th, .adlibtable td { border-color: #9900ff!important; } .adlibtable th { background-color: #cb94ff!important; } .cotable td:nth-of-type(1) { font-weight: bold; background-color: var(--comedy)!important; } .cotable td:nth-of-type(1):hover { background-color: var(--comedy-dark)!important; } .actable td:nth-of-type(2) { font-weight: bold; background-color: var(--action)!important; } .actable td:nth-of-type(2):hover { background-color: var(--action-dark)!important; } .srtable td:nth-of-type(3) { font-weight: bold; background-color: var(--serious)!important; } .srtable td:nth-of-type(3):hover { background-color: var(--serious-dark)!important; } /* Translator Credit */ .translatorcredit { text-align: center; border: 1px solid #aaa; border-radius: 10px; background-color: #f9f9f9; padding: 1em; } .translatorcredit::before { content: "Translator:\00a0 "; } .translatorcredit span { font-variant: small-caps; font-weight: bold; } @font-face { font-family: pangolin; src: url(Pangolin-Regular.ttf); } .testclass { font-family: pangolin, sans-serif; } /* Outside Work Tables */ .outsideworktable td { padding: 0.5em; } .outsideconvotable { width: 95em; font-size: 0.9em; text-align: center; } th.outsideconvoicon { padding: 1em; width: 18em; } /* Practice Mission Tables */ th.practice { width: 10em; } th.lp { width: 2em; } /* Ranking Tables Tables */ .rankingtable td { text-align: center; } .rankingtable li { text-align: left; } .place { font-weight: bold; } .rankingtable ul { list-style: none; margin: 0; padding: 0.7em; } /*.rankingtable tr td:nth-of-type(3) li { display: inline-block; }*/ /* [begin] Point Rewards */ table.mw-collapsible.pointstable.wikitable { text-align: left; background: transparent; width: 95%; } .pointstable td { vertical-align: middle; } .pointstable tr:nth-child(even) { background: #f9f9f9; } .pointstable tr td:nth-of-type(odd) { font-weight: bold; } .pointscontainer { width: 100%; max-width: 800px; } .pointsdiv { max-height: 500px; overflow-y: auto; flex-grow: 1; flex-basis: 300px; margin-right: 1em; margin-bottom: 1em; } /* [end] Point Rewards */ /* [end] Custom Tables */ /* ================================= 5. DIV STYLES ================================= */ /* [begin] For Custom Divs */ /* [begin] For Events/Scouting Styles */ .eventbox, .gachabox { display: flex; align-items: flex-start; } .gachainfo, .eventinfo { flex-grow: 1; } .gachainfo { margin-right: 3em; } .eventbanner { order: 2; margin-left: 1em; justify-self: flex-end; } .eventbanner img { width: auto; max-width: none; } .eventinfo ul { list-style: none; margin: 0; } .gachabox img { object-fit: contain; } /* [end] For Events/Scouting Styles */ /* [creates] Flex Container with wrapping */ .flex-container { display: flex; flex-wrap: wrap; flex-direction: row; } .cast-container { width: 80%; margin: 1em auto; } /* [creates] Flex Box that Wraps; optional title */ .flex-title { text-align: center; min-width: 200px; flex-grow: 1; flex-basis: 200px; } .cast-title { font-weight: bold; font-size: var(--font-xlarge); } .storynav-title { font-size: var(--font-large); font-weight: bold; width: 100%; padding: 10px; } /* [creates] row within Flex Box*/ .flex-row { v-align: top; overflow: hidden; flex-basis: 200px; } .flex-row > div { padding: 5px; } .cast { text-align: center; flex-grow: 5; } /* [creates] Grid-type layout for Story Chapters etc. */ .grid-chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(12em, 1fr)); height: 20em; overflow-y: auto; overflow-x: hidden; align-content: start; } .grid-chapters > * { padding: 10px; } .grid-chapters div:hover { background: var(--default-light); } .grid-mankai div:hover { background: var(--mankai-light); color: var(--mankai); } .grid-spring div:hover { background: var(--spring-light); color: var(--spring); } .grid-summer div:hover { background: var(--summer-light); color: var(--summer); } .grid-autumn div:hover { background: var(--autumn-light); color: var(--autumn); } .grid-winter div:hover { background: var(--winter-light); color: var(--winter); } .grid-sakuya div:hover { background: var(--sakuya-light); color: var(--sakuya); } .grid-masumi div:hover { background: var(--masumi-light); color: var(--masumi); } .grid-tsuzuru div:hover { background: var(--tsuzuru-light); color: var(--tsuzuru); } .grid-itaru div:hover { background: var(--itaru-light); color: var(--itaru); } .grid-citron div:hover { background: var(--citron-light); color: var(--citron); } .grid-chikage div:hover { background: var(--chikage-light); color: var(--chikage); } .grid-tenma div:hover { background: var(--tenma-light); color: var(--tenma); } .grid-yuki div:hover { background: var(--yuki-light); color: var(--yuki); } .grid-muku div:hover { background: var(--muku-light); color: var(--muku); } .grid-misumi div:hover { background: var(--misumi-light); color: var(--misumi); } .grid-kazunari div:hover { background: var(--kazunari-light); color: var(--kazunari); } .grid-kumon div:hover { background: var(--kumon-light); color: var(--kumon); } .grid-banri div:hover { background: var(--banri-light); color: var(--banri); } .grid-juza div:hover { background: var(--juza-light); color: var(--juza); } .grid-taichi div:hover { background: var(--taichi-light); color: var(--taichi); } .grid-omi div:hover { background: var(--omi-light); color: var(--omi); } .grid-sakyo div:hover { background: var(--sakyo-light); color: var(--sakyo); } .grid-azami div:hover { background: var(--azami-light); color: var(--azami); } .grid-tsumugi div:hover { background: var(--tsumugi-light); color: var(--tsumugi); } .grid-tasuku div:hover { background: var(--tasuku-light); color: var(--tasuku); } .grid-hisoka div:hover { background: var(--hisoka-light); color: var(--hisoka); } .grid-homare div:hover { background: var(--homare-light); color: var(--homare); } .grid-azuma div:hover { background: var(--azuma-light); color: var(--azuma); } .grid-guy div:hover { background: var(--guy-light); color: var(--guy); } /* [creates] Card/Button-type Lists with optional sizes and styles */ .list { flex-basis: 200px; flex-grow: 1; padding: 10px; margin: 10px; border-radius: 15px; text-align: center; } .list-r {max-width: 300px;} .list-small { flex-basis: 200px; text-align: left; padding: 10px; } .list > div {padding: 5px;} .list-spring {background: #ffeff4; border: 1px solid #FF91B2} .list-spring > div {background: #FF91B2;} .list-summer {background: #fff9e5; border: 1px solid #ffc800} .list-summer > div {background: #ffc800;} .list-autumn {background: #fff0e8; border: 1px solid #ff9b63} .list-autumn > div {background: #ff9b63;} .list-winter {background: #e9f6ff; border: 1px solid #6ac1ff} .list-winter > div {background: #6ac1ff;} /* [creates] Quotes Rows */ .quotes-header { background-color: var(--mankai); font-weight: bold; padding: 0.5em; } .quotes .flex-title { padding: 5px; background-color: var(--default-light); margin: 0.1rem; display: flex; flex-direction: column; justify-content: center; } .quotes .flex-row { flex-basis: 300px; flex-grow: 5; margin: 0.1rem; } /* [creates] Blog container */ .blog { display: grid; grid-template-areas: 'flower border author' 'flower border title' 'flower border content'; width: 100%; column-gap: 13px; align-content: start; } .content { grid-area: content; } .author { grid-area: author; font-weight: bold; } .flower { grid-area: flower; } .title { font-size: 150%; grid-area: title; } .border { grid-area: border; border-right: 2px dotted #f6f6f6; } @media screen and (max-width: 900px) { .blog { grid-template-areas: 'title title title author flower' 'border border border border border' 'content content content content content'; column-gap: 0px; align-items: center; } .border { border-top: 2px dotted #f6f6f6; } .flower { width: 30px; justify-self: end; } .author { justify-self: end; } } /* [end] For Custom Divs */ /* ================================= 6. TAB STYLES ================================= */ /* [begin] for Styled Tabs */ .tabs-container .tabs-content { width: 100% } .tabs-mankai .tabs-label { width: 20%; min-width: 10em; padding: 1em; margin: 0.5rem; font-size: var(font-large); font-weight: bold; border: 2px solid!important; border-radius: 10px!important; color: #fff; text-align: center; } .tabs-mankai .tabs-label { background-color: var(--mankai); } .tabs-mankai .tabs-label:hover, .tabs-mankai .tabs-input:checked + .tabs-label, .tabs-mankai .tabs-input-0:checked + .tabs-input-1 + .tabs-label { background-color: var(--mankai-light); color: var(--mankai); } .tabs-troupe .tabs-label { width: 20%; min-width: 10em; padding: 1em; margin: 0.5rem; font-size: var(font-large); font-weight: bold; border: 2px solid!important; border-radius: 10px!important; color: #fff; text-align: center; } .tabs-troupe .tabs-label:nth-of-type(1) { background-color: var(--spring); } .tabs-troupe .tabs-label:nth-of-type(1):hover, .tabs-troupe input[type=radio]:checked + label:nth-of-type(1) { background-color: var(--spring-light); color: var(--spring); } .tabs-troupe .tabs-input-0:checked + .tabs-input-1 + .tabs-label { background-color: var(--spring-light); color: var(--spring); } .tabs-troupe .tabs-label:nth-of-type(2) { background-color: var(--summer); } .tabs-troupe .tabs-label:nth-of-type(2):hover, .tabs-troupe input[type=radio]:checked + label:nth-of-type(2) { background-color: var(--summer-light); color: var(--summer); } .tabs-troupe .tabs-label:nth-of-type(3) { background-color: var(--autumn); } .tabs-troupe .tabs-label:nth-of-type(3):hover, .tabs-troupe input[type=radio]:checked + label:nth-of-type(3) { background-color: var(--autumn-light); color: var(--autumn); } .tabs-troupe .tabs-label:nth-of-type(4) { background-color: var(--winter); } .tabs-troupe .tabs-label:nth-of-type(4):hover, .tabs-troupe input[type=radio]:checked + label:nth-of-type(4) { background-color: var(--winter-light); color: var(--winter); } .tabs-troupe .tabs-label { background-color: var(--default); } .tabs-troupe .tabs-label:hover, .tabs-troupe .tabs-input:checked + .tabs-label { background-color: var(--default-light); color: var(--default); } /* Styled Tabber .tabbernav { border: none!important; } .tabbernav a { padding: 0.5em!important; margin: 0.3em!important; background-color: var(--mankai)!important; border: 2px solid var(--mankai)!important; border-radius: 10px; color: #fff!important; font-family: sans-serif; } .tabberactive a { background-color: var(--mankai-light)!important; color: var(--mankai)!important; } .tabberactive a:hover { background-color: var(--mankai-light)!important; border: 2px solid var(--mankai)!important; color: var(--mankai)!important; } .tabbertab { border: none!important; } [end] For Styled Tabs */ /* [begin] For Music Styles */ table.jukebox.wikitable { max-width: 92em; padding: 0.5em; } .jukebox table tr { vertical-align: top; } .jukebox th { max-width: 30%; } .lyricbox { vertical-align: top; } .lyricbox table tr td { padding: 0.5rem; } .musicinfo { width: 21rem; float: right; font-size:0.9em; border-radius:15px; } .musicinfo td { padding: 0.4em; } .musicinfo th { text-align: left; padding: 0.4em; } th.musicinfo-title { text-align: center; } .springmusic { border:1px solid #ff91b2!important; background:#ffeff4; } th.musicinfo-title.springmusic { background: #ff91b2; } .summermusic { border:1px solid #ffc800!important; background:#fff9e5; } th.musicinfo-title.summermusic { background: #ffc800; } .autumnmusic { border:1px solid #ff9b63!important; background:#fff0e8; } th.musicinfo-title.autumnmusic { background: #ff9b63; } .wintermusic { border:1px solid #6ac1ff!important; background:#e9f6ff; } th.musicinfo-title.wintermusic { background: #6ac1ff!important; } #music-cover, #music-info, #music-lyrics { display:inline-block; } /* [end] For Music Styles */ /* [start] For Navbox Links */ .navboxtable th { background-color: var(--mankai); border-radius: 15px; font-family: arvo, sans-serif; text-transform: uppercase; letter-spacing: 0.1rem; font-size: 1.1rem; font-weight: bold; } .navboxtable th a, .navboxtable th a:visited, .navboxtable th a:hover { color: #000; text-decoration: none; } .navboxtable tr td:first-of-type{ width: 7rem; } /* [end] For Navbox Links */ /* [start] For Infobox */ .infobox { float:right; width: 320px; border: 1px solid var(--mankai); border-radius: 15px; border-spacing: 0; padding: 10px; margin-left: 1em; margin-bottom: 1em; color: #000; } .infobox th { padding: 5px 0; font-size: 1.2em; text-align: center; } .infobox .tabs { text-align: center; } @media only screen and (max-width: 600px) { .infobox { width: 100%; margin-left: 0; } } /* [end] For Infobox */ /* [start] Quotes */ .quotes-sub { padding: 0.6em; } .quote-pair { margin: 0.5em; } /* [end] Quotes */ /* ================================= 7. RESPONSIVE STYLES ================================= */ /* [start] NEW TABLES */ .table { border-collapse: collapse; width: 100%; max-width: 100%; margin-bottom: 1rem; background-color: transparent; text-align: left; } .table th { color: #495057; background-color: #dee2e6; border-bottom: 2px solid #dee2e6; } .table td, .table th { padding: .70rem; border-top: 1px solid #dee2e6; } .table th { text-align: inherit; } .table tbody tr:hover { background-color: #fcfcfc; } .table-bordered { border: 1px solid #dee2e6; } .table caption { font-weight: bold; font-size: 1.2em; } /* Table colours */ .mankaitable th { background: var(--mankai); border-bottom: 1px solid var(--mankai); color: #000; } .mankaitable tbody tr:hover { background-color: var(--mankai-light); } .mankaitable td { border-top: 1px solid var(--mankai-med); } .springtable th { background: var(--spring); border-color: var(--spring); border-bottom: 1px solid var(--spring); color: #000; } .springtable tbody tr:hover { background-color: var(--spring-light); } .springtable td { border-top: 1px solid #ffc8d8; } .summertable th { background: var(--summer); border-color: var(--summer); border-bottom: 1px solid var(--summer); color: #000; } .summertable tbody tr:hover { background-color: var(--summer-light); } .summertable td { border-top: 1px solid #ffe37f; } .autumntable th { background: var(--autumn); border-color: var(--autumn); border-bottom: 1px solid var(--autumn); color: #000; } .autumntable tbody tr:hover { background-color: var(--autumn-light); } .autumntable td { border-top: 1px solid #ffcdb1; } .wintertable th { background: var(--winter); border-color: var(--winter); border-bottom: 1px solid var(--winter); color: #000; } .wintertable tbody tr:hover { background-color: var(--winter-light); } .wintertable td { border-top: 1px solid #b4e0ff; } /* Compact tables */ .table-sm td, .table-sm th { padding: .3rem; } /* Responsive tables */ .table-responsive { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; -ms-overflow-style: -ms-autohiding-scrollbar; } .infobox tr:hover { background: transparent!important; } .cardinfobox .infobox tr:hover { background: transparent!important; } /* [end] NEW TABLES */ /* END CUSTOM CSS FOR A3! WIKI */