Difference between revisions of "Common.css"
From Unofficial Stationeers Wiki
m (add padding to TOC) |
m (Clean up area above articles) |
||
Line 11: | Line 11: | ||
/* Page titles */ | /* Page titles */ | ||
#content .title { | #content .title { | ||
โ | margin-top: | + | margin-top: .5em; |
font-size: 2.5em; | font-size: 2.5em; | ||
} | } | ||
Line 90: | Line 90: | ||
margin: 0.5em 0 0.5em 1em; | margin: 0.5em 0 0.5em 1em; | ||
} | } | ||
+ | } | ||
+ | |||
+ | /* Clean up area above articles */ | ||
+ | #page-content>.row>.p-cactions { | ||
+ | padding-top: .5em; | ||
} | } |
Revision as of 10:04, 29 January 2018
.main-banner { background-color: #183d62; padding: 80px 20px; } .main-banner img { max-width: 100%; height: auto; } /* Page titles */ #content .title { margin-top: .5em; font-size: 2.5em; } #tagline { display: none; } #sitesub.subtitle { border-bottom: solid 2px #183d62; box-shadow: 0px 1px 1px #3f566d; } /* sub-headers */ .subheader { background: #183d62; color: #fff; text-align: center; padding: .5em; } .subheader .fa{ padding-right: 10px; } /* Table of Contents */ #toc { padding: 0.5em; } /* Infobox CSS */ /* The main box */ .infobox { background: #DEDEDE; border-spacing: 3px; margin: 0 0 .5em; width: 100%; padding: 0.2em; line-height: 1.5em; } .infobox>caption { background: #183d62; color: #fff; padding: .5em; font-size: 1.4em; } .infobox th { font-weight: bold; } .infobox th:only-child { background: rgba(24, 61, 98, 0.6); color: #EEE; } .infobox tr.even, .infobox tr.alt, .infobox tr:nth-of-type(2n) { background: #CFCFD8; } /* The little template links */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } .hlist dd::after, .hlist li::after { content: " ยท "; font-weight: bold; } .hlist dd:last-child::after, .hlist dt:last-child::after, .hlist li:last-child::after { content: none; } /* Infobox large screen */ @media only screen and (min-width: 50em) { .infobox { float: right; clear: right; width: 22em; margin: 0.5em 0 0.5em 1em; } } /* Clean up area above articles */ #page-content>.row>.p-cactions { padding-top: .5em; }