123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- /**
- * Site header
- */
- .site-header {
- background-color: $brand-yellow;
- border-bottom: 3px solid #000;
- padding: 5px 0;
- min-height: 56px;
- // Positioning context for the mobile navigation icon
- position: relative;
- }
-
- .site-title {
- font-family: $header-font-family;
- font-size: 26px;
- font-weight: bold;
- line-height: 56px;
- margin-bottom: 0;
- float: left;
- &,
- &:visited {
- color: #000;
- }
- }
- .site-nav {
- font-family: $header-font-family;
- float: right;
- line-height: 56px;
- z-index: 1000;
- .menu-icon {
- display: none;
- }
- .page-link {
- color: $text-color;
- line-height: $base-line-height;
- // Gaps between nav items, but not on the last one
- &:not(:last-child) {
- margin-right: 20px;
- }
- &:hover,
- &.page-link-active {
- border-bottom: 3px solid;
- text-decoration: none;
- }
- }
- @include media-query($on-palm) {
- position: absolute;
- top: 9px;
- right: $spacing-unit / 2;
- background-color: $background-color;
- border: 1px solid $grey-color-light;
- border-radius: 5px;
- text-align: right;
- .menu-icon {
- display: block;
- float: right;
- width: 36px;
- height: 26px;
- line-height: 0;
- padding-top: 10px;
- text-align: center;
- > svg {
- width: 18px;
- height: 15px;
- path {
- fill: $grey-color-dark;
- }
- }
- }
- .trigger {
- clear: both;
- display: none;
- }
- &:hover .trigger {
- display: block;
- padding-bottom: 5px;
- }
- .page-link {
- display: block;
- padding: 5px 10px;
- &:not(:last-child) {
- margin-right: 0;
- }
- margin-left: 20px;
- }
- }
- }
- /**
- * Site footer
- */
- .site-footer {
- padding: $spacing-unit 0;
- background: #fff;
- box-shadow: inset 0px 2px 5px 0px $grey-color-light;
- }
- .contact-list,
- .social-media-list {
- list-style: none;
- margin-left: 0;
- }
- .footer-col-wrapper {
- font-size: 15px;
- color: $grey-color;
- margin-left: -$spacing-unit / 2;
- @extend %clearfix;
- }
- .footer-col {
- float: left;
- margin-bottom: $spacing-unit / 2;
- padding-left: $spacing-unit / 2;
- }
- .footer-col-1 {
- width: -webkit-calc(35% - (#{$spacing-unit} / 2));
- width: calc(35% - (#{$spacing-unit} / 2));
- }
- .footer-col-2 {
- width: -webkit-calc(20% - (#{$spacing-unit} / 2));
- width: calc(20% - (#{$spacing-unit} / 2));
- }
- .footer-col-3 {
- width: -webkit-calc(45% - (#{$spacing-unit} / 2));
- width: calc(45% - (#{$spacing-unit} / 2));
- }
- @include media-query($on-laptop) {
- .footer-col-1,
- .footer-col-2 {
- width: -webkit-calc(50% - (#{$spacing-unit} / 2));
- width: calc(50% - (#{$spacing-unit} / 2));
- }
- .footer-col-3 {
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
- width: calc(100% - (#{$spacing-unit} / 2));
- }
- }
- @include media-query($on-palm) {
- .footer-col {
- float: none;
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
- width: calc(100% - (#{$spacing-unit} / 2));
- }
- }
- /**
- * Page content
- */
- .page-content {
- padding: $spacing-unit 0;
- }
- .page-heading {
- font-size: 20px;
- }
- .post-list {
- margin-left: 0;
- list-style: none;
- > li {
- margin-bottom: $spacing-unit;
- }
- }
- .post-meta {
- font-size: $small-font-size;
- color: $grey-color;
- }
- .post-link {
- display: block;
- font-size: 24px;
- }
- /**
- * Posts
- */
- .post-header {
- margin-bottom: $spacing-unit;
- }
- .post-title {
- }
- .post-content {
- margin-bottom: $spacing-unit;
- h2 {
- font-size: 32px;
- @include media-query($on-laptop) {
- font-size: 28px;
- }
- }
- h3 {
- font-size: 26px;
- @include media-query($on-laptop) {
- font-size: 22px;
- }
- }
- h4 {
- font-size: 20px;
- @include media-query($on-laptop) {
- font-size: 18px;
- }
- }
- }
|