diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d99a219..d52711e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,7 +6,7 @@ {{ .Title }} {{ $style := resources.Get "css/basic.scss" }} - {{ $style = $style | toCSS | minify | fingerprint }} + {{ $style = $style | toCSS }} diff --git a/public/categories/index.html b/public/categories/index.html index eac9fea..325e6b8 100644 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -12,13 +12,13 @@ - +
- - + diff --git a/public/categories/index.xml b/public/categories/index.xml index 13373ab..d1dc774 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -2,9 +2,9 @@ Categories on Horhik.xyz - http://horhi.xyz/categories/ + http://new.horhik.xyz/categories/ Recent content in Categories on Horhik.xyz Hugo -- gohugo.io - en-us + en-us diff --git a/public/categories/page/1/index.html b/public/categories/page/1/index.html index bd45bfa..f5c9413 100644 --- a/public/categories/page/1/index.html +++ b/public/categories/page/1/index.html @@ -1 +1 @@ -http://horhi.xyz/categories/ \ No newline at end of file +http://new.horhik.xyz/categories/ \ No newline at end of file diff --git a/public/css/basic.css b/public/css/basic.css new file mode 100644 index 0000000..e0464b6 --- /dev/null +++ b/public/css/basic.css @@ -0,0 +1,291 @@ +@charset "UTF-8"; +:root { + --background: #282A36 ; + --comment: #6272A4 ; + --selection: #44475A ; + --foreground: #F8F8F2 ; + --cyan: #8BE9FD ; + --orange: #FFB86C; + --green: #50FA7B ; + --pink: #FF79C6 ; + --purple: #BD93F9 ; + --red: #FF5555 ; + --yellow: #F1FA8C; } + +@font-face { + font-family: 'Mononoki'; + src: url("../fonts/mononoki-Regular.eot"); + src: url("../fonts/mononoki-Regular.eot") format("embedded-opentype"), url("../fonts/mononoki-Regular.ttf") format("truetype"), url("../fonts/mononoki-Regular.woff2") format("woff2"), url("../fonts/mononoki-Regular.woff") format("woff"); } + +@font-face { + font-family: 'Mononoki Bold'; + src: url("../fonts/mononoki-Bold.eot"); + src: url("../fonts/mononoki-Bold.eot") format("embedded-opentype"), url("../fonts/mononoki-Bold.ttf") format("truetype"), url("../fonts/mononoki-Bold.woff2") format("woff2"), url("../fonts/mononoki-Bold.woff") format("woff"); } + +@font-face { + font-family: 'Mononoki'; + src: url("../fonts/mononoki-Regular.eot"); + src: url("../fonts/mononoki-Regular.eot") format("embedded-opentype"), url("../fonts/mononoki-Regular.ttf") format("truetype"), url("../fonts/mononoki-Regular.woff2") format("woff2"), url("../fonts/mononoki-Regular.woff") format("woff"); } + +body { + margin: 0; + padding: 0; + background-color: var(--background); + color: var(--foreground); + font-family: 'Ubuntu', sans-serif; + max-width: 1000px; + margin: 0 auto; + box-shadow: 0px -30px 20px rgba(0, 0, 0, 0.5); + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; + padding: 10px 0; } + +a, .link { + transition: 0.3s; + color: var(--cyan); + text-decoration: none; } + a:hover, a:focus, .link:hover, .link:focus { + color: var(--pink); } + +@media (min-width: 1000px) { + box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); } + +.h1 { + font-family: 'Mononoki Bold', 'Fira Code SemiBold'; + font-size: 2em; } + +.logo--wrapper { + display: grid; + font-family: Mononoki, 'Fira Code',monospace, Ubuntu; } + +.logo-quote { + text-align: center; + color: var(--foreground); + margin: 10px auto 28px; + max-width: 300px; } + +.logo { + margin: 0 auto; + margin-top: 30px; + display: flex; + flex-direction: column; + align-items: center; + align-content: center; + font-family: Mononoki, 'Fira Code',monospace, Ubuntu; } + +.toilet-logo { + color: var(--orange); + font-size: 0.9em; + line-height: 1.115em; + margin: 0; + font-family: Mononoki, 'Fira Code',monospace, Ubuntu; } + +.page-list { + list-style: none; + display: flex; + justify-content: space-between; + width: 300px; + margin: 0 auto; + font-family: Mononoki; + padding: 0; } + +.page-link { + font-size: 0.4em; + line-height: 1.115em; + width: 100px; + transition: 0.3s; } + .page-link a { + color: var(--green); + text-decoration: none; + display: block; } + .page-link a:hover, .page-link a:focus { + color: var(--pink); } + +.recent { + margin: 0 auto; } + +.recent-header { + text-align: center; } + +.recent-list { + list-style: none; + margin: 0; + padding: 0; } + +.recent-block { + text-decoration: none; + font-family: Mononoki, monospace; + font-size: 1.3em; + box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); + background: var(--background); + border-radius: 10px; + word-break: break-word; + display: block; + align-items: center; + align-content: center; + margin: 20px 0; + padding: 10px 20px; + width: max-content; + max-width: 80vw; + color: var(--cyan); + transition: 0.2s; } + .recent-block--left { + border-bottom-left-radius: 0; + border-top-left-radius: 0; + margin-right: auto; } + .recent-block--left::before { + content: '📜'; + margin: 5px; + display: flex; + align-items: center; + align-content: center; } + .recent-block--left:hover, .recent-block--left:focus { + padding-left: 40px; } + .recent-block--left:active { + padding-left: 0; } + .recent-block--right { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + margin-left: auto; } + .recent-block--right::after { + content: url("../../../src/svg/github-icon.svg"); + margin: 5px; + display: flex; + align-items: center; + align-content: center; } + .recent-block--right:hover, .recent-block--right:focus { + padding-right: 40px; } + .recent-block--right:active { + padding-right: 0; } + +.recent-block__time { + float: right; + font-size: 12px; + color: var(--purple); } + +.contacts { + list-style: none; + padding: 0; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + margin: 0 auto; } + +.contact-link { + text-decoration: none; + font-size: 0.3em; + color: var(--cyan); + line-height: 0.8em; + margin: 10px 15px; + display: block; } + +.copyright { + font-family: "Mononoki", monospace; + margin-left: 20px; } + +.portfolio { + list-style: none; + padding: 20px; + display: flex; + flex-direction: column; + align-content: center; + align-items: center; + justify-content: center; } + +.project { + display: flex; + flex-direction: column; + padding: 26px; + box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); + border-radius: 10px; + background: var(--background); + font-family: "Mononoki", monospace; + text-align: center; + margin: 20px 0; + max-width: 70vw; + transition: 0.3s; } + .project:hover, .project:focus { + box-shadow: 4px 4px 18px rgba(0, 0, 0, 0.5); } + +.project-name { + color: var(--green); + margin: 0; } + .project-name a { + color: var(--green); + text-decoration: none; } + +.project-gallery { + list-style: none; + padding: 0; } + +.project-links { + padding: 0; + list-style: none; + display: flex; + flex-wrap: wrap; + justify-content: space-around; } + +.project-link { + margin-right: 10px; + display: flex; + align-items: center; + align-content: center; + vertical-align: center; } + .project-link::before { + margin-right: 10px; } + .project-link--github::before { + content: url("../../svg/github-icon.svg"); } + .project-link--iphone::before { + content: url("../../svg/appstore.svg"); } + .project-link--android::before { + content: url("../../svg/googleplay.svg"); } + .project-link--app-page::before { + content: url("../../svg/app-page.svg"); } + +.project-link__logo { + margin-right: 10px; + width: 30px; } + +.blog-posts { + list-style: none; + padding: 0; + font-family: 'Cuprum', sans-serif; + transition: 0.5s; } + +.blog-posts__item { + font-family: 'Cuprum', sans-serif; + color: var(--foreground); } + .blog-posts__item::before, .blog-posts__item::after { + content: '' !important; } + .blog-posts__item--right p { + text-align: right; } + .blog-posts__item--right ul { + flex-direction: row-reverse; } + .blog-posts__item--left { + text-align: left; } + +.nothing { + font-family: 'Mononoki Bold', monospace; + text-align: center; } + +.blog-post__header { + color: var(--green); } + .blog-post__header a { + color: var(--green); } + +.blog-info__list { + list-style: none; + padding: 0; + display: flex; } + +.blog-info__item { + margin-right: 20px; + color: var(--orange); + display: flex; + align-items: center; } + .blog-info__item--created::before { + content: url("../../svg/watch.svg"); + margin-right: 10px; } + .blog-info__item--reading-time::before { + content: url("../../svg/stopwatch.svg"); + margin-right: 10px; } diff --git a/public/index.html b/public/index.html index 7322ff1..ee27b0b 100644 --- a/public/index.html +++ b/public/index.html @@ -13,13 +13,13 @@ - +
- - + diff --git a/public/index.xml b/public/index.xml index dd34e64..ee8b180 100644 --- a/public/index.xml +++ b/public/index.xml @@ -2,9 +2,9 @@ Horhik.xyz - http://horhi.xyz/ + http://new.horhik.xyz/ Recent content on Horhik.xyz Hugo -- gohugo.io - en-us + en-us diff --git a/public/page/1/index.html b/public/page/1/index.html index 1e0c3ef..36a6440 100644 --- a/public/page/1/index.html +++ b/public/page/1/index.html @@ -1 +1 @@ -http://horhi.xyz/ \ No newline at end of file +http://new.horhik.xyz/ \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml index 0f42ae4..c1f5dbe 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,15 +3,15 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> - http://horhi.xyz/categories/ + http://new.horhik.xyz/categories/ - http://horhi.xyz/ + http://new.horhik.xyz/ - http://horhi.xyz/tags/ + http://new.horhik.xyz/tags/ diff --git a/public/tags/index.html b/public/tags/index.html index 45b8dd5..b672ffc 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -12,13 +12,13 @@ - +
- - + diff --git a/public/tags/index.xml b/public/tags/index.xml index 020d03e..823572f 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -2,9 +2,9 @@ Tags on Horhik.xyz - http://horhi.xyz/tags/ + http://new.horhik.xyz/tags/ Recent content in Tags on Horhik.xyz Hugo -- gohugo.io - en-us + en-us diff --git a/public/tags/page/1/index.html b/public/tags/page/1/index.html index ad17a7c..4aed81e 100644 --- a/public/tags/page/1/index.html +++ b/public/tags/page/1/index.html @@ -1 +1 @@ -http://horhi.xyz/tags/ \ No newline at end of file +http://new.horhik.xyz/tags/ \ No newline at end of file diff --git a/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content new file mode 100644 index 0000000..e0464b6 --- /dev/null +++ b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content @@ -0,0 +1,291 @@ +@charset "UTF-8"; +:root { + --background: #282A36 ; + --comment: #6272A4 ; + --selection: #44475A ; + --foreground: #F8F8F2 ; + --cyan: #8BE9FD ; + --orange: #FFB86C; + --green: #50FA7B ; + --pink: #FF79C6 ; + --purple: #BD93F9 ; + --red: #FF5555 ; + --yellow: #F1FA8C; } + +@font-face { + font-family: 'Mononoki'; + src: url("../fonts/mononoki-Regular.eot"); + src: url("../fonts/mononoki-Regular.eot") format("embedded-opentype"), url("../fonts/mononoki-Regular.ttf") format("truetype"), url("../fonts/mononoki-Regular.woff2") format("woff2"), url("../fonts/mononoki-Regular.woff") format("woff"); } + +@font-face { + font-family: 'Mononoki Bold'; + src: url("../fonts/mononoki-Bold.eot"); + src: url("../fonts/mononoki-Bold.eot") format("embedded-opentype"), url("../fonts/mononoki-Bold.ttf") format("truetype"), url("../fonts/mononoki-Bold.woff2") format("woff2"), url("../fonts/mononoki-Bold.woff") format("woff"); } + +@font-face { + font-family: 'Mononoki'; + src: url("../fonts/mononoki-Regular.eot"); + src: url("../fonts/mononoki-Regular.eot") format("embedded-opentype"), url("../fonts/mononoki-Regular.ttf") format("truetype"), url("../fonts/mononoki-Regular.woff2") format("woff2"), url("../fonts/mononoki-Regular.woff") format("woff"); } + +body { + margin: 0; + padding: 0; + background-color: var(--background); + color: var(--foreground); + font-family: 'Ubuntu', sans-serif; + max-width: 1000px; + margin: 0 auto; + box-shadow: 0px -30px 20px rgba(0, 0, 0, 0.5); + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; + padding: 10px 0; } + +a, .link { + transition: 0.3s; + color: var(--cyan); + text-decoration: none; } + a:hover, a:focus, .link:hover, .link:focus { + color: var(--pink); } + +@media (min-width: 1000px) { + box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); } + +.h1 { + font-family: 'Mononoki Bold', 'Fira Code SemiBold'; + font-size: 2em; } + +.logo--wrapper { + display: grid; + font-family: Mononoki, 'Fira Code',monospace, Ubuntu; } + +.logo-quote { + text-align: center; + color: var(--foreground); + margin: 10px auto 28px; + max-width: 300px; } + +.logo { + margin: 0 auto; + margin-top: 30px; + display: flex; + flex-direction: column; + align-items: center; + align-content: center; + font-family: Mononoki, 'Fira Code',monospace, Ubuntu; } + +.toilet-logo { + color: var(--orange); + font-size: 0.9em; + line-height: 1.115em; + margin: 0; + font-family: Mononoki, 'Fira Code',monospace, Ubuntu; } + +.page-list { + list-style: none; + display: flex; + justify-content: space-between; + width: 300px; + margin: 0 auto; + font-family: Mononoki; + padding: 0; } + +.page-link { + font-size: 0.4em; + line-height: 1.115em; + width: 100px; + transition: 0.3s; } + .page-link a { + color: var(--green); + text-decoration: none; + display: block; } + .page-link a:hover, .page-link a:focus { + color: var(--pink); } + +.recent { + margin: 0 auto; } + +.recent-header { + text-align: center; } + +.recent-list { + list-style: none; + margin: 0; + padding: 0; } + +.recent-block { + text-decoration: none; + font-family: Mononoki, monospace; + font-size: 1.3em; + box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); + background: var(--background); + border-radius: 10px; + word-break: break-word; + display: block; + align-items: center; + align-content: center; + margin: 20px 0; + padding: 10px 20px; + width: max-content; + max-width: 80vw; + color: var(--cyan); + transition: 0.2s; } + .recent-block--left { + border-bottom-left-radius: 0; + border-top-left-radius: 0; + margin-right: auto; } + .recent-block--left::before { + content: '📜'; + margin: 5px; + display: flex; + align-items: center; + align-content: center; } + .recent-block--left:hover, .recent-block--left:focus { + padding-left: 40px; } + .recent-block--left:active { + padding-left: 0; } + .recent-block--right { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + margin-left: auto; } + .recent-block--right::after { + content: url("../../../src/svg/github-icon.svg"); + margin: 5px; + display: flex; + align-items: center; + align-content: center; } + .recent-block--right:hover, .recent-block--right:focus { + padding-right: 40px; } + .recent-block--right:active { + padding-right: 0; } + +.recent-block__time { + float: right; + font-size: 12px; + color: var(--purple); } + +.contacts { + list-style: none; + padding: 0; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + margin: 0 auto; } + +.contact-link { + text-decoration: none; + font-size: 0.3em; + color: var(--cyan); + line-height: 0.8em; + margin: 10px 15px; + display: block; } + +.copyright { + font-family: "Mononoki", monospace; + margin-left: 20px; } + +.portfolio { + list-style: none; + padding: 20px; + display: flex; + flex-direction: column; + align-content: center; + align-items: center; + justify-content: center; } + +.project { + display: flex; + flex-direction: column; + padding: 26px; + box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); + border-radius: 10px; + background: var(--background); + font-family: "Mononoki", monospace; + text-align: center; + margin: 20px 0; + max-width: 70vw; + transition: 0.3s; } + .project:hover, .project:focus { + box-shadow: 4px 4px 18px rgba(0, 0, 0, 0.5); } + +.project-name { + color: var(--green); + margin: 0; } + .project-name a { + color: var(--green); + text-decoration: none; } + +.project-gallery { + list-style: none; + padding: 0; } + +.project-links { + padding: 0; + list-style: none; + display: flex; + flex-wrap: wrap; + justify-content: space-around; } + +.project-link { + margin-right: 10px; + display: flex; + align-items: center; + align-content: center; + vertical-align: center; } + .project-link::before { + margin-right: 10px; } + .project-link--github::before { + content: url("../../svg/github-icon.svg"); } + .project-link--iphone::before { + content: url("../../svg/appstore.svg"); } + .project-link--android::before { + content: url("../../svg/googleplay.svg"); } + .project-link--app-page::before { + content: url("../../svg/app-page.svg"); } + +.project-link__logo { + margin-right: 10px; + width: 30px; } + +.blog-posts { + list-style: none; + padding: 0; + font-family: 'Cuprum', sans-serif; + transition: 0.5s; } + +.blog-posts__item { + font-family: 'Cuprum', sans-serif; + color: var(--foreground); } + .blog-posts__item::before, .blog-posts__item::after { + content: '' !important; } + .blog-posts__item--right p { + text-align: right; } + .blog-posts__item--right ul { + flex-direction: row-reverse; } + .blog-posts__item--left { + text-align: left; } + +.nothing { + font-family: 'Mononoki Bold', monospace; + text-align: center; } + +.blog-post__header { + color: var(--green); } + .blog-post__header a { + color: var(--green); } + +.blog-info__list { + list-style: none; + padding: 0; + display: flex; } + +.blog-info__item { + margin-right: 20px; + color: var(--orange); + display: flex; + align-items: center; } + .blog-info__item--created::before { + content: url("../../svg/watch.svg"); + margin-right: 10px; } + .blog-info__item--reading-time::before { + content: url("../../svg/stopwatch.svg"); + margin-right: 10px; } diff --git a/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.json b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.json new file mode 100644 index 0000000..52cd8e7 --- /dev/null +++ b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.json @@ -0,0 +1 @@ +{"Target":"css/basic.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.content b/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.content deleted file mode 100644 index 378cec0..0000000 --- a/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.content +++ /dev/null @@ -1 +0,0 @@ -body{background:red}h1 a{font-family:mononoki;font-weight:700} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.json b/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.json deleted file mode 100644 index f47fe9e..0000000 --- a/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"scss/main.min.618f2092ec2bd1de3b7427264621df2be528e918807aa220deb838b85e4cdae7.css","MediaType":"text/css","Data":{"Integrity":"sha256-YY8gkuwr0d47dCcmRiHfK+Uo6RiAeqIg3rg4uF5M2uc="}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/scss/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.content deleted file mode 100644 index fde9879..0000000 --- a/resources/_gen/assets/scss/scss/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.content +++ /dev/null @@ -1,2 +0,0 @@ -body { - background: #eee; } diff --git a/resources/_gen/assets/scss/scss/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.json b/resources/_gen/assets/scss/scss/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.json deleted file mode 100644 index e2e3d4c..0000000 --- a/resources/_gen/assets/scss/scss/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"scss/main.css","MediaType":"text/css","Data":{}} \ No newline at end of file