fixed margins
This commit is contained in:
parent
1ca31ec033
commit
5ca752e7c1
2 changed files with 20 additions and 24 deletions
|
|
@ -48,19 +48,19 @@ $default-header-margins-sides: ()
|
|||
$default-header-margins-vertical: ()
|
||||
|
||||
// Dynamically populate sides map
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h1, (left: 1em, right: 1em))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h2, (left: 1.5em, right: 1.5em))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h3, (left: 2em, right: 2em))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h4, (left: 2.5em, right: 2.5em))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h5, (left: 3em, right: 3em))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h6, (left: 3.5em, right: 3.5em))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h1, (left: 0, right: 0))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h2, (left: 0, right: 0))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h3, (left: 0, right: 0))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h4, (left: 0, right: 0))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h5, (left: 0, right: 0))
|
||||
$default-header-margins-sides: map.set($default-header-margins-sides, h6, (left: 0, right: 0))
|
||||
|
||||
// Dynamically populate vertical map
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h1, (top: 1em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h2, (top: 1.5em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h3, (top: 2em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h4, (top: 2.5em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h5, (top: 3em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h2, (top: 1em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h3, (top: 1em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h4, (top: 1em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h5, (top: 1em, bottom: 0.5em))
|
||||
$default-header-margins-vertical: map.set($default-header-margins-vertical, h6, (top: 3.5em, bottom: 0.5em))
|
||||
|
||||
// Fonts
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
@use 'fonts' as fonts
|
||||
@use '../../../../../_share/media/sass/mixins' as mixins-basic
|
||||
|
||||
|
||||
@include mixins-basic.set-header-sizes($default-header-sizes)
|
||||
@include mixins-basic.set-header-colors($default-header-colors)
|
||||
@include mixins-basic.set-header-margins-sides($default-header-margins-sides)
|
||||
|
|
@ -39,13 +38,14 @@ a
|
|||
|
||||
// Lists
|
||||
ul, ol
|
||||
margin: 1em 0 1em 2em
|
||||
padding-left: $list-padding-left
|
||||
|
||||
ul
|
||||
margin: 1em 0em
|
||||
list-style-type: disc
|
||||
|
||||
ol
|
||||
margin: 1em .5em
|
||||
list-style-type: decimal
|
||||
|
||||
li
|
||||
|
|
@ -97,13 +97,15 @@ section
|
|||
|
||||
/* Header Styles */
|
||||
h1, h2, h3, h4, h5, h6
|
||||
text-transform: capitalize
|
||||
font-family: $secondary-font
|
||||
font-weight: bold
|
||||
|
||||
h2 a
|
||||
&:hover
|
||||
text-decoration: none
|
||||
color: #ca9ca0
|
||||
h2
|
||||
a
|
||||
&:hover
|
||||
text-decoration: none
|
||||
color: #ca9ca0
|
||||
|
||||
// Paragraphs
|
||||
p
|
||||
|
|
@ -125,16 +127,10 @@ div#postamble
|
|||
font-size: 0.9em
|
||||
|
||||
.outline-text-3
|
||||
margin-left: 1em
|
||||
|
||||
p
|
||||
margin-left: 1em
|
||||
margin-left: .5em
|
||||
|
||||
.outline-text-4
|
||||
margin-left: 1.5em
|
||||
|
||||
p
|
||||
margin-left: 1.5em
|
||||
margin-left: .5em
|
||||
|
||||
div#table-of-contents
|
||||
h2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue