diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-10 13:42:35 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-10 13:42:35 +0200 |
commit | 784fd9bd6a9fcbdf1888f39c3f4dd753ee84f265 (patch) | |
tree | 701a85fafdcbaf508f978da2257ec37ab337415f /assets | |
parent | e0c63f96de24927a7efcd4ab0156af8ed8703977 (diff) |
Remove flast section padding from first section, reformat fonts scss
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_fonts.scss | 50 | ||||
-rw-r--r-- | assets/book.scss | 5 |
2 files changed, 29 insertions, 26 deletions
diff --git a/assets/_fonts.scss b/assets/_fonts.scss index d062346..5e10a6a 100644 --- a/assets/_fonts.scss +++ b/assets/_fonts.scss @@ -4,13 +4,13 @@ font-style: normal; font-weight: 300; font-display: swap; - src: url('./fonts/oxygen-v8-latin-300.eot'); /* IE9 Compat Modes */ + src: url('fonts/oxygen-v8-latin-300.eot'); /* IE9 Compat Modes */ src: local('Oxygen Light'), local('Oxygen-Light'), - url('./fonts/oxygen-v8-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('./fonts/oxygen-v8-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ - url('./fonts/oxygen-v8-latin-300.woff') format('woff'), /* Modern Browsers */ - url('./fonts/oxygen-v8-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ - url('./fonts/oxygen-v8-latin-300.svg#Oxygen') format('svg'); /* Legacy iOS */ + url('fonts/oxygen-v8-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/oxygen-v8-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/oxygen-v8-latin-300.woff') format('woff'), /* Modern Browsers */ + url('fonts/oxygen-v8-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/oxygen-v8-latin-300.svg#Oxygen') format('svg'); /* Legacy iOS */ } /* oxygen-regular - latin */ @font-face { @@ -18,13 +18,13 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url('./fonts/oxygen-v8-latin-regular.eot'); /* IE9 Compat Modes */ + src: url('fonts/oxygen-v8-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Oxygen Regular'), local('Oxygen-Regular'), - url('./fonts/oxygen-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('./fonts/oxygen-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('./fonts/oxygen-v8-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('./fonts/oxygen-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('./fonts/oxygen-v8-latin-regular.svg#Oxygen') format('svg'); /* Legacy iOS */ + url('fonts/oxygen-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/oxygen-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/oxygen-v8-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('fonts/oxygen-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/oxygen-v8-latin-regular.svg#Oxygen') format('svg'); /* Legacy iOS */ } /* oxygen-700 - latin */ @font-face { @@ -32,13 +32,13 @@ font-style: normal; font-weight: 700; font-display: swap; - src: url('./fonts/oxygen-v8-latin-700.eot'); /* IE9 Compat Modes */ + src: url('fonts/oxygen-v8-latin-700.eot'); /* IE9 Compat Modes */ src: local('Oxygen Bold'), local('Oxygen-Bold'), - url('./fonts/oxygen-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('./fonts/oxygen-v8-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ - url('./fonts/oxygen-v8-latin-700.woff') format('woff'), /* Modern Browsers */ - url('./fonts/oxygen-v8-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ - url('./fonts/oxygen-v8-latin-700.svg#Oxygen') format('svg'); /* Legacy iOS */ + url('fonts/oxygen-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/oxygen-v8-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/oxygen-v8-latin-700.woff') format('woff'), /* Modern Browsers */ + url('fonts/oxygen-v8-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/oxygen-v8-latin-700.svg#Oxygen') format('svg'); /* Legacy iOS */ } /* oxygen-mono-regular - latin */ @font-face { @@ -46,15 +46,15 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url('./fonts/oxygen-mono-v6-latin-regular.eot'); /* IE9 Compat Modes */ + src: url('fonts/oxygen-mono-v6-latin-regular.eot'); /* IE9 Compat Modes */ src: local('Oxygen Mono'), local('OxygenMono-Regular'), - url('./fonts/oxygen-mono-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('./fonts/oxygen-mono-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ - url('./fonts/oxygen-mono-v6-latin-regular.woff') format('woff'), /* Modern Browsers */ - url('./fonts/oxygen-mono-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ - url('./fonts/oxygen-mono-v6-latin-regular.svg#OxygenMono') format('svg'); /* Legacy iOS */ + url('fonts/oxygen-mono-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('fonts/oxygen-mono-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('fonts/oxygen-mono-v6-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('fonts/oxygen-mono-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('fonts/oxygen-mono-v6-latin-regular.svg#OxygenMono') format('svg'); /* Legacy iOS */ } body { - font-family: "Oxygen", sans-serif; + font-family: 'Oxygen', sans-serif; } diff --git a/assets/book.scss b/assets/book.scss index 66b1e81..c0a4b9b 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -110,7 +110,10 @@ ul.pagination { .book-section-flat { margin-bottom: $padding-16 * 2; - margin-top: $padding-16 * 2; + + &:not(:first-child) { + margin-top: $padding-16 * 2; + } > a, > span { |