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

69 lines
1.6 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
$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
2019-08-18 13:27:03 -04:00
font: 100% $regular-font-stack
2019-08-18 11:35:40 -04:00
color: $color-dark-brown
background: $color-mint
h1
font: 300% $medium-font-stack
h2
font: 250% $medium-font-stack
h3
font: 200% $medium-font-stack
#website-title
2019-08-18 13:27:03 -04:00
font-size: 4.5em
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
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
#picture-holder
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - #{$slope-size}))
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
font: 100% $medium-font-stack