This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$total: 7; | |
@function col-width($col, $total){ | |
@return percentage($col/$total); | |
} | |
.col-1{ | |
width: col-width($col:1, $total:7); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn{ | |
padding: .3rem; | |
border: none; | |
color: none; | |
margin: 1rem; | |
} | |
.btn-primary{ | |
@extend .btn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn{ | |
padding: .3rem; | |
border: none; | |
color: none; | |
margin: 1rem; | |
} | |
.btn-primary{ | |
@extend .btn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin list-item($borderColor, $backColor){ | |
border-color: $borderColor; | |
background-color: $backColor; | |
} | |
ul{ | |
display: flex; | |
flex-direction: column; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$mainFont: ‘Open Sans’, sans-serif; | |
$subFont: Helvetica, sans-serif; | |
$half: 50%; | |
body{ | |
font-family: $mainFont; | |
width: 100vw; | |
} | |
.container{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.header{ | |
margin: 1.5rem; | |
background-color: green; | |
display: flex; | |
justify-content: space-between; | |
&-nav{ | |
background-color: white; | |
width: 60%; | |