User:Rjt/timeless.css: Difference between revisions
From Game Making Tools Wiki
< User:Rjt
m (testing alignment) |
(row styling) |
||
Line 2: | Line 2: | ||
:root { | :root { | ||
--colour_bg:#ffffff; | |||
--colour_secondary:#ffaec9; | --colour_secondary:#ffaec9; | ||
--colour_tertiary:#fff200; | --colour_tertiary:#fff200; | ||
Line 16: | Line 17: | ||
width:auto; | width:auto; | ||
} | } | ||
table#infobox tr { | table#infobox tr.list { | ||
border-top:var(--colour_bg) 1px dashed; | |||
margin-top:1em; | |||
vertical-align:top | vertical-align:top | ||
} | } |
Revision as of 22:26, 6 August 2020
/* Variables */ :root { --colour_bg:#ffffff; --colour_secondary:#ffaec9; --colour_tertiary:#fff200; } table#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; } table#infobox tr.list { border-top:var(--colour_bg) 1px dashed; margin-top:1em; vertical-align:top } /* 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; }