mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
Move src assets files out of dist folder, clean up grunt and related files, separate functions and mixins scss...
This commit is contained in:
46
assets/styles/base/_headings.scss
Normal file
46
assets/styles/base/_headings.scss
Normal file
@@ -0,0 +1,46 @@
|
||||
// ==========================================================================
|
||||
// Headings
|
||||
// ==========================================================================
|
||||
@mixin h {
|
||||
margin-top: 0;
|
||||
line-height: $heading-line-height;
|
||||
}
|
||||
.o-h {
|
||||
@include h;
|
||||
}
|
||||
|
||||
h1, .o-h1 {
|
||||
@extend .o-h;
|
||||
|
||||
font-size: rem($heading1);
|
||||
}
|
||||
|
||||
h2, .o-h2 {
|
||||
@extend .o-h;
|
||||
|
||||
font-size: rem($heading2);
|
||||
}
|
||||
|
||||
h3, .o-h3 {
|
||||
@extend .o-h;
|
||||
|
||||
font-size: rem($heading3);
|
||||
}
|
||||
|
||||
h4, .o-h4 {
|
||||
@extend .o-h;
|
||||
|
||||
font-size: rem($heading4);
|
||||
}
|
||||
|
||||
h5, .o-h5 {
|
||||
@extend .o-h;
|
||||
|
||||
font-size: rem($heading5);
|
||||
}
|
||||
|
||||
h6, .o-h6 {
|
||||
@extend .o-h;
|
||||
|
||||
font-size: rem($heading6);
|
||||
}
|
||||
Reference in New Issue
Block a user