diff options
author | calintat <calintat@gmail.com> | 2017-07-08 14:06:04 +0300 |
---|---|---|
committer | calintat <calintat@gmail.com> | 2017-07-08 14:06:04 +0300 |
commit | 0b201855eb4201637994c098b90c749a76474df1 (patch) | |
tree | 5d324116e7a5fbe0779cacb458c2db2a28e07fff | |
parent | 52ffda6c6dcb77c56185fb5de3023cded7450c77 (diff) |
Added main stylesheet
-rw-r--r-- | static/css/main.css | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css new file mode 100644 index 0000000..cf18040 --- /dev/null +++ b/static/css/main.css @@ -0,0 +1,90 @@ +html, body { + height: 100%; +} + +body { + padding-top: 55px; + display: flex; + text-align: center; + flex-direction: column; +} + +main { + margin: auto; + padding: 25px; + flex: 1 0 auto; + max-width: 750px; +} + +/*footer*/ + +.copyright { + margin: 15px 0; +} + +/*home page*/ + +.intro { + margin: 25vh 0; +} + +.intro > h1 { + color: #212121; + font-size: 12vh; +} + +.intro > h2 { + color: #757575; + font-size: 4vmin; +} + +/*apply accent colour to links*/ + +a:link, a:visited { + color: var(--accent); +} + +a.icon:hover { + text-decoration: none; +} + +a:hover { + color: var(--accent) !important; +} + +/*paginator at bottom of list view*/ + +.pages { + padding: 15px 0; +} + +.pages-icon { + padding: 0 15px; +} + +/*list item for posts and projects*/ + +.item { + padding: 10px 0; +} + +.item-tag { + background-color: var(--accent); +} + +/*navigation bar icons*/ + +.navbar-icon { + font-size: 125%; + display: inline-block !important; +} + +/*coloured borders at top and bottom of the page*/ + +.navbar.navbar-default { + border-top: var(--border-width) solid var(--accent); +} + +footer { + border-bottom: var(--border-width) solid var(--accent); +} |