diff --git a/_sass/klise/_base.scss b/_sass/klise/_base.scss index ca2ede9..abf5740 100644 --- a/_sass/klise/_base.scss +++ b/_sass/klise/_base.scss @@ -134,12 +134,13 @@ ul { text-align: -webkit-match-parent; } li::before { - content: "\03BB"; + content: "\FE63"; display: inline-block; - width: 1em; + top: -1px; + width: 1.2em; position: relative; - margin-left: -1em; - font-weight: $bold-weight; + margin-left: -1.3em; + font-weight: 700; } } diff --git a/_sass/klise/_dark.scss b/_sass/klise/_dark.scss index 4f5058a..32726e2 100644 --- a/_sass/klise/_dark.scss +++ b/_sass/klise/_dark.scss @@ -213,7 +213,7 @@ body[data-theme="dark"] { a.footer_item:not(:last-child) { color: $dark-white; } - .footer_theme-copyright { + .footer_copyright { color: $dark-gray; opacity: 1; } @@ -235,4 +235,11 @@ body[data-theme="dark"] { color: $dark-text-link-blue-active; } } + + .search-article { + input[type="search"] { + color: $dark-text-base-color; + } + } + } diff --git a/_sass/klise/_layout.scss b/_sass/klise/_layout.scss index 71eae97..ea8f196 100644 --- a/_sass/klise/_layout.scss +++ b/_sass/klise/_layout.scss @@ -217,6 +217,7 @@ // Content .posts-item-note { + font-size: $base-font-size; font-weight: 700; margin-bottom: 5px; color: $black; @@ -246,11 +247,15 @@ .post-item-title { margin: 0; - color: $text-base-color; + border: 0; + padding: 0; + font-size: $base-font-size; font-weight: normal; letter-spacing: 0.1px; a { + color: $text-base-color; + &:hover, &focus { color: $black; @@ -287,7 +292,7 @@ } } - .footer_theme-copyright { + .footer_copyright { font-size: $small-font-size - 1; margin-top: 3px; display: block; @@ -320,3 +325,47 @@ color: $text-link-blue-active; } } + + +.search-article { + position: relative; + margin-bottom: 50px; + + label[for="search-input"] { + position: relative; + top: 10px; + left: 11px; + } + + input[type="search"] { + border: 0; + top: 0; + left: 0; + position: absolute; + width: 100%; + border-radius: 5px; + padding: 10px 10px 10px 35px; + font-size: $base-font-size; + color: $text-base-color; + background-color: rgba(128, 128, 128, 0.1); + border: 1px solid rgba(128, 128, 128, 0.1); + outline: none; + } +} + +#search-results { + text-align: center; + li { + text-align: left; + } +} + +.archive-tags { + height: auto; + .tag-item { + padding: 1px 3px; + border-radius: 2px; + border: 1px solid rgba(128, 128, 128, 0.1); + background-color: rgba(128, 128, 128, 0.1); + } +} \ No newline at end of file diff --git a/_sass/klise/_syntax.scss b/_sass/klise/_syntax.scss index b3be15a..ccad7af 100644 --- a/_sass/klise/_syntax.scss +++ b/_sass/klise/_syntax.scss @@ -16,16 +16,19 @@ code { top: -1px; background-color: #f6f6f6; border-radius: 2px; + border: 1px solid rgba(128,128,128,0.1); } } // Codeblock Theme -pre.highlight { +pre.highlight, pre { margin: 0 -27px; @include media-query($on-mobile) { margin: 0 calc(51% - 51vw); padding-left: 20px; } + border: 1px solid rgba(128,128,128,0.1); + background-color: #1a1b21; border-radius: 2px; padding: 10px; display: block; @@ -53,12 +56,12 @@ pre.highlight { .highlight, .highlight .w { color: #fbf1c7; - background-color: #1a1b21; + // background-color: #1a1b21; } .highlight .err { color: #fb4934; - background-color: #1a1b21; + // background-color: #1a1b21; font-weight: bold; } diff --git a/archive.html b/archive.html new file mode 100644 index 0000000..397a6f2 --- /dev/null +++ b/archive.html @@ -0,0 +1,29 @@ +--- +title: Archive +permalink: /archive/ +layout: page +excerpt: All post. +comments: false +--- + +
+ + +
+ + + +{%- for post in site.posts -%} + {%- capture current_year -%}{{ post.date | date: "%Y" }}{%- endcapture -%} + {%- unless current_year == previous_year -%} +

{{ current_year }}

+ {%- assign previous_year = current_year -%} + {%- endunless -%} +
+

+ {{ post.title | escape }} +

+
+{%- endfor -%} diff --git a/assets/js/search.min.js b/assets/js/search.min.js new file mode 100644 index 0000000..3ef5cdf --- /dev/null +++ b/assets/js/search.min.js @@ -0,0 +1,6 @@ +/*! + * Simple-Jekyll-Search + * Copyright 2015-2020, Christian Fei + * Licensed under the MIT License. + */ + !function(){"use strict";var i={compile:function(r){return o.template.replace(o.pattern,function(t,e){var n=o.middleware(e,r[e],o.template);return void 0!==n?n:r[e]||t})},setOptions:function(t){o.pattern=t.pattern||o.pattern,o.template=t.template||o.template,"function"==typeof t.middleware&&(o.middleware=t.middleware)}},o={};o.pattern=/\{(.*?)\}/g,o.template="",o.middleware=function(){};var n=function(t,e){var n=e.length,r=t.length;if(n{title}',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,exclude:[]},w=function j(t){if(!((e=t)&&"undefined"!=typeof e.required&&e.required instanceof Array))throw new Error("-- OptionsValidator: required options missing");var e;if(!(this instanceof j))return new j(t);var r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){var n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}}({required:v=["searchInput","resultsContainer","json"]}),t.SimpleJekyllSearch=function(t){var n;0