265 lines
4.1 KiB
SCSS
265 lines
4.1 KiB
SCSS
/**
|
|
* Site header
|
|
*/
|
|
|
|
#site-header {
|
|
border-bottom: 1px solid #000;
|
|
background: rgba(255, 255, 255, 0.85);
|
|
position: fixed;
|
|
width: 100%;
|
|
top: 0px;
|
|
-webkit-backdrop-filter: blur(5px);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.site-logo {
|
|
float: left;
|
|
width: 100px;
|
|
text-align:center;
|
|
margin-left: 10%;
|
|
|
|
@include media-query($on-palm) {
|
|
width: 100%;
|
|
margin: 0em auto;
|
|
}
|
|
|
|
}
|
|
|
|
.site-logo img {
|
|
@include media-query($on-palm) {
|
|
width: 100px;
|
|
}
|
|
}
|
|
|
|
.site-title {
|
|
font-size: 26px;
|
|
font-weight: 300;
|
|
line-height: 56px;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 0;
|
|
float: left;
|
|
|
|
&,
|
|
&:visited {
|
|
color: $grey-color-dark;
|
|
}
|
|
}
|
|
|
|
.site-nav {
|
|
float: right;
|
|
text-align: center;
|
|
list-style-type: none;
|
|
margin: 0 10% 0 0;
|
|
font-size: 1.3em;
|
|
|
|
@include media-query($on-palm) {
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
|
|
.site-title {
|
|
display: inline-block;
|
|
float: left;
|
|
text-align: center;
|
|
font-size: 1.5em;
|
|
margin-left: 20px;
|
|
|
|
@include media-query($on-laptop) {
|
|
display: none;
|
|
}
|
|
|
|
@include media-query($on-palm) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.site-nav li {
|
|
width: 70px;
|
|
display: inline;
|
|
line-height: 55px;
|
|
float: left;
|
|
}
|
|
|
|
|
|
/**
|
|
* Site footer
|
|
*/
|
|
.site-footer {
|
|
border-top: 1px solid $grey-color-light;
|
|
padding: $spacing-unit 0;
|
|
}
|
|
|
|
.footer-nav {
|
|
list-style-type: none;
|
|
@include media-query($on-palm) {
|
|
margin-left: 0px;
|
|
}
|
|
}
|
|
|
|
.footer-heading {
|
|
font-size: 18px;
|
|
margin-bottom: $spacing-unit / 2;
|
|
}
|
|
|
|
.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;
|
|
margin-top: 100px;
|
|
}
|
|
|
|
.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 {
|
|
font-size: 30px;
|
|
letter-spacing: -1px;
|
|
line-height: 1;
|
|
|
|
@include media-query($on-laptop) {
|
|
font-size: 30px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Gallery Styling
|
|
*/
|
|
|
|
.gallery {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.gallery li {
|
|
float: left;
|
|
padding: 10px;
|
|
width: 160px;
|
|
height: 160px;
|
|
text-align: center;
|
|
@include media-query($on_palm) {
|
|
width: 110px;
|
|
height: 110px;
|
|
}
|
|
}
|
|
|
|
.gallery li img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|