m |
m |
||
(257 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html lang="en"> | <html lang="en"> | ||
<head> | <head> | ||
− | <title> | + | <title>Main CSS</title> |
− | < | + | <!--Important to only include bootstrap in ONE of the templates, things will break if you include it twice.--> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<style> | <style> | ||
html, body{ | html, body{ | ||
− | height: | + | height: 100vh; max-height: 100%; |
− | width: | + | width: 100vw; max-width: 100%; |
top: 18px; | top: 18px; | ||
− | |||
box-sizing: border-box; | box-sizing: border-box; | ||
+ | } | ||
+ | |||
+ | /********************************* Overriding the default wiki settings, rest in peace #sideMenu.*****************/ | ||
+ | #sideMenu, #top_title {display:none;} | ||
+ | #sideMenu { z-index: 10 !important; background-color: white; position: fixed;} | ||
+ | #content { | ||
+ | margin-left: 0 !important; all: initial; | ||
+ | height: 100%; width: 100%; padding:0px; | ||
+ | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; | ||
+ | } | ||
+ | body {background-color: white; } | ||
+ | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | ||
+ | #globalWrapper{ padding-bottom: 0 !important; } | ||
+ | |||
+ | |||
+ | .page-header{ | ||
+ | border-bottom: 1 px solid black; | ||
+ | } | ||
+ | |||
+ | /*cover image (the trees and mountains) styling*/ | ||
+ | .cover{ | ||
+ | background: #0F9347; /*backup in case the header image does not load*/ | ||
+ | position: relative; | ||
+ | top: -14px !important; left: 0 !important; | ||
+ | overflow: hidden; | ||
+ | height: 50vh; min-height: 50%; width: 100vw; max-width: 100%; | ||
+ | } | ||
+ | |||
+ | .cover .container-fluid{ | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | color: #ffffff; | ||
+ | padding-left: 60px; | ||
+ | } | ||
+ | |||
+ | #title{ | ||
+ | text-shadow: 0px 0px 15px black; /*helps the title text inside the cover image stand out*/ | ||
+ | } | ||
+ | |||
+ | /*breadcrumb navigation to show which path in the website you are on*/ | ||
+ | #breadcrumbs{ | ||
+ | background-color: #8CC63F; | ||
+ | height: 50px; color: #ffffff; line-height: 50px; font-size: 1em; | ||
+ | padding-left: 30px; margin-top: -14px; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #breadcrumbs a{ | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | |||
+ | /*generic content wrapper, ensures pages do not exceed 100% width*/ | ||
+ | .content-wrap{ | ||
+ | position: relative; | ||
+ | height: 100%; | ||
+ | background-color: white; | ||
+ | padding: 25px; | ||
+ | width: 100vw; max-width: 100%; | ||
+ | } | ||
+ | |||
+ | .content-wrap p{ | ||
+ | font-size: 16px !important; | ||
+ | text-indent: 50px; | ||
+ | } | ||
+ | |||
+ | /*styling for the links below each page encouraging readers to visit other sections of the website*/ | ||
+ | #read-more{ | ||
+ | background-color: #8CC63F; | ||
+ | height: 50px; color: #ffffff; line-height: 50px; | ||
+ | margin-bottom: 0; | ||
+ | text-align: center !important; font-size: 1em !important; | ||
+ | } | ||
+ | |||
+ | #up-next{ | ||
+ | height: 250px; background-color: grey; | ||
+ | } | ||
+ | |||
+ | #previous, #next{ | ||
+ | max-height: 250px; overflow: hidden; | ||
+ | padding-left: 0; padding-right: 0; | ||
+ | } | ||
+ | |||
+ | #previous:hover img, #next:hover img{ | ||
+ | transform: scale(1.15); | ||
+ | } | ||
+ | |||
+ | #previous figcaption, #next figcaption{ | ||
+ | background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 50%, rgba(0, 0, 0, 0.55) 100%); | ||
+ | position: absolute; width: 100%; height: 100px; | ||
+ | bottom: 0; left: 0; padding: 25px; | ||
+ | color: #ffffff; font-size: 2em; | ||
} | } | ||
</style> | </style> | ||
</head> | </head> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</html> | </html> |
Latest revision as of 14:14, 18 October 2016