Line 57: | Line 57: | ||
padding: 10% 10% 0 10%; | padding: 10% 10% 0 10%; | ||
} | } | ||
− | #bodyContent | + | #bodyContent article{ |
padding:10%; | padding:10%; | ||
} | } | ||
− | #bodyContent | + | #bodyContent article p { |
//column-count: 1; | //column-count: 1; | ||
//column-gap: 40px; | //column-gap: 40px; | ||
Line 68: | Line 68: | ||
padding: 10px 0; | padding: 10px 0; | ||
} | } | ||
− | #bodyContent | + | #bodyContent footer { |
display: flex; | display: flex; | ||
flex-direction: row; | flex-direction: row; | ||
Line 77: | Line 77: | ||
background: #1C1E1F; | background: #1C1E1F; | ||
} | } | ||
− | #bodyContent | + | #bodyContent footer i { |
color: rgba(255, 255, 255, 0.3); | color: rgba(255, 255, 255, 0.3); | ||
padding: 20px; | padding: 20px; | ||
Line 83: | Line 83: | ||
transition: all 1s ease; | transition: all 1s ease; | ||
} | } | ||
− | #bodyContent | + | #bodyContent footer i:hover { |
color: rgba(255, 255, 255, 1); | color: rgba(255, 255, 255, 1); | ||
} | } | ||
Line 159: | Line 159: | ||
margin: auto; | margin: auto; | ||
} | } | ||
− | #bodyContent h1, | + | #bodyContent h1,h2,h3,h4,h5,h6 { |
− | h2, | + | |
− | h3, | + | |
− | h4, | + | |
− | h5, | + | |
− | h6 { | + | |
color: #149375; | color: #149375; | ||
border: none; | border: none; | ||
Line 171: | Line 166: | ||
text-rendering: optimizeLegibility; | text-rendering: optimizeLegibility; | ||
font-family: 'Quicksand', sans-serif; | font-family: 'Quicksand', sans-serif; | ||
− | |||
line-height: 1; | line-height: 1; | ||
− | |||
} | } | ||
#bodyContent h1 { | #bodyContent h1 { | ||
font-size: 2.986em; | font-size: 2.986em; | ||
margin: 0; | margin: 0; | ||
+ | padding: 0; | ||
} | } | ||
#bodyContent h2 { | #bodyContent h2 { | ||
font-size: 2.488em; | font-size: 2.488em; | ||
margin: 0; | margin: 0; | ||
+ | padding: 0; | ||
} | } | ||
#bodyContent h3 { | #bodyContent h3 { | ||
font-size: 2.074em; | font-size: 2.074em; | ||
margin: 0; | margin: 0; | ||
+ | padding: 0; | ||
} | } | ||
#bodyContent h4 { | #bodyContent h4 { | ||
font-size: 1.728em; | font-size: 1.728em; | ||
margin: 0; | margin: 0; | ||
+ | padding: 0; | ||
} | } | ||
#bodyContent h5 { | #bodyContent h5 { | ||
font-size: 1.44em; | font-size: 1.44em; | ||
margin: 0; | margin: 0; | ||
+ | padding: 0; | ||
} | } | ||
#bodyContent h6 { | #bodyContent h6 { | ||
font-size: 1.2em; | font-size: 1.2em; | ||
margin: 0; | margin: 0; | ||
+ | padding: 0; | ||
} | } | ||
#bodyContent p { | #bodyContent p { | ||
Line 204: | Line 203: | ||
text-align: justify; | text-align: justify; | ||
line-height: 1.5; | line-height: 1.5; | ||
− | margin: 0 | + | margin:0; |
+ | padding: 0; | ||
} | } | ||
/************************************************************************ | /************************************************************************ | ||
Line 219: | Line 219: | ||
} | } | ||
− | + | #bodyContent table th{ | |
− | + | border: none; | |
− | + | background-color: rgba(20, 147, 117, 0.5); | |
− | + | text-align: left; | |
− | + | } | |
− | + | #bodyContent table td { | |
− | + | border:none; | |
− | + | display:block; | |
− | + | } | |
− | + | #bodyContent table tbody td:before{ | |
− | + | content: attr(data-th); | |
− | + | font-weight: bold; | |
− | + | display: inline-block; | |
− | + | width: 6rem; | |
− | + | } | |
− | + | #bodyContent table tr{ | |
− | + | background-color: white; | |
− | + | transition: all 0.5s ease; | |
− | + | } | |
− | + | #bodyContent table tr:nth-child(even) { | |
− | + | background-color: rgba(20, 147, 117, 0.125); | |
− | + | } | |
− | + | #bodyContent table tr:hover { | |
− | + | background-color: rgba(20, 147, 117, 0.75); | |
− | + | } | |
− | + | /************************************************************************ | |
− | + | Lists | |
− | + | ************************************************************************/ | |
− | + | #bodyContent ul { | |
− | + | list-style-type: disc; | |
− | + | color: #149375; | |
− | + | margin: 0 0 0 18px; | |
− | + | list-style-image: none; | |
− | + | padding: 0; | |
− | + | line-height: 1.5; | |
− | + | } | |
− | + | #bodyContent li { | |
− | + | margin: 0; | |
− | + | padding: 0; | |
− | + | line-height: 1.5; | |
− | + | } | |
− | + | #bodyContent a { | |
− | + | font-family: 'Quicksand', sans-serif; | |
− | + | font-size: 20px; | |
− | + | text-align: justify; | |
− | + | line-height: 1.5; | |
− | + | list-style-image: none; | |
− | + | list-style-type: none; | |
− | + | color: #149375; | |
− | + | transition: all 1s ease; | |
− | + | } | |
− | + | #bodyContent a:hover { | |
− | + | color: #0e6752; | |
− | + | } | |
− | + | #bodyContent a:active { | |
− | + | color: #0e6752; | |
− | + | } | |
− | + | #bodyContent a:visited { | |
− | + | color: #149375; | |
− | + | } | |
− | + | /************************************************************************ | |
− | + | Navigation Button | |
− | + | ************************************************************************/ | |
− | + | #bodyContent #sidebar-btn { | |
− | + | width: 100%; | |
− | + | height: 50px; | |
− | + | padding: 0 5vw 0 0; | |
− | + | position: fixed; | |
− | + | top: 16px; | |
− | + | right: 0; | |
− | + | display: flex; | |
− | + | flex-direction: row; | |
− | + | justify-content: flex-end; | |
− | + | align-items: center; | |
− | + | font-size: 24pt; | |
− | + | cursor: pointer; | |
− | + | z-index: 2; | |
− | + | color: white; | |
− | + | background: #1C1E1F; | |
− | + | border: none; | |
− | + | border-radius: 0; | |
− | + | box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.3); | |
− | + | transition: border 1s ease; | |
− | + | } | |
− | + | #bodyContent #sidebar-btn:hover { | |
− | + | border: none; } | |
− | + | #bodyContent #sidebar-btn i { | |
− | + | transition: color 1s ease; | |
− | + | } | |
− | + | #bodyContent #sidebar-btn:hover i { | |
− | + | color: #149375; | |
− | + | } | |
− | + | /************************************************************************ | |
− | + | Navigation bar | |
− | + | ************************************************************************/ | |
− | + | #bodyContent #sidebar { | |
− | + | z-index: 5; | |
− | + | background: #151718; | |
− | + | width: 250px; | |
− | + | height: 100%; | |
− | + | display: block; | |
− | + | position: fixed; | |
− | + | top: 16px; | |
− | + | left: 0; | |
− | + | visibility: hidden; | |
− | + | opacity: 0; | |
− | + | transition: all 1s ease; | |
− | + | overflow-y: auto; | |
− | + | } | |
− | + | #bodyContent #sidebar.visible { | |
− | + | visibility: visible; | |
− | + | opacity: 1; | |
− | + | } | |
− | + | #bodyContent #sidebar ul { | |
− | + | margin: 0px; | |
− | + | padding: 0px; | |
− | + | } | |
− | + | #bodyContent #sidebar ul li { | |
− | + | list-style: none; | |
− | + | transition: all 2s ease; | |
− | + | } | |
− | + | #bodyContent #sidebar ul li a { | |
− | + | font-size: 16px; | |
− | + | background: #1C1E1F; | |
− | + | color: #ccc; | |
− | + | border-bottom: 1px solid #111; | |
− | + | display: block; | |
− | + | width: 250px; | |
− | + | padding: 10px; | |
− | + | text-decoration: none; | |
− | + | transition: all 1s ease; | |
− | + | } | |
− | + | #bodyContent #sidebar ul li a:hover { | |
− | + | background-color: rgba(255, 255, 255, 0.3) | |
− | + | } | |
− | + | #bodyContent #sidebar ul ul a { | |
− | + | font-size: 16px; | |
− | + | background: #1C1E1F; | |
− | + | color: #ccc; | |
− | + | border-bottom: 1px solid #111; | |
− | + | display: block; | |
− | + | width: 250px; | |
− | + | padding: 10px; | |
− | + | text-decoration: none; | |
− | + | transition: all 1s ease; | |
− | + | } | |
− | + | #bodyContent #sidebar ul ul a:hover { | |
− | + | background-color: rgba(255, 255, 255, 0.3) | |
− | + | } | |
− | + | #bodyContent #sidebar ul ul.sub li { | |
− | + | display: none; | |
− | + | padding-left: 15px; | |
− | + | } | |
− | + | #bodyContent #sidebar ul ul.sub li.active { | |
− | + | display: block; | |
− | + | } | |
− | + | #bodyContent #overlay { | |
− | + | position: fixed; | |
− | + | width: 100%; | |
− | + | height: 100%; | |
− | + | top: 0; | |
− | + | left: 0; | |
− | + | right: 0; | |
− | + | bottom: 0; | |
− | + | background-color: rgba(0, 0, 0, 0.5); | |
− | + | z-index: 1; | |
− | + | cursor: pointer; | |
− | + | visibility: hidden; | |
− | + | opacity: 0; | |
− | + | transition: all 1s ease; | |
− | + | } | |
− | + | #bodyContent #overlay.active { | |
− | + | visibility: visible; | |
− | + | opacity: 1; | |
− | } | + | } |
− | /************************************************************************ | + | /************************************************************************ |
− | + | Flex gallery | |
− | ************************************************************************/ | + | ************************************************************************/ |
+ | #bodyContent .flex-gallery { | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | flex-wrap: initial; | ||
+ | justify-content: flex-start; | ||
+ | align-items: center; | ||
+ | } | ||
+ | #bodyContent .flex-gallery div { | ||
+ | width: 200px; | ||
+ | height: auto; | ||
+ | display:flex; | ||
+ | flex-flow: column; | ||
+ | justify-content: flex-end; | ||
+ | margin: 0 10px; | ||
+ | } | ||
+ | #bodyContent .flex-gallery a img { | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
+ | filter: grayscale(100%); | ||
+ | transition: all 1s ease; | ||
+ | } | ||
+ | #bodyContent .flex-gallery a img:hover { | ||
+ | filter: grayscale(0%); | ||
+ | } | ||
+ | #bodyContent .modalDialog { | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | right: 0; | ||
+ | bottom: 0; | ||
+ | left: 0; | ||
+ | background: rgba(0, 0, 0, 0.8); | ||
+ | z-index: 99999; | ||
+ | opacity: 0; | ||
+ | transition: opacity 400ms ease-in; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | #bodyContent .modalDialog:target { | ||
+ | opacity: 1; | ||
+ | pointer-events: auto; | ||
+ | } | ||
+ | #bodyContent .modalDialog > div { | ||
+ | display:flex; | ||
+ | flex-direction: row; | ||
+ | position: absolute; | ||
+ | top: 15vh; | ||
+ | left: 15vw; | ||
+ | right: 15vw; | ||
+ | border-radius: 20px; | ||
+ | background: #fff; | ||
+ | } | ||
+ | #bodyContent .modalDialog > div > div { | ||
+ | margin: 20px; | ||
+ | } | ||
+ | #bodyContent a.close { | ||
+ | font-size: 24pt; | ||
+ | z-index: 3; | ||
+ | position: fixed; | ||
+ | right: 13vw; | ||
+ | top: 11vh; | ||
+ | display: flex; | ||
+ | flex-direction: row; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | width: 20px; | ||
+ | height: 20px; | ||
+ | cursor: pointer; | ||
+ | padding: 28px; | ||
+ | border: 3px solid white; | ||
+ | border-radius: 100%; | ||
+ | box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.3); | ||
+ | } | ||
+ | #bodyContent a.close { | ||
+ | background: #149375; | ||
+ | color: white; | ||
+ | transition: all 1s ease; | ||
+ | } | ||
+ | #bodyContent a.close:visited { | ||
+ | color: white; | ||
+ | } | ||
+ | #bodyContent a.close:link { | ||
+ | color: white; | ||
+ | } | ||
+ | #bodyContent a.close:hover { | ||
+ | border: 3px solid black; | ||
+ | color: black; | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Special Text | ||
+ | ************************************************************************/ | ||
+ | #bodyContent abbr { | ||
+ | vertical-align: baseline; | ||
+ | font-size: inherit; | ||
+ | text-decoration: none; | ||
+ | color: rgba(0, 0, 0, 0.4); | ||
+ | } | ||
+ | #bodyContent abbr[title],.explain[title] { | ||
+ | border-bottom: none; | ||
+ | cursor: help; | ||
+ | } | ||
+ | #bodyContent b,strong { | ||
+ | font-weight: bold; | ||
+ | line-height: inherit; | ||
+ | color: #149375; | ||
+ | } | ||
+ | /* label */ | ||
+ | span.label { | ||
+ | display: inline-block; | ||
+ | padding: 0 6px; | ||
+ | border-radius: 20px; | ||
+ | white-space: nowrap; | ||
+ | cursor: default; | ||
+ | background: #149375; | ||
+ | color: #fefefe; | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Callout | ||
+ | ************************************************************************/ | ||
+ | #bodyContent div.callout { | ||
+ | margin: 24px 0; | ||
+ | padding: 10px; | ||
+ | border: 2px solid rgba(20, 147, 117, 0.5); | ||
+ | border-radius: 0; | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Accordion | ||
+ | ************************************************************************/ | ||
+ | #bodyContent button.accordion { | ||
+ | font: 20px Quicksand; | ||
+ | background: #fefefe; | ||
+ | cursor: pointer; | ||
+ | padding: 18px; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | text-align: left; | ||
+ | outline: none; | ||
+ | transition: all 1s ease; | ||
+ | } | ||
+ | #bodyContent button.accordion.active, | ||
+ | #bodyContent button.accordion:hover { | ||
+ | background-color: rgba(20, 147, 117, 0.7); | ||
+ | } | ||
+ | #bodyContent button.accordion:after { | ||
+ | content: '\002B'; | ||
+ | color: #777; | ||
+ | float: right; | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | #bodyContent button.accordion.active:after { | ||
+ | content: "\2212"; | ||
+ | } | ||
+ | #bodyContent .panel { | ||
+ | padding: 0 18px; | ||
+ | background-color: white; | ||
+ | max-height: 0; | ||
+ | overflow: hidden; | ||
+ | transition: max-height 0.2s ease-out; | ||
+ | } | ||
+ | #bodyContent .panel p { | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Mega Menu | ||
+ | ************************************************************************/ | ||
+ | #mega-menu { | ||
+ | display: flex; | ||
+ | justify-content: space-around; | ||
+ | margin: 5vw 0; | ||
+ | } | ||
+ | #mega-menu i { | ||
+ | font-size: 10vw; | ||
+ | } | ||
+ | #mega-menu a { | ||
+ | color: #263238; | ||
+ | transition: all 1s ease; | ||
+ | } | ||
+ | #mega-menu a:link { | ||
+ | color: #263238; | ||
+ | } | ||
+ | #mega-menu a:visited { | ||
+ | color: #263238; | ||
+ | } | ||
+ | #mega-menu a:hover, | ||
+ | a:focus, | ||
+ | a:active { | ||
+ | color: #149375; | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Upwards arrow | ||
+ | ************************************************************************/ | ||
+ | #bodyContent #returnToTop { | ||
+ | position: fixed; | ||
+ | font-size: 35pt; | ||
+ | right: 3vw; | ||
+ | bottom: 3vw; | ||
+ | display: block; | ||
+ | text-decoration: none; | ||
+ | color: rgba(0, 0, 0, 0.6); | ||
+ | transition: all 1s ease; | ||
+ | } | ||
+ | |||
+ | #bodyContent #returnToTop:hover{ | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | /************************************************************************ | ||
+ | Media Queries | ||
+ | ************************************************************************/ | ||
+ | /************************************************************************ | ||
+ | Laptop | ||
+ | ************************************************************************/ | ||
+ | @media (min-width: 768px) { | ||
#bodyContent .flex-gallery { | #bodyContent .flex-gallery { | ||
− | + | flex-direction: row; | |
− | flex-direction: | + | flex-wrap: wrap; |
− | flex-wrap: | + | align-items: flex-end; |
− | + | justify-content: center; | |
− | + | ||
} | } | ||
− | #bodyContent | + | #bodyContent table thead {display:table-header-group;} |
− | + | #bodyContent table tbody td{display: table-cell;} | |
− | + | #bodyContent table tbody td:before{content:none;} | |
− | + | } | |
− | + | @media (min-width: 900px) { | |
− | + | body { | |
− | margin: 0 | + | margin: 16px 0 0 0; |
} | } | ||
− | # | + | #globalWrapper { |
− | + | padding: 10%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | #bodyContent | + | #bodyContent article p { |
− | + | //column-count: 2; | |
+ | //border-bottom: 1px solid #ccc; | ||
} | } | ||
− | #bodyContent | + | #bodyContent #sidebar-btn { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
width: 20px; | width: 20px; | ||
height: 20px; | height: 20px; | ||
− | |||
padding: 28px; | padding: 28px; | ||
+ | right: 2vw; | ||
+ | top: 4vw; | ||
+ | justify-content: center; | ||
+ | background: #149375; | ||
border: 3px solid white; | border: 3px solid white; | ||
border-radius: 100%; | border-radius: 100%; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | #bodyContent | + | #bodyContent #sidebar-btn:hover { |
− | + | border: 3px solid black; | |
} | } | ||
− | #bodyContent | + | #bodyContent #sidebar-btn:hover i { |
− | + | ||
color: black; | color: black; | ||
} | } | ||
− | + | #bodyContent #back-to-top { | |
− | + | ||
− | + | ||
− | #bodyContent | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
color: rgba(0, 0, 0, 0.6); | color: rgba(0, 0, 0, 0.6); | ||
− | |||
} | } | ||
− | + | } | |
− | #bodyContent | + | /************************************************************************ |
− | + | Desktop | |
+ | ************************************************************************/ | ||
+ | @media (min-width: 1600px) { | ||
+ | #bodyContent article p { | ||
+ | //column-count: 3; | ||
} | } | ||
− | + | } | |
− | + | </style> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 09:01, 20 September 2017