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
// My Sass colour library | |
$brand-colour: #822733; | |
a { | |
color: $brand-colour; | |
} | |
.summary { | |
color: $brand-colour; |
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
$unit = 10px; | |
h1, h2, h3 { | |
margin-bottom: $unit; | |
} | |
p { | |
margin-bottom: $unit; | |
} |
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
$unit = 10px; | |
h1, h2, h3 { | |
margin-bottom: $unit; | |
} | |
p { | |
margin-bottom: $unit; | |
} |
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
.shadow-border { | |
border-bottom: 1px solid #a4a4a4; | |
-webkit-box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
padding-bottom: 20px; | |
margin-bottom: 40px; | |
} |
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, article, p.intro { | |
border-bottom: 1px solid #a4a4a4; | |
-webkit-box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
padding-bottom: 20px; | |
margin-bottom: 40px; | |
} |
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 shadow-border { | |
border-bottom: 1px solid #a4a4a4; | |
-webkit-box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
padding-bottom: 20px; | |
margin-bottom: 40px; | |
} |
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 shadow-border { | |
border-bottom: 1px solid #a4a4a4; | |
-webkit-box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
padding-bottom: 20px; | |
margin-bottom: 40px; | |
} |
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
// A few variables thrown in for good measure | |
$border-colour: #a4a4a4; | |
$unit: 10px; | |
@mixin subtle-shadow { | |
-webkit-box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
box-shadow: 0px 2px 5px 0px rgba(200, 200, 200, 0.6); | |
} | |
@mixin shadow-border { |
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
/* written in plain old CSS */ | |
.module h3 { | |
font-weight: bold; | |
} | |
.module p { | |
padding-bottom: 10px; | |
} |
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
/* initial rule for all viewports, including browsers that don't support @media */ | |
article { | |
font-size: 14px; | |
line-height: 25px; | |
} | |
article h2 { | |
font-size: 18px; | |
padding-bottom: 15px; | |
} |
OlderNewer