Line 448: | Line 448: | ||
#bodyContent footer i:hover { | #bodyContent footer i:hover { | ||
color: rgba(255, 255, 255, 1); | color: rgba(255, 255, 255, 1); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 681: | Line 627: | ||
background: #149375; | background: #149375; | ||
color: #fefefe; | color: #fefefe; | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Layout Elements | ||
+ | ************************************************************************/ | ||
+ | /************************************************************************ | ||
+ | Tabs | ||
+ | ************************************************************************/ | ||
+ | #bodyContent .tab { | ||
+ | display:flex; | ||
+ | flex-direction:row; | ||
+ | justify-content: center; | ||
+ | } | ||
+ | |||
+ | #bodyContent .tab button { | ||
+ | background-color:#fff; | ||
+ | border:none; | ||
+ | border-bottom:5px solid #ccc; | ||
+ | outline:none; | ||
+ | transition: 0.3s; | ||
+ | width: 100%; | ||
+ | padding: 20px; | ||
+ | } | ||
+ | |||
+ | #bodyContent .tab button:hover{ | ||
+ | background-color:#eee; | ||
+ | } | ||
+ | |||
+ | #bodyContent .tab button.active { | ||
+ | border-bottom:5px solid #149375; | ||
+ | } | ||
+ | |||
+ | #bodyContent .tab img{ | ||
+ | padding: 20%; | ||
+ | } | ||
+ | |||
+ | #bodyContent .tabcontent { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #bodyContent .tabcontent:first-child{ | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | #bodyContent .tabcontent { | ||
+ | -webkit-animation: fadeEffect 1s; | ||
+ | animation: fadeEffect 1s; /* Fading effect takes 1 second */ | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes fadeEffect { | ||
+ | from {opacity: 0;} | ||
+ | to {opacity: 1;} | ||
+ | } | ||
+ | |||
+ | @keyframes fadeEffect { | ||
+ | from {opacity: 0;} | ||
+ | to {opacity: 1;} | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Callout | ||
+ | ************************************************************************/ | ||
+ | #bodyContent div.callout { | ||
+ | margin: 24px 0; | ||
+ | padding: 20px; | ||
+ | border: 5px solid #149375; | ||
+ | border-radius: 20px; | ||
+ | } | ||
+ | /************************************************************************ | ||
+ | Accordion | ||
+ | ************************************************************************/ | ||
+ | #bodyContent button.accordion { | ||
+ | font: 20px Quicksand; | ||
+ | background-color: rgba(20, 147, 117, 0.125); | ||
+ | cursor: pointer; | ||
+ | padding: 18px; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | text-align: left; | ||
+ | outline: none; | ||
+ | transition: all 0.5s ease; | ||
+ | } | ||
+ | #bodyContent button.accordion.active, | ||
+ | #bodyContent button.accordion:hover { | ||
+ | background-color: rgba(20, 147, 117, 0.7); | ||
+ | } | ||
+ | #bodyContent button.accordion:after { | ||
+ | content: '\002B'; | ||
+ | color: #149375; | ||
+ | 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.5s ease-out; | ||
+ | } | ||
+ | #bodyContent .panel p { | ||
+ | font-size: 18px; | ||
} | } | ||
/************************************************************************ | /************************************************************************ | ||
Line 904: | Line 952: | ||
color: black; | color: black; | ||
} | } | ||
+ | |||
+ | |||
/************************************************************************ | /************************************************************************ | ||
− | + | Misc elements | |
************************************************************************/ | ************************************************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/************************************************************************ | /************************************************************************ | ||
Upwards arrow | Upwards arrow | ||
Line 993: | Line 974: | ||
color: black; | color: black; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 07:24, 30 October 2017