diff --git a/assets/sass/base/_fonts.scss b/assets/sass/base/_fonts.scss index 95c54d1..9ed791f 100644 --- a/assets/sass/base/_fonts.scss +++ b/assets/sass/base/_fonts.scss @@ -273,4 +273,56 @@ local('Muli-Blackitalic'), url('../fonts/muli-latin-900italic.woff2') format('woff2'), url('../fonts/muli-latin-900italic.woff') format('woff'); /* Modern Browsers */ +} + + +@font-face { + font-family: 'Source Sans Pro'; + src: url('../fonts/source-sans-pro/source-sans-pro-regular.eot'); + src: url('../fonts/source-sans-pro/source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), + url('../fonts/source-sans-pro/source-sans-pro-regular.woff') format('woff'), + url('../fonts/source-sans-pro/source-sans-pro-regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Source Sans Pro'; + src: url('../fonts/source-sans-pro/source-sans-pro-italic.eot'); + src: url('../fonts/source-sans-pro/source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), + url('../fonts/source-sans-pro/source-sans-pro-italic.woff') format('woff'), + url('../fonts/source-sans-pro/source-sans-pro-italic.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Source Sans Pro'; + src: url('../fonts/source-sans-pro/source-sans-pro-semibold.eot'); + src: url('../fonts/source-sans-pro/source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), + url('../fonts/source-sans-pro/source-sans-pro-semibold.woff') format('woff'), + url('../fonts/source-sans-pro/source-sans-pro-semibold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; +} + +@font-face { + font-family: 'Source Sans Pro'; + src: url('../fonts/source-sans-pro/source-sans-pro-semibolditalic.eot'); + src: url('../fonts/source-sans-pro/source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), + url('../fonts/source-sans-pro/source-sans-pro-semibolditalic.woff') format('woff'), + url('../fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf') format('truetype'); + font-weight: 600; + font-style: italic; +} + +@font-face { + font-family: 'League Gothic'; + src: url('../fonts/league-gothic/league-gothic.eot'); + src: url('../fonts/league-gothic/league-gothic.eot?#iefix') format('embedded-opentype'), + url('../fonts/league-gothic/league-gothic.woff') format('woff'), + url('../fonts/league-gothic/league-gothic.ttf') format('truetype'); + + font-weight: normal; + font-style: normal; } \ No newline at end of file diff --git a/assets/sass/pages/_single.scss b/assets/sass/pages/_single.scss index eeab418..9b8732d 100644 --- a/assets/sass/pages/_single.scss +++ b/assets/sass/pages/_single.scss @@ -51,6 +51,7 @@ &__contents { @include animation('slide-in-left-little .2s .6s 1 ease-in both'); + &--gallery { overflow: hidden; } @@ -286,8 +287,19 @@ list-style: disc outside none; } + &[data-dir="rtl"] { + li { + margin-right: 2rem; + } + } + + &[data-dir="ltr"] { + li { + margin-left: 2rem; + } + } + li { - margin-left: 2rem; margin-bottom: calc(1rem / 2); & > code { diff --git a/data/font.toml b/data/font.toml index b536593..ecf74d1 100644 --- a/data/font.toml +++ b/data/font.toml @@ -1,4 +1,6 @@ title_font = "\"Montserrat\", sans-serif" content_font = "\"Muli\", sans-serif" # content_font = "\"Merriweather\", serif" +# content_font = "\"Source Sans Pro\", sans-serif" +# content_font = "\"League Gothic\", sans-serif" cursive_font = "\"Courgette\", cursive" \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8906979..3ea2225 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,7 +10,7 @@ {{ partial "body/infos" . }} {{ partial "body/tags" . }} -
+
{{ partial "body/toc" . }} {{ .Content }}
diff --git a/layouts/about/single.html b/layouts/about/single.html index 6f62b88..dc9825b 100644 --- a/layouts/about/single.html +++ b/layouts/about/single.html @@ -5,7 +5,7 @@
-
+
{{ .Content }}
diff --git a/layouts/contact/single.html b/layouts/contact/single.html index f43f4c3..bfbedb9 100644 --- a/layouts/contact/single.html +++ b/layouts/contact/single.html @@ -7,12 +7,12 @@
{{ if eq .Params.service "formspree" }} -
+
{{ .Content }}
{{ partial "contact/formspree" . }} {{ else }} -
+
{{ .Content }}
{{ end }}