1
0
Fork 0
schro.fi/assets/sass/main.sass

93 lines
2.1 KiB
Sass
Raw Normal View History

2019-08-18 11:35:40 -04:00
@import "fonts"
2019-08-18 13:27:03 -04:00
/* font stack definition
$regular-font-stack: "Fira Sans", sans-serif
2019-08-18 11:35:40 -04:00
$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
2020-07-10 12:58:01 -04:00
$color-light-dark-brown: #736159
2019-08-18 11:35:40 -04:00
$color-white: #FFFFFF
2019-10-03 15:33:52 -04:00
$slope-size: 6vw
$extra-padding: 2vw
2019-08-18 11:35:40 -04:00
body
font: 1.3em $regular-font-stack
2019-08-18 11:35:40 -04:00
color: $color-dark-brown
background: $color-mint
2020-07-10 12:58:01 -04:00
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
2019-08-18 11:35:40 -04:00
#website-title
font-size: calc(1.6em + 2vw)
2019-08-18 13:53:03 -04:00
margin-top: 30px
margin-left: 30px
2019-08-18 13:27:03 -04:00
font-family: $website-title-font-stack
font-weight: bold
2019-08-18 11:35:40 -04:00
color: $color-white
2020-07-10 12:58:01 -04:00
#blog-button
font-size: calc(1.1em + 0.5vw)
2020-07-10 12:58:01 -04:00
font-weight: bold
color: $color-dark-mint
margin-top: 30px
margin-right: 30px
float: right
2019-10-03 15:33:52 -04:00
/* left top, right top, right bottom, left bottom
2019-08-18 13:53:03 -04:00
.beige-content-block
background: $color-beige
2019-10-03 15:33:52 -04:00
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
2019-08-18 13:53:03 -04:00
.brown-content-block
background: $color-light-brown
2019-10-03 15:33:52 -04:00
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
2020-07-10 12:58:01 -04:00
#social-links
text-align: center
margin-top: 60px
/* add some margin between the icons
2020-07-10 12:58:01 -04:00
i
margin: 0 20px
color: $color-light-dark-brown
i:hover
color: $color-dark-brown
2020-07-10 12:58:01 -04:00
2019-10-03 15:33:52 -04:00
#picture-holder
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - #{$slope-size}))
align-items: center
img
height: auto
2019-08-18 13:53:03 -04:00
2019-10-14 12:35:13 -04:00
#footer
clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%)
background: $color-mint
padding-top: $slope-size
text-align: center
2020-07-10 12:58:01 -04:00
font: 100% $regular-font-stack