MediaWiki
Common.css: Difference between revisions
From Grouse House Wiki
No edit summary |
No edit summary |
||
Line 282: | Line 282: | ||
a.new:visited { | a.new:visited { | ||
color: #5388a0; | color: #5388a0; | ||
} | |||
/* Collapsible Headers */ | |||
h2.h-collapsible span.mw-headline:before { | |||
background-image: url(http://grousehouse.wiki/images/6/62/Downarrow.png); | |||
background-position: 50% 50%; | |||
background-repeat: no-repeat; | |||
background-size: 100% auto; | |||
content: ''; | |||
display: block; | |||
height: 12px; | |||
left: 0; | |||
margin: 0 0.25em; | |||
min-height: 1.5em; | |||
position: absolute; | |||
right: 0; | |||
width: 12px; | |||
} | |||
h2.h-collapsible span.mw-headline { | |||
margin-left: 1em; | |||
} | |||
.c-content { | |||
display: none; | |||
overflow: hidden; | |||
} | } |
Revision as of 10:58, 23 January 2024
/* Desktop: http://grousehouse.wiki/MediaWiki:Vector.css Mobile: http://grousehouse.wiki/MediaWiki:Minerva.css */ table.TB-basic-list { width: 40%; background-color: #c3c3c3; border: 1px solid black; border-collapse: collapse; } table.TB-basic-list th { background-color: black; color: white; padding: 5px; } table.TB-basic-list tr { border-top: 1px solid black; } table.TB-basic-list td { padding: 5px; } table.shopkeeper { width: 50%; border-collapse: collapse; margin: auto; } table.shopkeeper td { padding: 10px; } table.shopkeeper img { width: 20vw; } table.lunar_applicators { background-color: #dedede; border: 1px solid black; border-collapse: collapse; text-align: center; margin: 0 auto; } table.lunar_applicators td { border: 1px solid black; padding: 10px; } table.explore_encounter { width: 60%; margin: auto; background-color: #ededed; text-align: center; border-collapse: collapse; } table.explore_encounter td { padding: 10px; border: 1px solid black; } tr.encounter_options td:first-of-type { background-color: #b4b4b4; } tr.encounter_options td { background-color: #d1d1d1; } table.lunar_applicators tr td span a img[src*="lunarapps" i] { width: auto; max-width: 60vw; height: auto; } table.lunar_applicators tr td span a img[src*="base" i] { width: auto; max-width: 8vw; height: auto; } table.lunar_applicators tr td span a img[src*="markings" i] { width: auto; max-width: 8vw; height: auto; } table.lunar_applicators tr td span a img[src*="eyes" i] { width: auto; max-width: 8vw; height: auto; } table.lunar_applicators tr td span a img[src*="claw" i] { width: auto; max-width: 8vw; height: auto; } table.lunar_applicators tr td span a img[src*="skin" i] { width: auto; max-width: 8vw; height: auto; } table.lunar_applicators tr td span a img[src*="nose" i] { width: auto; max-width: 8vw; height: auto; } div.shopcontent { display: flex; flex-direction: row; text-align: center; flex-wrap: wrap; justify-content: center; } div.shop-item { background: #d4d4d4; margin-right: 15px; border: 1px solid gray; border-radius: 10px; margin-bottom: 15px; text-wrap: wrap; } div.shop-item span a img { max-width: 10vw; height: auto; } div.shop-item span a img[src*="preview"] { max-width: 10vw; height: auto; } div.shop-item i { font-size: 10px; } div.shop-text { padding: 10px; max-width: 15vw; margin: 0 auto; } div.shop-image { padding: 10px; background: white; min-width: 15vw; } div.shop-preview { border-radius: 0 0 10px 10px; background: white; padding: 10px; } div.itemgrid { display: flex; flex-direction: row; flex-direction: wrap; justify-content: center; text-align: center; flex-wrap: wrap; } div.griditem { background: #d4d4d4; margin-right: 15px; border: 1px solid gray; border-radius: 10px; margin-bottom: 15px; text-wrap: wrap; width: 8vw; min-width: 150px; } div.item-name { background-color: #acacac; border-radius: 10px 10px 0 0; padding: 10px 5px; min-height: 50px; height: auto; } div.item-image { padding: 10px; width: auto; } div.item-image img { max-width: 6vw; height: auto; width: auto; } table.crafting-recipe { width: 60%; margin: auto; background-color: #b0b0b0; border: 1px solid black; border-collapse: collapse; } tr.recipe-name td { padding: 10px; } td.recipe-thumb { background-color: #d4d4d4; text-align: center; width: 20%; padding: 10px; } td.recipe-ingredients { background: #d4d4d4; padding: 10px; } td.recipe-ingredients img { width: 40px; height: auto; padding: 5px; } td.recipe-obtention { text-align: center; padding: 10px; } td.recipe-preview { text-align: center; background-color: #d4d4d4; } .crowdsource-warning { background-color: #d4d4d4; width: 30%; margin: auto; border: 1px solid gray; border-radius: 20px; } .warningtitle { text-align: center; background-color: #b0b0b0; border-radius: 20px 20px 0 0; padding: 10px; font-weight: bold; } .warning-body { padding: 10px; } #footer-poweredbyico { display: none; } li#footer-places-about { display: none; } li#footer-places-disclaimers { display: none; } li#footer-copyrightico { display: none; } a.new:visited { color: #5388a0; } /* Collapsible Headers */ h2.h-collapsible span.mw-headline:before { background-image: url(http://grousehouse.wiki/images/6/62/Downarrow.png); background-position: 50% 50%; background-repeat: no-repeat; background-size: 100% auto; content: ''; display: block; height: 12px; left: 0; margin: 0 0.25em; min-height: 1.5em; position: absolute; right: 0; width: 12px; } h2.h-collapsible span.mw-headline { margin-left: 1em; } .c-content { display: none; overflow: hidden; }