User:Rjt/timeless.css: Difference between revisions
From Game Making Tools Wiki
< User:Rjt
m (added current infobox styling) |
m (infobox header) |
||
Line 3: | Line 3: | ||
:root { | :root { | ||
--colour_secondary:#ffaec9; | --colour_secondary:#ffaec9; | ||
--colour_tertiary:#fff200; | |||
} | } | ||
div#infobox { | div#infobox { | ||
background-color:var(--colour_secondary); | background-color:var(--colour_secondary); | ||
border:var(--colour_tertiary) 1px solid; | |||
display:block; | display:block; | ||
float:right; | |||
margin:1em 0 1em 1em; | margin:1em 0 1em 1em; | ||
padding:11px; | padding:11px; | ||
text-align:left; | text-align:left; | ||
width:auto; | |||
} | |||
div#infobox > h1 { | |||
size:1em; | |||
} | } | ||
Revision as of 21:20, 6 August 2020
/* Variables */ :root { --colour_secondary:#ffaec9; --colour_tertiary:#fff200; } div#infobox { background-color:var(--colour_secondary); border:var(--colour_tertiary) 1px solid; display:block; float:right; margin:1em 0 1em 1em; padding:11px; text-align:left; width:auto; } div#infobox > h1 { size:1em; } /* Header styling */ #mw-header-container { background-color:var(--colour_secondary); box-shadow: 0 1px 4px rgba(0,0,0,0.3); } #mw-header-hack { display:none; } #mw-content-container { margin-top:3em; }