1
0
Fork 0
my website. built using hugo https://schro.fi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.1 KiB

3 years ago
@import "fonts"
/* font stack definition
$regular-font-stack: "Fira Sans", sans-serif
3 years ago
$medium-font-stack: "Fira Sans Medium", sans-serif
$website-title-font-stack: "Learning Curve Pro"
/* color definitions
$color-mint: #BFCECD
$color-dark-mint: #5A6867
$color-beige: #F5E9E4
$color-light-brown: #D1C1BA
$color-dark-brown: #52453F
$color-light-dark-brown: #736159
3 years ago
$color-white: #FFFFFF
$slope-size: 6vw
$extra-padding: 2vw
3 years ago
body
font: 1.3em $regular-font-stack
3 years ago
color: $color-dark-brown
background: $color-mint
a
color: $color-dark-brown
font: 100% $medium-font-stack
text-decoration: underline
a:hover
color: $color-light-dark-brown
a:active
color: $color-light-dark-brown
3 years ago
#website-title
font-size: calc(1.6em + 2vw)
margin-top: 30px
margin-left: 30px
font-family: $website-title-font-stack
font-weight: bold
3 years ago
color: $color-white
#blog-button
font-size: calc(1.1em + 0.5vw)
font-weight: bold
color: $color-dark-mint
margin-top: 30px
margin-right: 30px
float: right
/* left top, right top, right bottom, left bottom
.beige-content-block
background: $color-beige
clip-path: polygon(0 0, 100% $slope-size, 100% calc(100% - #{$slope-size}), 0 100%)
position: relative
top: -$slope-size
margin-bottom: -$slope-size
padding-top: $slope-size + $extra-padding
padding-bottom: $slope-size + $extra-padding
.brown-content-block
background: $color-light-brown
clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 calc(100% - #{$slope-size}))
position: relative
top: -$slope-size
margin-bottom: -$slope-size
padding-top: $slope-size + $extra-padding
padding-bottom: $slope-size + $extra-padding
#social-links
text-align: center
margin-top: 60px
/* add some margin between the icons
i
margin: 0 20px
color: $color-light-dark-brown
i:hover
color: $color-dark-brown
#picture-holder
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - #{$slope-size}))
align-items: center
img
height: auto
3 years ago
#footer
clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%)
background: $color-mint
padding-top: $slope-size
text-align: center
font: 100% $regular-font-stack