User:Rjt/timeless.css: Difference between revisions
From Game Making Tools Wiki
< User:Rjt
m (sidebar headings) |
(styling for front page infobox) |
||
| Line 13: | Line 13: | ||
float:right; | float:right; | ||
margin:1em 0 1em 1em; | margin:1em 0 1em 1em; | ||
padding: | padding:1em; | ||
text-align:left; | text-align:left; | ||
width:auto; | width:auto; | ||
} | |||
body.page-Main_Page table#infobox { | |||
width:19em | |||
} | } | ||
table#infobox tr.list > td, | table#infobox tr.list > td, | ||
| Line 22: | Line 25: | ||
vertical-align:top | vertical-align:top | ||
} | } | ||
table#infobox td.date { | |||
text-align:right; | |||
} | |||
/* Main header styling */ | /* Main header styling */ | ||
Revision as of 23:49, 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:1em;
text-align:left;
width:auto;
}
body.page-Main_Page table#infobox {
width:19em
}
table#infobox tr.list > td,
table#infobox tr.list > th {
border-top:var(--colour_bg) 1px dashed;
vertical-align:top
}
table#infobox td.date {
text-align:right;
}
/* Main 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;
}
/* Headers */
.mw-body h1.firstHeading {
border-bottom: var(--colour_secondary) 1px solid;
}
.mw-body .mw-parser-output h2::after,
#mw-site-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3 {
border-bottom: var(--colour_secondary) 1px dashed;
}