diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-17 14:26:52 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-17 14:26:52 +0200 |
| commit | e844a70479915d1fba0336800b35c8c1022b61c6 (patch) | |
| tree | cc9402a686380d5b14a43146c10cc3a57a55fd14 /assets | |
| parent | 8f954ab7c662e0c507c2328d5b2683fbd4c3a391 (diff) | |
| download | flevum-master.tar.gz | |
Diffstat (limited to 'assets')
20 files changed, 921 insertions, 2507 deletions
diff --git a/assets/_sass/_layout.scss b/assets/_sass/_layout.scss deleted file mode 100644 index a27b8a7..0000000 --- a/assets/_sass/_layout.scss +++ /dev/null @@ -1,171 +0,0 @@ -.site-header { - display: grid; - justify-content: center; - padding: 0 20px; - text-align: center; - - .site-header-wrapper { - position: relative; - overflow: hidden; - background: var(--main-color); - padding: 10px 25px 20px 25px; - border-radius: 0 0 5px 5px; - text-decoration: none; - - transition: background .2s ease; - - &:before { - position: absolute; - top: 0; - left: -150%; - content: ""; - width: 50%; - height: 100%; - background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%); - transform: skew(-45deg, 0); - } - &:hover { - background: var(--main-color-hover); - &:before { - animation: headerShine .35s; - } - } - .site-logo { display: block; margin: 0 0 10px; - img { - display: block; - } - } - .site-subtitle { - display: block; - font-family: 'Bebas Neue', sans-serif; - font-size: 11px; - line-height: 14px; - color: var(--grey-fc); - } - .site-title { - display: block; - font-family: 'Bebas Neue', sans-serif; - font-size: 26px; - line-height: 28px; - color: var(--grey-fc); - } - } -} - -.site-navigation { - display: flex; - justify-content: center; - align-items: center; - flex-flow: row wrap; - gap: 10px 40px; - max-width: 800px; - margin: 30px auto 0; - padding: 0 20px; - text-align: center; - - a, span { - position: relative; - text-decoration: none; - color: var(--grey-555); - padding: 0 0 2px; - transition: color .2s ease; - cursor: pointer; - - &:before { - position: absolute; - opacity: 0; - left: 0; - bottom: 0; - width: 0%; - border-bottom: 2px solid var(--grey-222); - - transition: width .18s ease, opacity .18s ease; - content: ""; - } - - &:hover, &.active { color: var(--grey-222); - &:before { - width: 100%; opacity: 1; - } - } - } -} - -@media screen and (max-width: 800px) { - .site-header { - position: fixed; - left: 0; - top: 0; - width: 100%; - z-index: 9; - background: var(--body-bg); - box-shadow: 0 2px 5px rgba(0, 0, 0, .1); - - .site-header-wrapper { - display: flex; - align-items: center; - justify-content: center; - flex-flow: row wrap; - gap: 0 15px; - border-radius: 0; - padding: 20px; - background: transparent; - - &:hover { - background: transparent; - } - .site-logo, - .site-subtitle { - display: none; - } - .site-title { - font-size: 32px; - line-height: 36px; - color: var(--main-color); - } - } - } - - .site-navigation { - position: fixed; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - justify-content: flex-start; - flex-flow: column nowrap; - gap: 20px 0; - transform: translate(0, -100%); - transition: transform .25s ease-in-out; - padding: 100px 20px 0; - background: rgba(255, 255, 255, .9); - z-index: 10; - - a, span { - color: var(--grey-222); - font-size: 30px; - line-height: 40px; - } - } -} - -.wrapper { - max-width: 600px; - margin: 0 auto; - padding: 0 20px 35px; - border-bottom: 1px solid var(--grey-eee); - - &.long { - max-width: 800px; - } -} - -.site-footer { - max-width: 800px; - margin: 0 auto; - padding: 40px 20px; - font-size: 14px; - line-height: 22px; - color: var(--grey-ccc); - text-align: center; -} diff --git a/assets/_sass/components/_page.scss b/assets/_sass/components/_page.scss deleted file mode 100644 index 020e8b6..0000000 --- a/assets/_sass/components/_page.scss +++ /dev/null @@ -1,174 +0,0 @@ -.page { - .page-title { - margin: 0 0 25px; - font-family: "PT Sans", sans-serif; - font-size: 32px; - line-height: 42px; - font-weight: 700; - color: var(--grey-222); - } - .page-content { - abbr { - border-bottom: 1px dotted var(--grey-555); - text-decoration: none; - cursor: help; - } - code, - kbd, - pre { - margin: 0; - font-family: monospace; - word-wrap: break-word; - word-break: break-word; - white-space: pre-wrap; - } - address, - cite, - var { - font-style: italic; - } - blockquote { - margin: 40px 0; - padding: 0 0 0 20px; - border-left: 3px solid var(--grey-555); - color: var(--grey-222); - font-weight: 700; - } - em, - strong { - color: var(--grey-222); - } - - h1, - h2, - h3, - h4, - h5, - h6 { - font-family: "PT Sans", sans-serif; - margin: 40px 0 25px 0; - color: var(--grey-222); - } - h4, - h5, - h6 { - margin: 25px 0; - } - h1 { - font-size: 28px; - } - h2 { - font-size: 26px; - } - h3 { - font-size: 22px; - } - h4 { - font-size: 20px; - } - h5 { - font-size: 18px; - } - h6 { - font-size: 16px; - } - - a { - color: var(--main-color); - &:hover { - text-decoration: none; - } - } - - img { - display: block; - max-width: 100%; - height: auto; - } - - ul { - list-style-type: disc; - list-style-position: inside; - } - - ul, - ol { - margin: 15px 0; - padding: 0 0 0 20px; - ul, - ol { - padding: 0 0 0 20px; - } - li { - margin: 5px 0; - & > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); - } - } - } - - dl { - margin: 40px 0; - dt { - margin: 10px 0 0; - font-weight: 700; - } - dd { - margin: 5px 0; - & > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); - } - } - } - - p { - margin: 15px 0; - & > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); - } - } - - .alignleft { - float: left; - margin: 20px 30px 10px 0; - } - .alignright { - float: right; - margin: 20px 0 10px 20px; - } - .aligncenter { - clear: both; - margin: 0 auto 20px; - } - - figcaption { - font-size: 13px; - font-style: italic; - padding-top: 10px; - } - - .iframe-wrapper { - position: relative; - padding-top: 56.25%; - & > iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } - } - } -} diff --git a/assets/_sass/components/_pagination.scss b/assets/_sass/components/_pagination.scss deleted file mode 100644 index 5387af8..0000000 --- a/assets/_sass/components/_pagination.scss +++ /dev/null @@ -1,20 +0,0 @@ -.pagination { - display: grid; - grid-template-columns: 100px 1fr 100px; - margin: 50px 0 0; - font-size: 16px; - - .previous, - .next { - text-decoration: none; - color: var(--grey-555); - - &:hover { - text-decoration: underline; - } - } - .page_number { - text-align: center; - color: var(--grey-ccc); - } -} diff --git a/assets/_sass/components/_post.scss b/assets/_sass/components/_post.scss deleted file mode 100644 index 5abeb15..0000000 --- a/assets/_sass/components/_post.scss +++ /dev/null @@ -1,445 +0,0 @@ -.post-lists-title { - font-family: 'PT Sans', sans-serif; - font-size: 24px; - line-height: 42px; - font-weight: 700; - color: var(--grey-aaa); - margin: 0 0 40px; - text-align: center; - - span { - color: var(--grey-222); - } -} - -.post-list { - display: grid; - gap: 100px 0; -} - -.post { - position: relative; - - .post-title { - margin: 0 0 25px; - font-family: 'PT Sans', sans-serif; - font-size: 32px; - line-height: 42px; - font-weight: 700; - color: var(--grey-222); - - a { - color: var(--grey-222); - text-decoration: none; - - &:hover { - text-decoration: underline; - } - } - } - - .post-author { - position: absolute; - top: 10px; - left: -200px; - width: 150px; - text-align: right; - - .author-avatar { - display: inline-block; - width: 50px; - height: 50px; - border-radius: 50%; - fill: currentColor; - color: var(--grey-ddd); - } - .author-info { - .author-name { - display: block; - margin: 10px 0 4px; - font-family: 'PT Sans', sans-serif; - font-size: 16px; - line-height: 20px; - font-weight: 700; - color: var(--grey-222); - text-transform: uppercase; - } - .author-title { - display: block; - font-size: 12px; - line-height: 16px; - font-style: italic; - color: var(--grey-aaa); - } - } - - .post-meta { - position: relative; - margin: 15px 0 0; - padding: 15px 0 0; - line-height: 20px; - font-size: 14px; - color: var(--grey-aaa); - - &:before { - position: absolute; - top: 0; - right: 0; - width: 30px; - height: 1px; - background: var(--grey-ddd); - content: ""; - } - - .post-date { - position: relative; - margin: 0 5px 0 0; - padding: 0 10px 0 0; - - &:after { - position: absolute; - top: 50%; - right: 0; - width: 3px; - height: 3px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; - } - } - .post-categories { - position: relative; - display: flex; - justify-content: flex-end; - gap: 5px; - margin: 8px 0 0; - - a { - color: var(--main-color); - text-decoration: none; - - &:hover { - text-decoration: underline; - } - } - } - } -} - -.post-content { - abbr { - border-bottom: 1px dotted var(--grey-555); - text-decoration: none; - cursor: help; - } - code, kbd, pre { - margin: 0; - font-family: monospace; - word-wrap: break-word; - word-break: break-word; - white-space: pre-wrap; - } - address, cite, var { - font-style: italic; - } - blockquote { - margin: 40px 0; - padding: 0 0 0 20px; - border-left: 3px solid var(--grey-555); - color: var(--grey-222); - font-weight: 700; - } - em, strong { - color: var(--grey-222); - } - - h1, h2, h3, h4, h5, h6 { - font-family: 'PT Sans', sans-serif; - margin: 40px 0 25px 0; - color: var(--grey-222); - } - h4, h5, h6 { - margin: 25px 0; - } - h1 { - font-size: 28px; - } - h2 { - font-size: 26px; - } - h3 { - font-size: 22px; - } - h4 { - font-size: 20px; - } - h5 { - font-size: 18px; - } - h6 { - font-size: 16px; - } - - a { - color: var(--main-color); - - &:hover { - text-decoration: none; - } - } - img { - display: block; - max-width: 100%; - height: auto; - } - - ul { - list-style-type: disc; - list-style-position: inside; - } - - ul, ol { - margin: 15px 0; - padding: 0 0 0 20px; - - ul, ol { - padding: 0 0 0 20px; - } - li { - margin: 5px 0; - - & > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); - } - } - } - - dl { - margin: 40px 0; - - dt { - margin: 10px 0 0; - font-weight: 700; - } - dd { - margin: 5px 0; - - & > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); - } - } - } - p { - margin: 15px 0; - - & > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); - } - } - - .alignleft { - float: left; - margin: 20px 30px 10px 0; - } - .alignright { - float: right; - margin: 20px 0 10px 20px; - } - .aligncenter { - clear: both; - margin: 0 auto 20px; - } - - figcaption { - font-size: 13px; - font-style: italic; - padding-top: 10px; - } - - .iframe-wrapper { - position: relative; - padding-top: 56.25%; - - & > iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } - } - - .read-more-button { - font-size: 16px; - color: var(--grey-555); - } -} - -.post-footer { - display: flex; - justify-content: space-between; - align-items: flex-start; - gap: 0 20px; - margin: 50px 0 0; - - .post-tags { - display: flex; - flex-flow: row wrap; - flex: 9 1 auto; - gap: 0 20px; - list-style: none; - margin: 0; - padding: 0; - - li { - a { - font-size: 14px; - font-family: 'PT Sans', sans-serif; - color: var(--grey-ccc); - text-decoration: none; - transition: all .15s ease; - &:hover { - color: var(--grey-555); - } - } - } - } - .post-share { - position: relative; - flex: 0 0 auto; - border: 1px solid var(--grey-ddd); - overflow: hidden; - - &:hover { - & > span { - margin-left: -100%; - } - & > ul { - left: 0; - } - } - span { - display: block; - width: 100%; - padding: 0 15px; - font-family: 'PT Sans', sans-serif; - font-size: 12px; - text-transform: uppercase; - text-align: center; - letter-spacing: .1em; - color: var(--grey-aaa); - cursor: pointer; - transition: margin .2s ease; - } - ul { - position: absolute; - top: 0; - left: 100%; - width: 100%; - height: 100%; - display: flex; - list-style: none; - margin: 0; - padding: 0; - transition: left .2s ease; - - li { - flex: 1 0 auto; - cursor: pointer; - - &:last-child { - border-left: 1px solid var(--grey-ddd); - } - a { - display: flex; - align-items: center; - justify-content: center; - height: 100%; - color: var(--grey-ccc); - &:hover { - background: var(--grey-eee); - } - svg { - fill: currentColor; - } - } - } - } - } - } - .post-comments { - position: relative; - margin: 40px 0 0; - padding: 20px 0 0; - border-top: 1px solid var(--grey-ddd); - } -} - - -@media screen and (max-width: 960px) { - .post { - .post-title { - margin: 0 0 15px; - } - .post-author { - display: flex; - align-items: center; - flex-flow: row wrap; - gap: 15px; - position: static; - width: 100%; - margin: 0 0 20px; - text-align: left; - .author-avatar { - width: 36px; - height: 36px; - } - .author-info { - .author-name { - margin: 0; - color: var(--grey-555); - text-transform: initial; - } - .author-title { display: none; } - } - .post-meta { - display: flex; - flex-flow: row wrap; - margin: 0; - margin-left: auto; - padding: 0; - - &:before { - content: none; - } - .post-categories { - margin: 0 0 0 5px; - padding: 0 0 0 10px; - - &:before { - position: absolute; - top: 50%; - left: 0; - width: 3px; - height: 3px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; - } - } - } - } - } -} diff --git a/assets/_sass/main.scss b/assets/_sass/main.scss deleted file mode 100644 index 7215fc7..0000000 --- a/assets/_sass/main.scss +++ /dev/null @@ -1,20 +0,0 @@ -@import 'base/vars'; -@import 'base/reset'; -@import 'base/fonts'; -@import 'base/syntax'; -@import 'base/animations'; - -/* Layout */ -@import 'layout'; - -/* Pages */ -@import 'pages/fourofour'; - -/* Components */ -@import 'components/post'; -@import 'components/page'; -@import 'components/pagination'; - -/* Partials */ -@import 'partials/header-separator'; -@import 'partials/burger-menu'; diff --git a/assets/_sass/partials/_burger-menu.scss b/assets/_sass/partials/_burger-menu.scss deleted file mode 100644 index 573e406..0000000 --- a/assets/_sass/partials/_burger-menu.scss +++ /dev/null @@ -1,68 +0,0 @@ -.toggleBurger { - display: none; - - &:checked { - & ~ .site-navigation { - transform: translate(0, 0); - } - & ~ .toggleBurgerWrapper { - span { - background: transparent; - &:before { - top: 0; - transform: rotate(135deg); - } - &:after { - top: 0; - transform: rotate(-135deg); - } - } - } - } -} - -.toggleBurgerWrapper { - display: none; - position: fixed; - top: 20px; - left: 20px; - width: 25px; - height: 30px; - cursor: pointer; - z-index: 100; - user-select: none; - - span { - position: absolute; - top: 50%; - height: 2px; - width: 100%; - background: var(--grey-222); - - transition: all .3s ease; - transform: translate(0, -50%); - - &:before, - &:after { - position: absolute; - height: 2px; - width: 100%; - background: var(--grey-222); - content: ""; - - transition: all .3s ease; - } - &:before { - top: -6px; - } - &:after { - top: 6px; - } - } -} - -@media screen and (max-width: 800px) { - .toggleBurgerWrapper { - display: block; - } -} diff --git a/assets/_sass/partials/_header-separator.scss b/assets/_sass/partials/_header-separator.scss deleted file mode 100644 index da5a007..0000000 --- a/assets/_sass/partials/_header-separator.scss +++ /dev/null @@ -1,27 +0,0 @@ -.header-content-separator { - position: relative; - margin: 40px auto; - width: 4px; - height: 4px; - border-radius: 50%; - background: var(--grey-ccc); - - &:before { - position: absolute; - left: -8px; - width: 4px; - height: 4px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; - } - &:after { - position: absolute; - left: 8px; - width: 4px; - height: 4px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; - } -} diff --git a/assets/_sass/base/_animations.scss b/assets/css/base/animations.css index 9bbe938..9bbe938 100644 --- a/assets/_sass/base/_animations.scss +++ b/assets/css/base/animations.css diff --git a/assets/_sass/base/_fonts.scss b/assets/css/base/fonts.css index 56be318..56be318 100644 --- a/assets/_sass/base/_fonts.scss +++ b/assets/css/base/fonts.css diff --git a/assets/_sass/base/_reset.scss b/assets/css/base/reset.css index 8e0f0f3..8e0f0f3 100644 --- a/assets/_sass/base/_reset.scss +++ b/assets/css/base/reset.css diff --git a/assets/_sass/base/_syntax.scss b/assets/css/base/syntax.css index 00d491f..00d491f 100644 --- a/assets/_sass/base/_syntax.scss +++ b/assets/css/base/syntax.css diff --git a/assets/_sass/base/_vars.scss b/assets/css/base/vars.css index 06d5b8d..06d5b8d 100644 --- a/assets/_sass/base/_vars.scss +++ b/assets/css/base/vars.css diff --git a/assets/css/components/page.css b/assets/css/components/page.css new file mode 100644 index 0000000..b1fbc18 --- /dev/null +++ b/assets/css/components/page.css @@ -0,0 +1,197 @@ +.page .page-title { + margin: 0 0 25px; + font-family: "PT Sans", sans-serif; + font-size: 32px; + line-height: 42px; + font-weight: 700; + color: var(--grey-222); +} + +.page .page-content abbr { + border-bottom: 1px dotted var(--grey-555); + text-decoration: none; + cursor: help; +} + +.page .page-content code, +.page .page-content kbd, +.page .page-content pre { + margin: 0; + font-family: monospace; + word-wrap: break-word; + word-break: break-word; + white-space: pre-wrap; +} + +.page .page-content address, +.page .page-content cite, +.page .page-content var { + font-style: italic; +} + +.page .page-content blockquote { + margin: 40px 0; + padding: 0 0 0 20px; + border-left: 3px solid var(--grey-555); + color: var(--grey-222); + font-weight: 700; +} + +.page .page-content em, +.page .page-content strong { + color: var(--grey-222); +} + +.page .page-content h1, +.page .page-content h2, +.page .page-content h3, +.page .page-content h4, +.page .page-content h5, +.page .page-content h6 { + font-family: "PT Sans", sans-serif; + margin: 40px 0 25px 0; + color: var(--grey-222); +} + +.page .page-content h4, +.page .page-content h5, +.page .page-content h6 { + margin: 25px 0; +} + +.page .page-content h1 { + font-size: 28px; +} + +.page .page-content h2 { + font-size: 26px; +} + +.page .page-content h3 { + font-size: 22px; +} + +.page .page-content h4 { + font-size: 20px; +} + +.page .page-content h5 { + font-size: 18px; + } + +.page .page-content h6 { + font-size: 16px; +} + +.page .page-content a { + color: var(--main-color); +} + +.page .page-content a:hover { + text-decoration: none; +} + +.page .page-content img { + display: block; + max-width: 100%; + height: auto; +} + +.page .page-content ul { + list-style-type: disc; + list-style-position: inside; +} + +.page .page-content ul, +.page .page-content ol { + margin: 15px 0; + padding: 0 0 0 20px; +} + +.page .page-content ul ul, +.page .page-content ul ol, +.page .page-content ol ul, +.page .page-content ol ol { + padding: 0 0 0 20px; +} + +.page .page-content ul li, +.page .page-content ol li { + margin: 5px 0; +} + +.page .page-content ul li > code, +.page .page-content ol li > code { + font-size: 14px; + padding: 3px 6px; + margin: 0 4px; + background: var(--grey-fa); + border: 1px solid var(--grey-ccc); +} + +.page .page-content dl { + margin: 40px 0; +} + +.page .page-content dl dt { + margin: 10px 0 0; + font-weight: 700; +} + +.page .page-content dl dd { + margin: 5px 0; +} + +.page .page-content dl dd > code { + font-size: 14px; + padding: 3px 6px; + margin: 0 4px; + background: var(--grey-fa); + border: 1px solid var(--grey-ccc); +} + +.page .page-content p { + margin: 15px 0; +} + +.page .page-content p > code { + font-size: 14px; + padding: 3px 6px; + margin: 0 4px; + background: var(--grey-fa); + border: 1px solid var(--grey-ccc); +} + +.page .page-content .alignleft { + float: left; + margin: 20px 30px 10px 0; +} + +.page .page-content .alignright { + float: right; + margin: 20px 0 10px 20px; +} + +.page .page-content .aligncenter { + clear: both; + margin: 0 auto 20px; +} + +.page .page-content figcaption { + font-size: 13px; + font-style: italic; + padding-top: 10px; +} + +.page .page-content .iframe-wrapper { + position: relative; + padding-top: 56.25%; +} + +.page .page-content .iframe-wrapper > iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/assets/css/components/pagination.css b/assets/css/components/pagination.css new file mode 100644 index 0000000..8ba927e --- /dev/null +++ b/assets/css/components/pagination.css @@ -0,0 +1,22 @@ +.pagination { + display: grid; + grid-template-columns: 100px 1fr 100px; + margin: 50px 0 0; + font-size: 16px; +} + +.pagination .previous, +.pagination .next { + text-decoration: none; + color: var(--grey-555); +} + +.pagination .previous:hover, +.pagination .next:hover { + text-decoration: underline; +} + +.pagination .page_number { + text-align: center; + color: var(--grey-ccc); +} diff --git a/assets/css/components/post.css b/assets/css/components/post.css new file mode 100644 index 0000000..916ec29 --- /dev/null +++ b/assets/css/components/post.css @@ -0,0 +1,413 @@ +.post-lists-title { + font-family: 'PT Sans', sans-serif; + font-size: 24px; + line-height: 42px; + font-weight: 700; + color: var(--grey-aaa); + margin: 0 0 40px; + text-align: center; +} + +.post-lists-title span { + color: var(--grey-222); +} + +.post-list { + display: grid; + gap: 100px 0; +} + +.post { + position: relative; +} + +.post .post-title { + margin: 0 0 25px; + font-family: 'PT Sans', sans-serif; + font-size: 32px; + line-height: 42px; + font-weight: 700; + color: var(--grey-222); +} + +.post .post-title a { + color: var(--grey-222); + text-decoration: none; +} + +.post .post-title a:hover { + text-decoration: underline; +} + +.post .post-author { + position: absolute; + top: 10px; + left: -200px; + width: 150px; + text-align: right; +} + +.post .post-author .author-avatar { + display: inline-block; + width: 50px; + height: 50px; + border-radius: 50%; + fill: currentColor; + color: var(--grey-ddd); +} + +.post .post-author .author-info .author-name { + display: block; + margin: 10px 0 4px; + font-family: 'PT Sans', sans-serif; + font-size: 16px; + line-height: 20px; + font-weight: 700; + color: var(--grey-222); + text-transform: uppercase; +} + +.post .post-author .author-info .author-title { + display: block; + font-size: 12px; + line-height: 16px; + font-style: italic; + color: var(--grey-aaa); +} + +.post .post-author .post-meta { + position: relative; + margin: 15px 0 0; + padding: 15px 0 0; + line-height: 20px; + font-size: 14px; + color: var(--grey-aaa); +} + +.post .post-author .post-meta:before { + position: absolute; + top: 0; + right: 0; + width: 30px; + height: 1px; + background: var(--grey-ddd); + content: ""; +} + +.post .post-author .post-meta .post-date { + position: relative; + margin: 0 5px 0 0; + padding: 0 10px 0 0; +} + +.post .post-author .post-meta .post-date:after { + position: absolute; + top: 50%; + right: 0; + width: 3px; + height: 3px; + border-radius: 50%; + background: var(--grey-ccc); + content: ""; +} + +.post .post-author .post-meta .post-categories { + position: relative; + display: flex; + justify-content: flex-end; + gap: 5px; + margin: 8px 0 0; +} + +.post .post-author .post-meta .post-categories a { + color: var(--main-color); + text-decoration: none; +} + +.post .post-author .post-meta .post-categories a:hover { + text-decoration: underline; +} + +.post .post-content abbr { + border-bottom: 1px dotted var(--grey-555); + text-decoration: none; + cursor: help; +} + +.post .post-content code, +.post .post-content kbd, +.post .post-content pre { + margin: 0; + font-family: monospace; + word-wrap: break-word; + word-break: break-word; + white-space: pre-wrap; +} + +.post .post-content address, +.post .post-content cite, +.post .post-content var { + font-style: italic; +} + +.post .post-content blockquote { + margin: 40px 0; + padding: 0 0 0 20px; + border-left: 3px solid var(--grey-555); + color: var(--grey-222); + font-weight: 700; +} + +.post .post-content em, +.post .post-content strong { + color: var(--grey-222); +} + +.post .post-content h1, +.post .post-content h2, +.post .post-content h3, +.post .post-content h4, +.post .post-content h5, +.post .post-content h6 { + font-family: 'PT Sans', sans-serif; + margin: 40px 0 25px 0; + color: var(--grey-222); +} + +.post .post-content h4, +.post .post-content h5, +.post .post-content h6 { + margin: 25px 0; +} + +.post .post-content h1 { + font-size: 28px; +} + +.post .post-content h2 { + font-size: 26px; +} + +.post .post-content h3 { + font-size: 22px; +} + +.post .post-content h4 { + font-size: 20px; +} + +.post .post-content h5 { + font-size: 18px; +} + +.post .post-content h6 { + font-size: 16px; +} + +.post .post-content a { + color: var(--main-color); +} + +.post .post-content a:hover { + text-decoration: none; +} + +.post .post-content img { + display: block; + max-width: 100%; + height: auto; +} + +.post .post-content ul { + list-style-type: disc; + list-style-position: inside; +} + +.post .post-content ul, +.post .post-content ol { + margin: 15px 0; + padding: 0 0 0 20px; +} + +.post .post-content ul ul, +.post .post-content ul ol, +.post .post-content ol ul, +.post .post-content ol ol { + padding: 0 0 0 20px; +} + +.post .post-content ul li, +.post .post-content ol li { + margin: 5px 0; +} + +.post .post-content ul li > code, +.post .post-content ol li > code { + font-size: 14px; + padding: 3px 6px; + margin: 0 4px; + background: var(--grey-fa); + border: 1px solid var(--grey-ccc); +} + +.post .post-content dl { + margin: 40px 0; +} + +.post .post-content dl dt { + margin: 10px 0 0; + font-weight: 700; +} + +.post .post-content dl dd { + margin: 5px 0; +} + +.post .post-content dl dd > code { + font-size: 14px; + padding: 3px 6px; + margin: 0 4px; + background: var(--grey-fa); + border: 1px solid var(--grey-ccc); +} + +.post .post-content p { + margin: 15px 0; +} + +.post .post-content p > code { + font-size: 14px; + padding: 3px 6px; + margin: 0 4px; + background: var(--grey-fa); + border: 1px solid var(--grey-ccc); +} + +.post .post-content .alignleft { + float: left; + margin: 20px 30px 10px 0; +} + +.post .post-content .alignright { + float: right; + margin: 20px 0 10px 20px; +} + +.post .post-content .aligncenter { + clear: both; + margin: 0 auto 20px; +} + +.post .post-content figcaption { + font-size: 13px; + font-style: italic; + padding-top: 10px; +} + +.post .post-content .iframe-wrapper { + position: relative; + padding-top: 56.25%; +} + +.post .post-content .iframe-wrapper > iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.post .post-content .read-more-button { + font-size: 16px; + color: var(--grey-555); +} + +.post .post-footer { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 0 20px; + margin: 50px 0 0; +} + +.post .post-footer .post-tags { + display: flex; + flex-flow: row wrap; + flex: 9 1 auto; + gap: 0 20px; + list-style: none; + margin: 0; + padding: 0; +} + +.post .post-footer .post-tags li a { + font-size: 14px; + font-family: 'PT Sans', sans-serif; + color: var(--grey-ccc); + text-decoration: none; + transition: all .15s ease; +} + +.post .post-footer .post-tags li a:hover { + color: var(--grey-555); +} + +@media screen and (max-width: 960px) { + .post .post-title { + margin: 0 0 15px; + } + + .post .post-author { + display: flex; + align-items: center; + flex-flow: row wrap; + gap: 15px; + position: static; + width: 100%; + margin: 0 0 20px; + text-align: left; + } + + .post .post-author .author-avatar { + width: 36px; + height: 36px; + } + + .post .post-author .author-info .author-name { + margin: 0; + color: var(--grey-555); + text-transform: initial; + } + + .post .post-author .author-info .author-title { + display: none; + } + + .post .post-author .post-meta { + display: flex; + flex-flow: row wrap; + margin: 0; + margin-left: auto; + padding: 0; + } + + .post .post-author .post-meta:before { + content: none; + } + + .post .post-author .post-meta .post-categories { + margin: 0 0 0 5px; + padding: 0 0 0 10px; + } + + .post .post-author .post-meta .post-categories:before { + position: absolute; + top: 50%; + left: 0; + width: 3px; + height: 3px; + border-radius: 50%; + background: var(--grey-ccc); + content: ""; + } +} diff --git a/assets/css/layout.css b/assets/css/layout.css new file mode 100644 index 0000000..60b662f --- /dev/null +++ b/assets/css/layout.css @@ -0,0 +1,191 @@ +.site-header { + display: grid; + justify-content: center; + padding: 0 20px; + text-align: center; +} + +.site-header .site-header-wrapper { + position: relative; + overflow: hidden; + background: var(--main-color); + padding: 10px 25px 20px 25px; + border-radius: 0 0 5px 5px; + text-decoration: none; + transition: background .2s ease; +} + +.site-header .site-header-wrapper:before { + position: absolute; + top: 0; + left: -150%; + content: ""; + width: 50%; + height: 100%; + background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%); + transform: skew(-45deg, 0); +} + +.site-header .site-header-wrapper:hover { + background: var(--main-color-hover); +} + +.site-header .site-header-wrapper:hover:before { + animation: headerShine .35s; +} + +.site-header .site-header-wrapper .site-logo { + display: block; + margin: 0 0 10px; +} + +.site-header .site-header-wrapper .site-logo img { + display: block; +} + +.site-header .site-header-wrapper .site-subtitle { + display: block; + font-family: 'Bebas Neue', sans-serif; + font-size: 11px; + line-height: 14px; + color: var(--grey-fc); +} + +.site-header .site-header-wrapper .site-title { + display: block; + font-family: 'Bebas Neue', sans-serif; + font-size: 26px; + line-height: 28px; + color: var(--grey-fc); +} + +.site-navigation { + display: flex; + justify-content: center; + align-items: center; + flex-flow: row wrap; + gap: 10px 40px; + max-width: 800px; + margin: 30px auto 0; + padding: 0 20px; + text-align: center; +} + +.site-navigation a, +.site-navigation span { + position: relative; + text-decoration: none; + color: var(--grey-555); + padding: 0 0 2px; + transition: color .2s ease; + cursor: pointer; +} + +.site-navigation a:before, +.site-navigation span:before { + position: absolute; + opacity: 0; + left: 0; + bottom: 0; + width: 0%; + border-bottom: 2px solid var(--grey-222); + transition: width .18s ease, opacity .18s ease; + content: ""; +} + +.site-navigation a:hover, +.site-navigation span:hover, +.site-navigation a.active, +.site-navigation span.active { + color: var(--grey-222); +} + +.site-navigation a:hover:before, +.site-navigation span:hover:before, +.site-navigation a.active:before, +.site-navigation span.active:before { + width: 100%; + opacity: 1; +} + +@media screen and (max-width: 800px) { + .site-header { + position: fixed; + left: 0; + top: 0; + width: 100%; + z-index: 9; + background: var(--body-bg); + box-shadow: 0 2px 5px rgba(0, 0, 0, .1); + } + + .site-header .site-header-wrapper { + display: flex; + align-items: center; + justify-content: center; + flex-flow: row wrap; + gap: 0 15px; + border-radius: 0; + padding: 20px; + background: transparent; + } + + .site-header .site-header-wrapper:hover { + background: transparent; + } + + .site-header .site-header-wrapper .site-logo, + .site-header .site-header-wrapper .site-subtitle { + display: none; + } + + .site-header .site-header-wrapper .site-title { + font-size: 32px; + line-height: 36px; + color: var(--main-color); + } + + .site-navigation { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + justify-content: flex-start; + flex-flow: column nowrap; + gap: 20px 0; + transform: translate(0, -100%); + transition: transform .25s ease-in-out; + padding: 100px 20px 0; + background: rgba(255, 255, 255, .9); + z-index: 10; + } + + .site-navigation a, + .site-navigation span { + color: var(--grey-222); + font-size: 30px; + line-height: 40px; + } +} + +.wrapper { + max-width: 600px; + margin: 0 auto; + padding: 0 20px 35px; + border-bottom: 1px solid var(--grey-eee); +} + +.wrapper.long { + max-width: 800px; +} + +.site-footer { + max-width: 800px; + margin: 0 auto; + padding: 40px 20px; + font-size: 14px; + line-height: 22px; + color: var(--grey-ccc); + text-align: center; +} diff --git a/assets/_sass/pages/_fourofour.scss b/assets/css/pages/fourofour.css index c8cd137..32a0119 100644 --- a/assets/_sass/pages/_fourofour.scss +++ b/assets/css/pages/fourofour.css @@ -1,6 +1,7 @@ .page-not-found { text-align: center; } + .page-not-found svg { fill: currentColor; color: var(--grey-ddd); diff --git a/assets/css/partials/burger-menu.css b/assets/css/partials/burger-menu.css new file mode 100644 index 0000000..91e4101 --- /dev/null +++ b/assets/css/partials/burger-menu.css @@ -0,0 +1,69 @@ +.toggleBurger { + display: none; +} + +.toggleBurger:checked ~ .site-navigation { + transform: translate(0, 0); +} + +.toggleBurger:checked ~ .toggleBurgerWrapper span { + background: transparent; +} + +.toggleBurger:checked ~ .toggleBurgerWrapper span:before { + top: 0; + transform: rotate(135deg); +} + +.toggleBurger:checked ~ .toggleBurgerWrapper span:after { + top: 0; + transform: rotate(-135deg); +} + +.toggleBurgerWrapper { + display: none; + position: fixed; + top: 20px; + left: 20px; + width: 25px; + height: 30px; + cursor: pointer; + z-index: 100; + user-select: none; +} + +.toggleBurgerWrapper span { + position: absolute; + top: 50%; + height: 2px; + width: 100%; + background: var(--grey-222); + + transition: all .3s ease; + transform: translate(0, -50%); +} + +.toggleBurgerWrapper span:before, +.toggleBurgerWrapper span:before:after { + position: absolute; + height: 2px; + width: 100%; + background: var(--grey-222); + content: ""; + + transition: all .3s ease; +} + +.toggleBurgerWrapper span:before { + top: -6px; +} + +.toggleBurgerWrapper span:after { + top: 6px; +} + +@media screen and (max-width: 800px) { + .toggleBurgerWrapper { + display: block; + } +} diff --git a/assets/css/partials/header-separator.css b/assets/css/partials/header-separator.css new file mode 100644 index 0000000..e1e5358 --- /dev/null +++ b/assets/css/partials/header-separator.css @@ -0,0 +1,28 @@ +.header-content-separator { + position: relative; + margin: 40px auto; + width: 4px; + height: 4px; + border-radius: 50%; + background: var(--grey-ccc); +} + +.header-content-separator:before { + position: absolute; + left: -8px; + width: 4px; + height: 4px; + border-radius: 50%; + background: var(--grey-ccc); + content: ""; +} + +.header-content-separator::after { + position: absolute; + left: 8px; + width: 4px; + height: 4px; + border-radius: 50%; + background: var(--grey-ccc); + content: ""; +} diff --git a/assets/css/styles.css b/assets/css/styles.css deleted file mode 100644 index ff69e63..0000000 --- a/assets/css/styles.css +++ /dev/null @@ -1,1582 +0,0 @@ -:root, [data-theme=light] { - --body-bg: #fafafa; - --main-color: #639f93; - --main-color-hover: #5b9287; - --form-success-bg: #d0f1cc; - --form-success-text: #597755; - --form-error-bg: #f1cccc; - --form-error-text: #775555; - --grey-222: #222; - --grey-555: #555; - --grey-aaa: #aaa; - --grey-ccc: #ccc; - --grey-ddd: #ddd; - --grey-eee: #eee; - --grey-fc: #fcfcfc; - --grey-fa: #fafafa; -} - -[data-theme=dark] { - --body-bg: #050505; - --main-color: #639f93; - --main-color-hover: #5b9287; - --form-success-bg: #d0f1cc; - --form-success-text: #597755; - --form-error-bg: #f1cccc; - --form-error-text: #775555; - --grey-222: #ddd; - --grey-555: #ddd; - --grey-aaa: #777; - --grey-ccc: #666; - --grey-ddd: #666; - --grey-eee: #222; - --grey-fc: #fcfcfc; - --grey-fa: #151515; -} - -* { - box-sizing: border-box; -} - -body { - margin: 0; - padding: 0; - font-family: "PT Serif", serif; - font-size: 18px; - line-height: 30px; - color: var(--grey-555); - background: var(--body-bg); -} - -header, -nav, -section, -main, -article, -aside, -figure, -footer, -iframe, -object, -svg { - display: block; - margin: 0; -} - -@media screen and (max-width: 800px) { - body { - padding: 80px 0 0; - } -} -/* latin-ext */ -@font-face { - font-family: "Bebas Neue"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/BebasNeue-Regular.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "Bebas Neue"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/BebasNeue-Regular.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsansitalic.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsansitalic.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsansitalic.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsansitalic.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbolditalic.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbolditalic.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbolditalic.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Sans"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbolditalic.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsans.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsans.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsans.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptsans.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbold.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbold.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbold.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Sans"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptsansbold.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserifitalic.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserifitalic.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserifitalic.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserifitalic.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifbolditalic.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifitalic.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifitalic.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Serif"; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifitalic.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserif.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserif.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserif.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(/assets/fonts/ptserif.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -/* cyrillic-ext */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifbold.woff2) format("woff2"); - unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; -} -/* cyrillic */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifbold.woff2) format("woff2"); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifbold.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: "PT Serif"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(/assets/fonts/ptserifbold.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} -.highlight { - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); - padding: 30px; -} - -.highlight .lineno { - padding: 0 15px 0 0; -} - -/* Comment */ -.highlight .c { - color: #998; - font-style: italic; -} - -/* Error */ -.highlight .err { - color: #a61717; - background-color: #e3d2d2; -} - -/* Keyword */ -.highlight .k { - font-weight: bold; -} - -/* Operator */ -.highlight .o { - font-weight: bold; -} - -/* Comment.Multiline */ -.highlight .cm { - color: #998; - font-style: italic; -} - -/* Comment.Preproc */ -.highlight .cp { - color: #999; - font-weight: bold; -} - -/* Comment.Single */ -.highlight .c1 { - color: #998; - font-style: italic; -} - -/* Comment.Special */ -.highlight .cs { - color: #999; - font-weight: bold; - font-style: italic; -} - -/* Generic.Deleted */ -.highlight .gd { - color: #000; - background-color: #fdd; -} - -/* Generic.Deleted.Specific */ -.highlight .gd .x { - color: #000; - background-color: #faa; -} - -/* Generic.Emph */ -.highlight .ge { - font-style: italic; -} - -/* Generic.Error */ -.highlight .gr { - color: #a00; -} - -/* Generic.Heading */ -.highlight .gh { - color: #999; -} - -/* Generic.Inserted */ -.highlight .gi { - color: #000; - background-color: #dfd; -} - -/* Generic.Inserted.Specific */ -.highlight .gi .x { - color: #000; - background-color: #afa; -} - -/* Generic.Output */ -.highlight .go { - color: #888; -} - -/* Generic.Prompt */ -.highlight .gp { - color: #555; -} - -/* Generic.Strong */ -.highlight .gs { - font-weight: bold; -} - -/* Generic.Subheading */ -.highlight .gu { - color: #aaa; -} - -/* Generic.Traceback */ -.highlight .gt { - color: #a00; -} - -/* Keyword.Constant */ -.highlight .kc { - font-weight: bold; -} - -/* Keyword.Declaration */ -.highlight .kd { - font-weight: bold; -} - -/* Keyword.Pseudo */ -.highlight .kp { - font-weight: bold; -} - -/* Keyword.Reserved */ -.highlight .kr { - font-weight: bold; -} - -/* Keyword.Type */ -.highlight .kt { - color: #458; - font-weight: bold; -} - -/* Literal.Number */ -.highlight .m { - color: #099; -} - -/* Literal.String */ -.highlight .s { - color: #d14; -} - -/* Name.Attribute */ -.highlight .na { - color: #008080; -} - -/* Name.Builtin */ -.highlight .nb { - color: #0086B3; -} - -/* Name.Class */ -.highlight .nc { - color: #458; - font-weight: bold; -} - -/* Name.Constant */ -.highlight .no { - color: #008080; -} - -/* Name.Entity */ -.highlight .ni { - color: #800080; -} - -/* Name.Exception */ -.highlight .ne { - color: #900; - font-weight: bold; -} - -/* Name.Function */ -.highlight .nf { - color: #900; - font-weight: bold; -} - -/* Name.Namespace */ -.highlight .nn { - color: #555; -} - -/* Name.Tag */ -.highlight .nt { - color: #000080; -} - -/* Name.Variable */ -.highlight .nv { - color: #008080; -} - -/* Operator.Word */ -.highlight .ow { - font-weight: bold; -} - -/* Text.Whitespace */ -.highlight .w { - color: #bbb; -} - -/* Literal.Number.Float */ -.highlight .mf { - color: #099; -} - -/* Literal.Number.Hex */ -.highlight .mh { - color: #099; -} - -/* Literal.Number.Integer */ -.highlight .mi { - color: #099; -} - -/* Literal.Number.Oct */ -.highlight .mo { - color: #099; -} - -/* Literal.String.Backtick */ -.highlight .sb { - color: #d14; -} - -/* Literal.String.Char */ -.highlight .sc { - color: #d14; -} - -/* Literal.String.Doc */ -.highlight .sd { - color: #d14; -} - -/* Literal.String.Double */ -.highlight .s2 { - color: #d14; -} - -/* Literal.String.Escape */ -.highlight .se { - color: #d14; -} - -/* Literal.String.Heredoc */ -.highlight .sh { - color: #d14; -} - -/* Literal.String.Interpol */ -.highlight .si { - color: #d14; -} - -/* Literal.String.Other */ -.highlight .sx { - color: #d14; -} - -/* Literal.String.Regex */ -.highlight .sr { - color: #009926; -} - -/* Literal.String.Single */ -.highlight .s1 { - color: #d14; -} - -/* Literal.String.Symbol */ -.highlight .ss { - color: #990073; -} - -/* Name.Builtin.Pseudo */ -.highlight .bp { - color: #999; -} - -/* Name.Variable.Class */ -.highlight .vc { - color: #008080; -} - -/* Name.Variable.Global */ -.highlight .vg { - color: #008080; -} - -/* Name.Variable.Instance */ -.highlight .vi { - color: #008080; -} - -/* Literal.Number.Integer.Long */ -.highlight .il { - color: #099; -} - -@keyframes headerShine { - 100% { - left: 150%; - } -} -@keyframes fadeIn { - from { - opacity: 0; - } - to { - opacity: 1; - } -} -@keyframes fadeOut { - from { - opacity: 1; - } - to { - opacity: 0; - } -} -@keyframes zoomIn { - from { - opacity: 0; - transform: scale3d(0.3, 0.3, 0.3); - } - to { - opacity: 1; - } -} -@keyframes zoomOut { - from { - opacity: 1; - } - 50% { - opacity: 0; - transform: scale3d(0.3, 0.3, 0.3); - } - to { - opacity: 0; - } -} -/* Layout */ -.site-header { - display: grid; - justify-content: center; - padding: 0 20px; - text-align: center; -} -.site-header .site-header-wrapper { - position: relative; - overflow: hidden; - background: var(--main-color); - padding: 10px 25px 20px 25px; - border-radius: 0 0 5px 5px; - text-decoration: none; - transition: background 0.2s ease; -} -.site-header .site-header-wrapper:before { - position: absolute; - top: 0; - left: -150%; - content: ""; - width: 50%; - height: 100%; - background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%); - transform: skew(-45deg, 0); -} -.site-header .site-header-wrapper:hover { - background: var(--main-color-hover); -} -.site-header .site-header-wrapper:hover:before { - animation: headerShine 0.35s; -} -.site-header .site-header-wrapper .site-logo { - display: block; - margin: 0 0 10px; -} -.site-header .site-header-wrapper .site-logo img { - display: block; -} -.site-header .site-header-wrapper .site-subtitle { - display: block; - font-family: "Bebas Neue", sans-serif; - font-size: 11px; - line-height: 14px; - color: var(--grey-fc); -} -.site-header .site-header-wrapper .site-title { - display: block; - font-family: "Bebas Neue", sans-serif; - font-size: 26px; - line-height: 28px; - color: var(--grey-fc); -} - -.site-navigation { - display: flex; - justify-content: center; - align-items: center; - flex-flow: row wrap; - gap: 10px 40px; - max-width: 800px; - margin: 30px auto 0; - padding: 0 20px; - text-align: center; -} -.site-navigation a, .site-navigation span { - position: relative; - text-decoration: none; - color: var(--grey-555); - padding: 0 0 2px; - transition: color 0.2s ease; - cursor: pointer; -} -.site-navigation a:before, .site-navigation span:before { - position: absolute; - opacity: 0; - left: 0; - bottom: 0; - width: 0%; - border-bottom: 2px solid var(--grey-222); - transition: width 0.18s ease, opacity 0.18s ease; - content: ""; -} -.site-navigation a:hover, .site-navigation a.active, .site-navigation span:hover, .site-navigation span.active { - color: var(--grey-222); -} -.site-navigation a:hover:before, .site-navigation a.active:before, .site-navigation span:hover:before, .site-navigation span.active:before { - width: 100%; - opacity: 1; -} - -@media screen and (max-width: 800px) { - .site-header { - position: fixed; - left: 0; - top: 0; - width: 100%; - z-index: 9; - background: var(--body-bg); - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); - } - .site-header .site-header-wrapper { - display: flex; - align-items: center; - justify-content: center; - flex-flow: row wrap; - gap: 0 15px; - border-radius: 0; - padding: 20px; - background: transparent; - } - .site-header .site-header-wrapper:hover { - background: transparent; - } - .site-header .site-header-wrapper .site-logo, - .site-header .site-header-wrapper .site-subtitle { - display: none; - } - .site-header .site-header-wrapper .site-title { - font-size: 32px; - line-height: 36px; - color: var(--main-color); - } - .site-navigation { - position: fixed; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - justify-content: flex-start; - flex-flow: column nowrap; - gap: 20px 0; - transform: translate(0, -100%); - transition: transform 0.25s ease-in-out; - padding: 100px 20px 0; - background: rgba(255, 255, 255, 0.9); - z-index: 10; - } - .site-navigation a, .site-navigation span { - color: var(--grey-222); - font-size: 30px; - line-height: 40px; - } -} -.wrapper { - max-width: 600px; - margin: 0 auto; - padding: 0 20px 35px; - border-bottom: 1px solid var(--grey-eee); -} -.wrapper.long { - max-width: 800px; -} - -.site-footer { - max-width: 800px; - margin: 0 auto; - padding: 40px 20px; - font-size: 14px; - line-height: 22px; - color: var(--grey-ccc); - text-align: center; -} - -/* Pages */ -.page-not-found { - text-align: center; -} - -.page-not-found svg { - fill: currentColor; - color: var(--grey-ddd); - margin: 0 auto; -} - -/* Components */ -.post-lists-title { - font-family: "PT Sans", sans-serif; - font-size: 24px; - line-height: 42px; - font-weight: 700; - color: var(--grey-aaa); - margin: 0 0 40px; - text-align: center; -} -.post-lists-title span { - color: var(--grey-222); -} - -.post-list { - display: grid; - gap: 100px 0; -} - -.post { - position: relative; -} -.post .post-title { - margin: 0 0 25px; - font-family: "PT Sans", sans-serif; - font-size: 32px; - line-height: 42px; - font-weight: 700; - color: var(--grey-222); -} -.post .post-title a { - color: var(--grey-222); - text-decoration: none; -} -.post .post-title a:hover { - text-decoration: underline; -} -.post .post-author { - position: absolute; - top: 10px; - left: -200px; - width: 150px; - text-align: right; -} -.post .post-author .author-avatar { - display: inline-block; - width: 50px; - height: 50px; - border-radius: 50%; - fill: currentColor; - color: var(--grey-ddd); -} -.post .post-author .author-info .author-name { - display: block; - margin: 10px 0 4px; - font-family: "PT Sans", sans-serif; - font-size: 16px; - line-height: 20px; - font-weight: 700; - color: var(--grey-222); - text-transform: uppercase; -} -.post .post-author .author-info .author-title { - display: block; - font-size: 12px; - line-height: 16px; - font-style: italic; - color: var(--grey-aaa); -} -.post .post-author .post-meta { - position: relative; - margin: 15px 0 0; - padding: 15px 0 0; - line-height: 20px; - font-size: 14px; - color: var(--grey-aaa); -} -.post .post-author .post-meta:before { - position: absolute; - top: 0; - right: 0; - width: 30px; - height: 1px; - background: var(--grey-ddd); - content: ""; -} -.post .post-author .post-meta .post-date { - position: relative; - margin: 0 5px 0 0; - padding: 0 10px 0 0; -} -.post .post-author .post-meta .post-date:after { - position: absolute; - top: 50%; - right: 0; - width: 3px; - height: 3px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; -} -.post .post-author .post-meta .post-categories { - position: relative; - display: flex; - justify-content: flex-end; - gap: 5px; - margin: 8px 0 0; -} -.post .post-author .post-meta .post-categories a { - color: var(--main-color); - text-decoration: none; -} -.post .post-author .post-meta .post-categories a:hover { - text-decoration: underline; -} -.post .post-content abbr { - border-bottom: 1px dotted var(--grey-555); - text-decoration: none; - cursor: help; -} -.post .post-content code, .post .post-content kbd, .post .post-content pre { - margin: 0; - font-family: monospace; - word-wrap: break-word; - word-break: break-word; - white-space: pre-wrap; -} -.post .post-content address, .post .post-content cite, .post .post-content var { - font-style: italic; -} -.post .post-content blockquote { - margin: 40px 0; - padding: 0 0 0 20px; - border-left: 3px solid var(--grey-555); - color: var(--grey-222); - font-weight: 700; -} -.post .post-content em, .post .post-content strong { - color: var(--grey-222); -} -.post .post-content h1, .post .post-content h2, .post .post-content h3, .post .post-content h4, .post .post-content h5, .post .post-content h6 { - font-family: "PT Sans", sans-serif; - margin: 40px 0 25px 0; - color: var(--grey-222); -} -.post .post-content h4, .post .post-content h5, .post .post-content h6 { - margin: 25px 0; -} -.post .post-content h1 { - font-size: 28px; -} -.post .post-content h2 { - font-size: 26px; -} -.post .post-content h3 { - font-size: 22px; -} -.post .post-content h4 { - font-size: 20px; -} -.post .post-content h5 { - font-size: 18px; -} -.post .post-content h6 { - font-size: 16px; -} -.post .post-content a { - color: var(--main-color); -} -.post .post-content a:hover { - text-decoration: none; -} -.post .post-content img { - display: block; - max-width: 100%; - height: auto; -} -.post .post-content ul { - list-style-type: disc; - list-style-position: inside; -} -.post .post-content ul, .post .post-content ol { - margin: 15px 0; - padding: 0 0 0 20px; -} -.post .post-content ul ul, .post .post-content ul ol, .post .post-content ol ul, .post .post-content ol ol { - padding: 0 0 0 20px; -} -.post .post-content ul li, .post .post-content ol li { - margin: 5px 0; -} -.post .post-content ul li > code, .post .post-content ol li > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); -} -.post .post-content dl { - margin: 40px 0; -} -.post .post-content dl dt { - margin: 10px 0 0; - font-weight: 700; -} -.post .post-content dl dd { - margin: 5px 0; -} -.post .post-content dl dd > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); -} -.post .post-content p { - margin: 15px 0; -} -.post .post-content p > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); -} -.post .post-content .alignleft { - float: left; - margin: 20px 30px 10px 0; -} -.post .post-content .alignright { - float: right; - margin: 20px 0 10px 20px; -} -.post .post-content .aligncenter { - clear: both; - margin: 0 auto 20px; -} -.post .post-content figcaption { - font-size: 13px; - font-style: italic; - padding-top: 10px; -} -.post .post-content .iframe-wrapper { - position: relative; - padding-top: 56.25%; -} -.post .post-content .iframe-wrapper > iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -.post .post-content .read-more-button { - font-size: 16px; - color: var(--grey-555); -} -.post .post-footer { - display: flex; - justify-content: space-between; - align-items: flex-start; - gap: 0 20px; - margin: 50px 0 0; -} -.post .post-footer .post-tags { - display: flex; - flex-flow: row wrap; - flex: 9 1 auto; - gap: 0 20px; - list-style: none; - margin: 0; - padding: 0; -} -.post .post-footer .post-tags li a { - font-size: 14px; - font-family: "PT Sans", sans-serif; - color: var(--grey-ccc); - text-decoration: none; - transition: all 0.15s ease; -} -.post .post-footer .post-tags li a:hover { - color: var(--grey-555); -} -.post .post-footer .post-share { - position: relative; - flex: 0 0 auto; - border: 1px solid var(--grey-ddd); - overflow: hidden; -} -.post .post-footer .post-share:hover > span { - margin-left: -100%; -} -.post .post-footer .post-share:hover > ul { - left: 0; -} -.post .post-footer .post-share span { - display: block; - width: 100%; - padding: 0 15px; - font-family: "PT Sans", sans-serif; - font-size: 12px; - text-transform: uppercase; - text-align: center; - letter-spacing: 0.1em; - color: var(--grey-aaa); - cursor: pointer; - transition: margin 0.2s ease; -} -.post .post-footer .post-share ul { - position: absolute; - top: 0; - left: 100%; - width: 100%; - height: 100%; - display: flex; - list-style: none; - margin: 0; - padding: 0; - transition: left 0.2s ease; -} -.post .post-footer .post-share ul li { - flex: 1 0 auto; - cursor: pointer; -} -.post .post-footer .post-share ul li:last-child { - border-left: 1px solid var(--grey-ddd); -} -.post .post-footer .post-share ul li a { - display: flex; - align-items: center; - justify-content: center; - height: 100%; - color: var(--grey-ccc); -} -.post .post-footer .post-share ul li a:hover { - background: var(--grey-eee); -} -.post .post-footer .post-share ul li a svg { - fill: currentColor; -} -.post .post-comments { - position: relative; - margin: 40px 0 0; - padding: 20px 0 0; - border-top: 1px solid var(--grey-ddd); -} - -@media screen and (max-width: 960px) { - .post .post-title { - margin: 0 0 15px; - } - .post .post-author { - display: flex; - align-items: center; - flex-flow: row wrap; - gap: 15px; - position: static; - width: 100%; - margin: 0 0 20px; - text-align: left; - } - .post .post-author .author-avatar { - width: 36px; - height: 36px; - } - .post .post-author .author-info .author-name { - margin: 0; - color: var(--grey-555); - text-transform: initial; - } - .post .post-author .author-info .author-title { - display: none; - } - .post .post-author .post-meta { - display: flex; - flex-flow: row wrap; - margin: 0; - margin-left: auto; - padding: 0; - } - .post .post-author .post-meta:before { - content: none; - } - .post .post-author .post-meta .post-categories { - margin: 0 0 0 5px; - padding: 0 0 0 10px; - } - .post .post-author .post-meta .post-categories:before { - position: absolute; - top: 50%; - left: 0; - width: 3px; - height: 3px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; - } -} -.page .page-title { - margin: 0 0 25px; - font-family: "PT Sans", sans-serif; - font-size: 32px; - line-height: 42px; - font-weight: 700; - color: var(--grey-222); -} -.page .page-content abbr { - border-bottom: 1px dotted var(--grey-555); - text-decoration: none; - cursor: help; -} -.page .page-content code, -.page .page-content kbd, -.page .page-content pre { - margin: 0; - font-family: monospace; - word-wrap: break-word; - word-break: break-word; - white-space: pre-wrap; -} -.page .page-content address, -.page .page-content cite, -.page .page-content var { - font-style: italic; -} -.page .page-content blockquote { - margin: 40px 0; - padding: 0 0 0 20px; - border-left: 3px solid var(--grey-555); - color: var(--grey-222); - font-weight: 700; -} -.page .page-content em, -.page .page-content strong { - color: var(--grey-222); -} -.page .page-content h1, -.page .page-content h2, -.page .page-content h3, -.page .page-content h4, -.page .page-content h5, -.page .page-content h6 { - font-family: "PT Sans", sans-serif; - margin: 40px 0 25px 0; - color: var(--grey-222); -} -.page .page-content h4, -.page .page-content h5, -.page .page-content h6 { - margin: 25px 0; -} -.page .page-content h1 { - font-size: 28px; -} -.page .page-content h2 { - font-size: 26px; -} -.page .page-content h3 { - font-size: 22px; -} -.page .page-content h4 { - font-size: 20px; -} -.page .page-content h5 { - font-size: 18px; -} -.page .page-content h6 { - font-size: 16px; -} -.page .page-content a { - color: var(--main-color); -} -.page .page-content a:hover { - text-decoration: none; -} -.page .page-content img { - display: block; - max-width: 100%; - height: auto; -} -.page .page-content ul { - list-style-type: disc; - list-style-position: inside; -} -.page .page-content ul, -.page .page-content ol { - margin: 15px 0; - padding: 0 0 0 20px; -} -.page .page-content ul ul, -.page .page-content ul ol, -.page .page-content ol ul, -.page .page-content ol ol { - padding: 0 0 0 20px; -} -.page .page-content ul li, -.page .page-content ol li { - margin: 5px 0; -} -.page .page-content ul li > code, -.page .page-content ol li > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); -} -.page .page-content dl { - margin: 40px 0; -} -.page .page-content dl dt { - margin: 10px 0 0; - font-weight: 700; -} -.page .page-content dl dd { - margin: 5px 0; -} -.page .page-content dl dd > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); -} -.page .page-content p { - margin: 15px 0; -} -.page .page-content p > code { - font-size: 14px; - padding: 3px 6px; - margin: 0 4px; - background: var(--grey-fa); - border: 1px solid var(--grey-ccc); -} -.page .page-content .alignleft { - float: left; - margin: 20px 30px 10px 0; -} -.page .page-content .alignright { - float: right; - margin: 20px 0 10px 20px; -} -.page .page-content .aligncenter { - clear: both; - margin: 0 auto 20px; -} -.page .page-content figcaption { - font-size: 13px; - font-style: italic; - padding-top: 10px; -} -.page .page-content .iframe-wrapper { - position: relative; - padding-top: 56.25%; -} -.page .page-content .iframe-wrapper > iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.pagination { - display: grid; - grid-template-columns: 100px 1fr 100px; - margin: 50px 0 0; - font-size: 16px; -} -.pagination .previous, -.pagination .next { - text-decoration: none; - color: var(--grey-555); -} -.pagination .previous:hover, -.pagination .next:hover { - text-decoration: underline; -} -.pagination .page_number { - text-align: center; - color: var(--grey-ccc); -} - -/* Partials */ -.header-content-separator { - position: relative; - margin: 40px auto; - width: 4px; - height: 4px; - border-radius: 50%; - background: var(--grey-ccc); -} -.header-content-separator:before { - position: absolute; - left: -8px; - width: 4px; - height: 4px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; -} -.header-content-separator:after { - position: absolute; - left: 8px; - width: 4px; - height: 4px; - border-radius: 50%; - background: var(--grey-ccc); - content: ""; -} - -.toggleBurger { - display: none; -} -.toggleBurger:checked ~ .site-navigation { - transform: translate(0, 0); -} -.toggleBurger:checked ~ .toggleBurgerWrapper span { - background: transparent; -} -.toggleBurger:checked ~ .toggleBurgerWrapper span:before { - top: 0; - transform: rotate(135deg); -} -.toggleBurger:checked ~ .toggleBurgerWrapper span:after { - top: 0; - transform: rotate(-135deg); -} - -.toggleBurgerWrapper { - display: none; - position: fixed; - top: 20px; - left: 20px; - width: 25px; - height: 30px; - cursor: pointer; - z-index: 100; - user-select: none; -} -.toggleBurgerWrapper span { - position: absolute; - top: 50%; - height: 2px; - width: 100%; - background: var(--grey-222); - transition: all 0.3s ease; - transform: translate(0, -50%); -} -.toggleBurgerWrapper span:before, .toggleBurgerWrapper span:after { - position: absolute; - height: 2px; - width: 100%; - background: var(--grey-222); - content: ""; - transition: all 0.3s ease; -} -.toggleBurgerWrapper span:before { - top: -6px; -} -.toggleBurgerWrapper span:after { - top: 6px; -} - -@media screen and (max-width: 800px) { - .toggleBurgerWrapper { - display: block; - } -}
\ No newline at end of file |
