diff --git a/assets/css/gowun.woff2 b/assets/css/gowun.woff2 deleted file mode 100644 index a863e3f..0000000 Binary files a/assets/css/gowun.woff2 and /dev/null differ diff --git a/config.yml b/config.yml index 0bf1d93..18067de 100644 --- a/config.yml +++ b/config.yml @@ -1,64 +1,19 @@ baseURL: "http://blog.morgan.kr" title: Morgan's Blog -paginate: 50 -theme: "newtheme" +theme: "mytheme" -enableRobotsTXT: true buildDrafts: false buildFuture: false buildExpired: false -googleAnalytics: UA-123-45 -minify: - disableXML: true - minifyOutput: true - params: - env: production # to enable google analytics, opengraph, twitter-cards and schema. + env: production title: Morgan's Blog description: "Hi! I'm Morgan!" - keywords: [Blog, Portfolio, PaperMod] + keywords: [Blog] author: Me - images: [""] DateFormat: "Jan 2, 2006" - defaultTheme: dark - disableThemeToggle: false - - ShowReadingTime: false - ShowShareButtons: true - ShowPostNavLinks: true - ShowBreadCrumbs: false - ShowCodeCopyButtons: true - ShowWordCount: false - ShowRssButtonInSectionTermList: false - UseHugoToc: true - - disableSpecial1stPost: false - disableScrollToTop: false - comments: true - hidemeta: false - hideSummary: false - showtoc: false - tocopen: false - mainSections: - - posts - - homeInfoParams: - Title: Hi, I'm Morgan. - Content: I am student developer in Korea, studying Embedded system and Cryptography. - - socialIcons: # optional - - name: github - url: "https://github.com/morgan9e" - - name: email - url: "mailto:me@morgan.kr" - - name: git - url: "https://git.morgan.kr" - - name: twitter - url: "https://twitter.com/morgan8w" - - name: telegram - url: "https://t.me/morgan9e" - + assets: favicon: "https://blog.morgan.kr/favicon.ico" apple_touch_icon: "https://blog.morgan.kr/favicon.ico" @@ -69,53 +24,5 @@ params: icon_inv: /favicon-inv.png iconHeight: 24 - analytics: - google: - SiteVerificationTag: "XYZabc" - bing: - SiteVerificationTag: "XYZabc" - yandex: - SiteVerificationTag: "XYZabc" - - cover: - hidden: true # hide everywhere but not in structured data - hiddenInList: true # hide on list pages and home - hiddenInSingle: true # hide on single page - - # for search - # https://fusejs.io/api/options.html - fuseOpts: - isCaseSensitive: false - shouldSort: true - location: 0 - distance: 1000 - threshold: 0.4 - minMatchCharLength: 0 - keys: ["title", "permalink", "summary", "content"] - - buildDate: 2023-10-31_16:21:15 - permalinks: - posts: /:year/:month/:title/ - -menus: - main: - - identifier: posts - name: Posts - url: /posts/ - weight: 30 - # - identifier: tags - # name: Tags - # url: /tags/ - # weight: 10 - -pygmentsUseClasses: true -markup: - highlight: - noClasses: false - # anchorLineNos: true - codeFences: true - guessSyntax: true - # lineNos: true - style: github - + posts: /:year/:month/:title/ \ No newline at end of file diff --git a/config.yml.old b/config.yml.old deleted file mode 100644 index e7e9dcf..0000000 --- a/config.yml.old +++ /dev/null @@ -1,121 +0,0 @@ -baseURL: "http://blog.morgan.kr" -title: Morgan's Blog -paginate: 50 -theme: "mytheme" - -enableRobotsTXT: true -buildDrafts: false -buildFuture: false -buildExpired: false - -googleAnalytics: UA-123-45 -minify: - disableXML: true - minifyOutput: true - -params: - env: production # to enable google analytics, opengraph, twitter-cards and schema. - title: Morgan's Blog - description: "Hi! I'm Morgan!" - keywords: [Blog, Portfolio, PaperMod] - author: Me - images: [""] - DateFormat: "Jan 2, 2006" - defaultTheme: dark - disableThemeToggle: false - - ShowReadingTime: false - ShowShareButtons: true - ShowPostNavLinks: true - ShowBreadCrumbs: false - ShowCodeCopyButtons: true - ShowWordCount: false - ShowRssButtonInSectionTermList: false - UseHugoToc: true - - disableSpecial1stPost: false - disableScrollToTop: false - comments: true - hidemeta: false - hideSummary: false - showtoc: false - tocopen: false - mainSections: - - posts - - homeInfoParams: - Title: Hi, I'm Morgan. - Content: I am student developer in Korea, studying Embedded system and Cryptography. - - socialIcons: # optional - - name: github - url: "https://github.com/morgan9e" - - name: email - url: "mailto:me@morgan.kr" - - name: git - url: "https://git.morgan.kr" - - name: twitter - url: "https://twitter.com/morgan8w" - - name: telegram - url: "https://t.me/morgan9e" - - assets: - favicon: "https://blog.morgan.kr/favicon.ico" - apple_touch_icon: "https://blog.morgan.kr/favicon.ico" - safari_pinned_tab: "https://blog.morgan.kr/favicon.ico" - - label: - icon: /favicon.png - icon_inv: /favicon-inv.png - iconHeight: 24 - - analytics: - google: - SiteVerificationTag: "XYZabc" - bing: - SiteVerificationTag: "XYZabc" - yandex: - SiteVerificationTag: "XYZabc" - - cover: - hidden: true # hide everywhere but not in structured data - hiddenInList: true # hide on list pages and home - hiddenInSingle: true # hide on single page - - # for search - # https://fusejs.io/api/options.html - fuseOpts: - isCaseSensitive: false - shouldSort: true - location: 0 - distance: 1000 - threshold: 0.4 - minMatchCharLength: 0 - keys: ["title", "permalink", "summary", "content"] - - buildDate: 2023-10-31_16:19:01 - -permalinks: - posts: /:year/:month/:title/ - -menus: - main: - - identifier: posts - name: Posts - url: /posts/ - weight: 30 - # - identifier: tags - # name: Tags - # url: /tags/ - # weight: 10 - -pygmentsUseClasses: true -markup: - highlight: - noClasses: false - # anchorLineNos: true - codeFences: true - guessSyntax: true - # lineNos: true - style: github - diff --git a/resources/_gen/assets/scss/scss/main.scss_b17b8b3fd5dba5bd88a508c1c1f3b99b.content b/resources/_gen/assets/scss/scss/main.scss_b17b8b3fd5dba5bd88a508c1c1f3b99b.content deleted file mode 100644 index 22f8692..0000000 --- a/resources/_gen/assets/scss/scss/main.scss_b17b8b3fd5dba5bd88a508c1c1f3b99b.content +++ /dev/null @@ -1,10 +0,0 @@ -html{scroll-behavior:smooth}html,body{margin:0;width:100%;height:100%;font-size:18px;text-size-adjust:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none}body{-moz-tab-size:4;tab-size:4;color:var(--color-contrast-high);background-color:var(--color-bg);overflow-wrap:break-word;word-wrap:break-word;line-height:1.618;transition:all .5s}.container{min-height:100%;min-width:100%;position:relative}.main{padding:2em 1em 15em;display:block}.main{padding-top:7em}.main-inner{margin:0 auto;display:block}.icon{width:1.05em;height:1em;fill:currentColor;display:inline-block}svg{vertical-align:middle}h1,h2,h3,h4,h5,h6{margin:1.618em 0 1em;color:var(--color-contrast-higher)}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{text-decoration:none !important;color:var(--color-contrast-higher)}h1{font-size:2em}h2{font-size:1.8em}h3{font-size:1.6em}h4{font-size:1.4em}h5{font-size:1.2em}h6{font-size:1em}a{color:var(--color-contrast-high);text-decoration:none;transition:all .5s}a:hover{color:var(--color-primary)}::selection{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.3)}::-webkit-scrollbar{width:0.5rem;height:0.5rem}::-webkit-scrollbar-track{background-color:var(--color-bg)}::-webkit-scrollbar-thumb{background-color:var(--color-contrast-low)}::-webkit-scrollbar-thumb:hover{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.5)}::-webkit-scrollbar-thumb:active{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.75)}::-webkit-scrollbar-corner{background-color:var(--color-bg)}.list-title,.term-title,.list-year,.list-month,.post-title,.post-subtitle,.related-title,.post-nav,thead,dt{font-family:"Comfortaa",sans-serif}.post-body h1,.post-body h2,.post-body h3,.post-body h4,.post-body h5,.post-body h6{font-family:"Comfortaa",sans-serif}.contents-title{font-family:"Comfortaa",sans-serif}code,pre,sup,.post-meta,.updated-badge,.post-gitinfo,.minimal-footer,.minimal-footer-about,.busuanzi-site-uv-and-pv,.copy-button{font-family:"Source Code Pro",monospace}body{font-family:"IBM Plex Serif",serif}[data-indent="true"] .contents-title{text-align:center}[data-indent="true"] .post-body p{text-indent:2em;margin:0}[data-indent="true"] .post-body .caption{text-indent:0;margin:0 0 1em}[data-indent="true"] .post-body blockquote{margin:1em 0;padding:0;border:none}[data-indent="true"] .post-body img,[data-indent="true"] .post-body video{margin:1em auto}[data-indent="true"] .post-body table{margin:1em 0}[data-indent="true"] .post-body pre,[data-indent="true"] .post-body .highlight{margin:1rem 0}[data-indent="true"] .post-body h1,[data-indent="true"] .post-body h2,[data-indent="true"] .post-body h3,[data-indent="true"] .post-body h4,[data-indent="true"] .post-body h5,[data-indent="true"] .post-body h6{text-align:center}[data-indent="true"] .post-body .anchor-link{position:relative;transform:none;display:block;float:none}[data-indent="true"] .post-body ol,[data-indent="true"] .post-body ul{margin:0;padding-left:4em}[data-indent="true"] .post-body ol p,[data-indent="true"] .post-body ul p{text-indent:0}[data-indent="true"] .post-body li ol,[data-indent="true"] .post-body li ul{padding-left:2em}[data-indent="true"] .post-body dl{text-indent:2em}[data-indent="true"] .post-body dl dd{text-indent:0;margin-left:4em}[data-indent="true"] .post-body dl p{text-indent:0}@media (prefers-color-scheme: light){:root:not([data-theme]){--theme-name: "light";--color-primary:hsl(220, 90%, 56%);--color-primary-h:220;--color-primary-s:90%;--color-primary-l:56%;--color-bg:hsl(0, 0%, 100%);--color-bg-h:0;--color-bg-s:0%;--color-bg-l:100%;--color-contrast-lower:hsl(0, 0%, 95%);--color-contrast-lower-h:0;--color-contrast-lower-s:0%;--color-contrast-lower-l:95%;--color-contrast-low:hsl(240, 1%, 83%);--color-contrast-low-h:240;--color-contrast-low-s:1%;--color-contrast-low-l:83%;--color-contrast-medium:hsl(240, 1%, 48%);--color-contrast-medium-h:240;--color-contrast-medium-s:1%;--color-contrast-medium-l:48%;--color-contrast-high:hsl(240, 4%, 20%);--color-contrast-high-h:240;--color-contrast-high-s:4%;--color-contrast-high-l:20%;--color-contrast-higher:hsl(240, 8%, 12%);--color-contrast-higher-h:240;--color-contrast-higher-s:8%;--color-contrast-higher-l:12%;--chroma-line-numbers-background: #ffffcc;--chroma-line-numbers-color: #7f7f7f;--chroma-keyword-color: #006699;--chroma-name-color: #9999ff;--chroma-attribute-color: #330099;--chroma-literal-color: #cc3300;--chroma-number-color: #ff6600;--chroma-comment-color: #0099ff;--chroma-deleted-color: #ffcccc;--chroma-output-color: #aaaaaa}:root:not([data-theme]) .theme-icon-light{display:inline-block}:root:not([data-theme]) .theme-icon-dark{display:none}:root:not([data-theme]) img{filter:none}}:root{--theme-name: "light";--color-primary:hsl(220, 90%, 56%);--color-primary-h:220;--color-primary-s:90%;--color-primary-l:56%;--color-bg:hsl(0, 0%, 100%);--color-bg-h:0;--color-bg-s:0%;--color-bg-l:100%;--color-contrast-lower:hsl(0, 0%, 95%);--color-contrast-lower-h:0;--color-contrast-lower-s:0%;--color-contrast-lower-l:95%;--color-contrast-low:hsl(240, 1%, 83%);--color-contrast-low-h:240;--color-contrast-low-s:1%;--color-contrast-low-l:83%;--color-contrast-medium:hsl(240, 1%, 48%);--color-contrast-medium-h:240;--color-contrast-medium-s:1%;--color-contrast-medium-l:48%;--color-contrast-high:hsl(240, 4%, 20%);--color-contrast-high-h:240;--color-contrast-high-s:4%;--color-contrast-high-l:20%;--color-contrast-higher:hsl(240, 8%, 12%);--color-contrast-higher-h:240;--color-contrast-higher-s:8%;--color-contrast-higher-l:12%;--chroma-line-numbers-background: #ffffcc;--chroma-line-numbers-color: #7f7f7f;--chroma-keyword-color: #006699;--chroma-name-color: #9999ff;--chroma-attribute-color: #330099;--chroma-literal-color: #cc3300;--chroma-number-color: #ff6600;--chroma-comment-color: #0099ff;--chroma-deleted-color: #ffcccc;--chroma-output-color: #aaaaaa}:root .theme-icon-light{display:inline-block}:root .theme-icon-dark{display:none}:root img{filter:none}@media (prefers-color-scheme: dark){:root:not([data-theme]){--theme-name: "dark";--color-primary:hsl(201, 65%, 62%);--color-primary-h:201;--color-primary-s:65%;--color-primary-l:62%;--color-bg:hsl(231, 14%, 10%);--color-bg-h:231;--color-bg-s:14%;--color-bg-l:10%;--color-contrast-lower:hsl(230, 12%, 18%);--color-contrast-lower-h:230;--color-contrast-lower-s:12%;--color-contrast-lower-l:18%;--color-contrast-low:hsl(240, 2%, 37%);--color-contrast-low-h:240;--color-contrast-low-s:2%;--color-contrast-low-l:37%;--color-contrast-medium:hsl(80, 2%, 69%);--color-contrast-medium-h:80;--color-contrast-medium-s:2%;--color-contrast-medium-l:69%;--color-contrast-high:hsl(69, 9%, 84%);--color-contrast-high-h:69;--color-contrast-high-s:9%;--color-contrast-high-l:84%;--color-contrast-higher:hsl(60, 6%, 90%);--color-contrast-higher-h:60;--color-contrast-higher-s:6%;--color-contrast-higher-l:90%;--chroma-line-numbers-background: #ffffcc;--chroma-line-numbers-color: #7f7f7f;--chroma-keyword-color: #ff79c6;--chroma-name-color: #8be9fd;--chroma-attribute-color: #50fa7b;--chroma-literal-color: #f1fa8c;--chroma-number-color: #bd93f9;--chroma-comment-color: #6272a4;--chroma-deleted-color: #8b080b;--chroma-output-color: #44475a}:root:not([data-theme]) .theme-icon-light{display:none}:root:not([data-theme]) .theme-icon-dark{display:inline-block}:root:not([data-theme]) img{filter:brightness(75%)}}:root[data-theme="dark"]{--theme-name: "dark";--color-primary:hsl(201, 65%, 62%);--color-primary-h:201;--color-primary-s:65%;--color-primary-l:62%;--color-bg:hsl(231, 14%, 10%);--color-bg-h:231;--color-bg-s:14%;--color-bg-l:10%;--color-contrast-lower:hsl(230, 12%, 18%);--color-contrast-lower-h:230;--color-contrast-lower-s:12%;--color-contrast-lower-l:18%;--color-contrast-low:hsl(240, 2%, 37%);--color-contrast-low-h:240;--color-contrast-low-s:2%;--color-contrast-low-l:37%;--color-contrast-medium:hsl(80, 2%, 69%);--color-contrast-medium-h:80;--color-contrast-medium-s:2%;--color-contrast-medium-l:69%;--color-contrast-high:hsl(69, 9%, 84%);--color-contrast-high-h:69;--color-contrast-high-s:9%;--color-contrast-high-l:84%;--color-contrast-higher:hsl(60, 6%, 90%);--color-contrast-higher-h:60;--color-contrast-higher-s:6%;--color-contrast-higher-l:90%;--chroma-line-numbers-background: #ffffcc;--chroma-line-numbers-color: #7f7f7f;--chroma-keyword-color: #ff79c6;--chroma-name-color: #8be9fd;--chroma-attribute-color: #50fa7b;--chroma-literal-color: #f1fa8c;--chroma-number-color: #bd93f9;--chroma-comment-color: #6272a4;--chroma-deleted-color: #8b080b;--chroma-output-color: #44475a}:root[data-theme="dark"] .theme-icon-light{display:none}:root[data-theme="dark"] .theme-icon-dark{display:inline-block}:root[data-theme="dark"] img{filter:brightness(75%)}#theme-switcher{color:var(--color-contrast-medium);transition:color .5s;z-index:4}#theme-switcher:hover{color:var(--color-primary)}#theme-switcher .icon{margin-right:0 !important}.header{z-index:3}.header{position:fixed;width:100vw}.header-wrapper{padding:1em 0;-webkit-backdrop-filter:saturate(180%) blur(1em);backdrop-filter:saturate(180%) blur(1em);background:linear-gradient(90deg, rgba(247,149,51,0.101961) 0, rgba(243,112,85,0.101961) 15%, rgba(239,78,123,0.101961) 30%, rgba(161,102,171,0.101961) 44%, rgba(80,115,184,0.101961) 58%, rgba(16,152,173,0.101961) 72%, rgba(7,179,155,0.101961) 86%, rgba(109,186,130,0.101961) 100%);transition:background .5s}.header-inner{display:flex;justify-content:space-between;align-items:center;margin:0 auto;max-width:36em}.header-inner.list{max-width:36em}.site-brand{margin-right:1em}.brand{font-size:1em;color:var(--color-contrast-high);text-decoration:none}.brand:hover{color:var(--color-contrast-high)}:root{--header-height: calc( - max( - /* brand */ - 29.124px, - /* menu */ - 21.6px /* {.nav font-size} * {.menu line-height} */ - ) - /* .header-wrapper top+bottom margin */ - + 36px - )}*[id]{scroll-margin-top:var(--header-height)}#nav-toggle{display:none}.nav-toggle{display:none;position:absolute;top:1em;right:1em;margin-right:1em;width:1em;height:1em;cursor:pointer}.nav-toggle-inner{padding:1em;display:inline-block}.nav-toggle span{display:block;position:absolute;height:0.1em;width:1em;background-color:var(--color-contrast-high);transition:all .5s}.nav-toggle span:nth-child(1){top:0.4em}.nav-toggle span:nth-child(2){top:0.7em}.nav-toggle span:nth-child(3){top:1em}.nav-toggle.open span:nth-child(1){top:75%;transform:rotate(225deg)}.nav-toggle.open span:nth-child(2){width:0;opacity:0;transform:rotate(-135deg)}.nav-toggle.open span:nth-child(3){top:75%;transform:rotate(-45deg)}.nav-curtain{height:100vh;width:100vw;-webkit-backdrop-filter:saturate(180%) blur(1em);backdrop-filter:saturate(180%) blur(1em);background:linear-gradient(90deg, rgba(247,149,51,0.101961) 0, rgba(243,112,85,0.101961) 15%, rgba(239,78,123,0.101961) 30%, rgba(161,102,171,0.101961) 44%, rgba(80,115,184,0.101961) 58%, rgba(16,152,173,0.101961) 72%, rgba(7,179,155,0.101961) 86%, rgba(109,186,130,0.101961) 100%) rgba(0,0,0,0.5)}.nav{z-index:3;position:relative}.menu{padding:0;margin:0;list-style:none;line-height:1.5;font-weight:500}.menu-item{display:inline-block}.menu-item a{color:var(--color-contrast-medium)}.menu-item a:hover{color:var(--color-primary)}.active a{color:var(--color-primary)}.nav{text-align:right;font-size:80%}.menu-item{margin-left:0.5em}.menu-item .icon{margin:0 0.3em 0.2em 0}.list .main-inner{width:36em}.list-title{text-align:center}.list ul{list-style:none;padding:0}.list-item-title{flex:1}.list-item-time{text-align:right;margin-left:1em}.list-item{line-height:2;position:relative;transition:border .5s;border-bottom:1px dashed var(--color-contrast-low);margin-top:1em;padding-bottom:0.5em;display:flex;align-items:baseline}.list-item:hover{border-bottom-color:var(--color-primary)}.list-item:hover ::before{background:var(--color-primary)}.list-item ::before{content:" ";position:absolute;left:0.618em;top:0.618em;width:6px;height:6px;background:var(--color-contrast-low);border-radius:50%;border:1px solid var(--color-bg);transition:background .5s;font-size:1rem}.list-item-title{margin:0 0.618em 0 2em;font-size:1.2em;line-height:1.5}.list-item-time{margin:0 0.618em 0 2em;color:var(--color-contrast-medium);line-height:1.5}.list-read-more{margin-top:1em;font-size:1.2em;line-height:1.5}.list-year{display:flex;justify-content:space-between;align-items:baseline}.term-count{color:var(--color-contrast-medium);font-size:0.7em}.single .main-inner{width:36em}.post-title{text-align:center}.post-subtitle{font-size:1.8em;text-align:center;font-weight:700;margin-top:-0.618em}.post-description{text-align:center;margin:1rem 0;font-size:90%}.post-body{margin-top:5em !important}.post-body a{text-decoration:underline;text-decoration-color:var(--color-contrast-low)}.post-body a:hover{text-decoration-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.5)}.post p{margin:1em 0;line-height:1.618}.post img{display:block;margin:2em auto;max-width:100%;border:1px solid var(--color-contrast-lower);clear:both}.post video{display:block;max-width:100%;margin:2em auto;clear:both}.post sup{font-size:70%;vertical-align:super}.post sup a{text-decoration:none}.post ol,.post ul{margin:0;padding-left:2em;line-height:1.618}.post hr{border:none;margin:2.427em 0 1.5em;text-align:center}.post hr::after{content:"···";letter-spacing:2em;padding-left:2em}blockquote{margin:2em 0;padding-left:1em;color:var(--color-contrast-medium);border-left:3px solid var(--color-contrast-low)}blockquote a{color:var(--color-contrast-medium)}blockquote a:hover{color:var(--color-primary)}.drop-cap{float:left;font-size:54px;margin-right:11.124px;margin-top:11.12484549px;line-height:29.124px}.caption{display:block;text-align:center;margin:-1em 0 0;font-size:90%;color:var(--color-contrast-medium)}.contents{margin-top:5em}.contents ol,.contents ul{list-style:none}ol.toc,ul.toc{padding:0;overflow:auto hidden;white-space:nowrap}.footnotes{font-size:90%;margin-top:5rem}.footnotes hr{margin:0;height:1px;border:none;background-color:var(--color-contrast-medium)}.footnotes hr::after{content:none}.footnotes ol{margin:1.618rem 0 0 !important;padding:0 1rem 0 2rem !important}.footnote-icon{fill:hsla(var(--color-contrast-high-h), var(--color-contrast-high-s), var(--color-contrast-high-l), 0.5);transition:fill .5s;margin-bottom:0.3em}.footnote-icon:hover{fill:var(--color-primary)}.anchor-link{position:absolute;transform:translate(-150%)}.anchor-icon{width:0.75em;height:0.75em;vertical-align:baseline}:root{--anchor-opacity: 0}.anchor-link{opacity:var(--anchor-opacity);transition:all .25s}.post h1:hover,.post h2:hover,.post h3:hover,.post h4:hover,.post h5:hover,.post h6:hover,.post .anchor-link:hover{--anchor-opacity: 1}.table-container{margin:2em 0;overflow-x:auto}table{width:100%;border-collapse:collapse;border-spacing:0;border-color:var(--color-contrast-lower)}th{font-weight:700}th,td{font-size:0.9em;padding:0.4em;border:1px solid var(--color-contrast-lower)}table>tbody>tr:nth-of-type(odd){background-color:hsla(var(--color-contrast-lower-h), var(--color-contrast-lower-s), var(--color-contrast-lower-l), 0.5)}table>tbody>tr:hover{background-color:var(--color-contrast-lower)}dt{font-weight:700}dd{margin-left:2em}code{padding:2.25px 4.5px;background-color:hsla(var(--color-contrast-lower-h), var(--color-contrast-lower-s), var(--color-contrast-lower-l), 0.5);font-size:80%}pre{overflow:auto;overflow-wrap:normal;word-wrap:normal;font-size:0.8rem;margin:2rem 0;padding:1em;line-height:1.618;background-color:hsla(var(--color-contrast-lower-h), var(--color-contrast-lower-s), var(--color-contrast-lower-l), 0.5)}pre code{background-color:unset;font-size:0.8rem;padding:0}pre{max-height:20em}.copy-button{position:absolute;top:0;right:0;border:0;font-size:inherit;color:var(--color-bg);background-color:hsla(var(--color-contrast-medium-h), var(--color-contrast-medium-s), var(--color-contrast-medium-l), 0.5);transition:all .5s;cursor:pointer}.copy-button:hover{background-color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.5)}.copy-button{visibility:hidden;opacity:0}.katex-display,mjx-container[jax="CHTML"][display="true"]{overflow:auto hidden;text-indent:0}.footer{position:absolute;bottom:0;width:100%;font-size:90%;color:hsla(var(--color-contrast-medium-h), var(--color-contrast-medium-s), var(--color-contrast-medium-l), 0.8)}.footer a{color:hsla(var(--color-contrast-medium-h), var(--color-contrast-medium-s), var(--color-contrast-medium-l), 0.8)}.footer a:hover{color:var(--color-primary)}.footer-inner{padding:1em;text-align:center}.footer-icon{margin:0 0.25em 0.3em}.footer-icon{fill:#f06292}@keyframes heartbeat{0%,100%{transform:scale(1)}10%,30%{transform:scale(0.9)}20%,40%,50%,60%,70%,80%{transform:scale(1.1)}}.footer-icon{animation:heartbeat 1.33s ease-in-out infinite}.post-meta{color:var(--color-contrast-medium);font-size:80%;text-align:center;margin:1rem 0}.post-meta a{color:var(--color-contrast-medium)}.post-meta a:hover{color:var(--color-primary)}.home .post-meta{margin:1rem 0}.post-meta-item{margin:0.5em;display:inline-block}.post-meta-icon{fill:hsla(var(--color-contrast-medium-h), var(--color-contrast-medium-s), var(--color-contrast-medium-l), 0.5);margin-bottom:0.3em}.post-copyright{margin:0;list-style:none;margin-top:5em !important;padding:0.5em 1em;background-color:hsla(var(--color-contrast-lower-h), var(--color-contrast-lower-s), var(--color-contrast-lower-l), 0.5);border-left:3px solid hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.5);line-height:2}.copyright-item{line-height:1.5;margin:0.5em 0}.copyright-item-text{font-weight:500}.updated-badge-container{margin-top:5em;text-align:center}.updated-badge-left{fill:var(--color-contrast-low)}.updated-badge-right{fill:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.5)}.post-share{margin-top:5rem;color:hsla(var(--color-contrast-medium-h), var(--color-contrast-medium-s), var(--color-contrast-medium-l), 0.8)}.post-share a{color:hsla(var(--color-contrast-medium-h), var(--color-contrast-medium-s), var(--color-contrast-medium-l), 0.8)}.post-share a:hover{color:inherit}.share-items{text-align:center}.share-item{margin:0 0.5em}.share-item{display:inline-block}.share-item .icon{transition:fill .5s}.twitter-icon:hover{fill:#1DA1F2}.facebook-icon:hover{fill:#1877F2}.linkedin-icon:hover{fill:#0077B5}.telegram-icon:hover{fill:#2CA5E0}.weibo-icon:hover{fill:#E6162D}.douban-icon:hover{fill:#007722}.qq-icon:hover{fill:#12B7F5}.qzone-icon:hover{fill:#FECE00}.qrcode-icon:hover{fill:var(--color-primary)}#qrcode-img{position:absolute;transform:translate(calc(-100% + 1em), calc(-100% - 1em));opacity:0;transition:opacity .5s}#qrcode-img img{display:none}.qrcode-container:hover #qrcode-img{opacity:1}.qrcode-container:hover #qrcode-img img{display:inline-block;border:1px solid var(--color-contrast-lower)}.related-posts{border:1px solid var(--color-contrast-lower);padding:0.6em 1em;line-height:2em;margin-top:5em}.related-title{font-size:1em;margin:0}.related-icon{float:right;margin-top:0.4em}.related-list{margin:0;padding:0;list-style:none}.related-link{line-height:1.5;display:inline-block}.post-tags{margin-top:5rem;text-align:center;font-size:90%}.post-tags-link{color:hsla(var(--color-contrast-medium-h), var(--color-contrast-medium-s), var(--color-contrast-medium-l), 0.9);margin:0 0.5em;line-height:2;display:inline-block}.tag-icon{margin-right:0.3em;font-size:80%}.post-nav{list-style:none;padding:0;display:flex;justify-content:space-between;border-top:1px solid var(--color-contrast-lower);font-weight:700;margin-top:5em;padding-top:0.618em}.post-nav-prev{margin-right:auto;max-width:42%}.post-nav-next{margin-left:auto;text-align:right;max-width:42%}.back-to-top{position:fixed;right:0;z-index:1}.back-to-top a{display:block;padding:1em;color:var(--color-contrast-medium)}.back-to-top a:hover{color:var(--color-primary)}.back-to-top{bottom:-3.6em;transition:bottom 0.3s ease-in-out}.back-to-top.show{bottom:0}.highlight{font-size:0.8rem;margin:2rem 0}.highlight pre{margin:0 !important;max-height:unset}.highlight .lntd pre{background-color:unset;overflow:visible}.highlight table>tbody>tr:nth-of-type(odd){background-color:inherit}.highlight table>tbody>tr:hover{background-color:inherit}span.lnt{user-select:none;display:block;margin-right:-1em !important;padding:0 !important;text-align:right}.chroma{color:var(--color-contrast-high);background-color:hsla(var(--color-contrast-lower-h), var(--color-contrast-lower-s), var(--color-contrast-lower-l), 0.5)}.lntable,.highlight>pre{max-height:20em}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.chroma .hl{display:block;width:100%;background-color:var(--chroma-line-numbers-background)}.chroma .lnt{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:var(--chroma-line-numbers-color)}.chroma .ln{margin-right:0.4em;padding:0 0.4em 0 0.4em;color:var(--chroma-line-numbers-color)}.chroma .k{color:var(--chroma-keyword-color)}.chroma .kc{color:var(--chroma-keyword-color)}.chroma .kd{color:var(--chroma-declaration-color);font-style:italic}.chroma .kn{color:var(--chroma-name-color)}.chroma .kp{color:var(--chroma-keyword-color)}.chroma .kr{color:var(--chroma-keyword-color)}.chroma .kt{color:var(--chroma-name-color)}.chroma .na{color:var(--chroma-attribute-color)}.chroma .nb{color:var(--chroma-name-color);font-style:italic}.chroma .nc{color:var(--chroma-attribute-color)}.chroma .nf{color:var(--chroma-attribute-color)}.chroma .nl{color:var(--chroma-name-color);font-style:italic}.chroma .nt{color:var(--chroma-keyword-color)}.chroma .nv{color:var(--chroma-name-color);font-style:italic}.chroma .vc{color:var(--chroma-name-color);font-style:italic}.chroma .vg{color:var(--chroma-name-color);font-style:italic}.chroma .vi{color:var(--chroma-name-color);font-style:italic}.chroma .s{color:var(--chroma-literal-color)}.chroma .sa{color:var(--chroma-literal-color)}.chroma .sb{color:var(--chroma-literal-color)}.chroma .sc{color:var(--chroma-literal-color)}.chroma .dl{color:var(--chroma-literal-color)}.chroma .sd{color:var(--chroma-literal-color)}.chroma .s2{color:var(--chroma-literal-color)}.chroma .se{color:var(--chroma-literal-color)}.chroma .sh{color:var(--chroma-literal-color)}.chroma .si{color:var(--chroma-literal-color)}.chroma .sx{color:var(--chroma-literal-color)}.chroma .sr{color:var(--chroma-literal-color)}.chroma .s1{color:var(--chroma-literal-color)}.chroma .ss{color:var(--chroma-literal-color)}.chroma .m{color:var(--chroma-number-color)}.chroma .mb{color:var(--chroma-number-color)}.chroma .mf{color:var(--chroma-number-color)}.chroma .mh{color:var(--chroma-number-color)}.chroma .mi{color:var(--chroma-number-color)}.chroma .il{color:var(--chroma-number-color)}.chroma .mo{color:var(--chroma-number-color)}.chroma .o{color:var(--chroma-keyword-color)}.chroma .ow{color:var(--chroma-keyword-color)}.chroma .c{color:var(--chroma-comment-color)}.chroma .ch{color:var(--chroma-comment-color)}.chroma .cm{color:var(--chroma-comment-color)}.chroma .c1{color:var(--chroma-comment-color)}.chroma .cs{color:var(--chroma-comment-color)}.chroma .cp{color:var(--chroma-keyword-color)}.chroma .cpf{color:var(--chroma-keyword-color)}.chroma .gd{color:var(--chroma-deleted-color)}.chroma .ge{text-decoration:underline}.chroma .gh{font-weight:bold}.chroma .gi{font-weight:bold}.chroma .go{color:var(--chroma-output-color)}.chroma .gu{font-weight:bold}.chroma .gl{text-decoration:underline}.socials{padding:0;margin:0;list-style:none}.socials-item{display:inline-block;margin:0.5em;border-radius:50%;background-color:var(--color-contrast-medium);transition:background-color .5s}.socials-item:hover{background-color:var(--color-primary)}.social-icon{fill:var(--color-bg);padding:0.5em}article.content.post.home{margin-top:5em}.summary-title-link{color:var(--color-contrast-higher)}.summary{line-height:1.618;display:block}.read-more-container{text-align:center;margin-top:1.618em}.read-more-link{display:inline-block}.pagination{list-style:none;margin:5em 0 0;padding:0;display:flex;justify-content:space-between}.pagination-prev{margin-right:auto}.pagination-next{margin-left:auto;text-align:right}.tree{overflow:auto hidden;white-space:nowrap}.tree ul{padding-left:2.4em}.tree>ul{padding:0}.list-categories>li{position:relative}.list-categories>li::before{content:" ";position:absolute;top:2.4em;left:0.1em;width:0.2em;height:calc(100% - 2.8em);background:var(--color-contrast-lower)}.category-item{color:var(--color-primary);font-size:1.2em}.category-item:hover{color:hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.75)}.category-count{color:var(--color-contrast-medium)}.category-post:hover{color:var(--color-contrast-medium)}.tag-cloud{text-align:center}.tag-cloud-item{margin:0.5rem;display:inline-block}.fof::before{background-image:url();background-repeat:no-repeat;background-size:cover;background-position:50% 50%;content:" ";position:fixed;width:100%;height:100%;top:0;left:0;z-index:1}.fof .main-inner{background:rgba(0,0,0,0.25);min-height:100%;min-width:100%;position:absolute;z-index:3}.fof video{position:fixed;top:50%;left:50%;min-width:100%;min-height:100%;width:auto;height:auto;z-index:2;transform:translateX(-50%) translateY(-50%)}.fof h1{font-size:3rem;text-transform:uppercase;letter-spacing:0.3rem;text-align:center;top:15%;left:5%;right:5%;position:absolute;color:#fff;margin:0.67em 0}.fof .fof-footer{font-size:2rem;position:absolute;bottom:15%;left:10%;right:10%;text-align:center}.fof a{color:#eee}.fof a:hover{color:#fff}@media only screen and (max-device-width: 1024px){.fof #bgvid{display:none}}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:5}@keyframes spin{100%{transform:rotateY(360deg)}}.search{display:flex;justify-content:center;border:1px solid var(--color-contrast-medium);min-width:1em;height:1em;line-height:1;border-radius:0.75em;padding:0.25em}.search .search-icon{cursor:pointer;width:1em;height:1em;margin:0;vertical-align:bottom;color:var(--color-contrast-medium);transition:color .5s}.search .search-icon:hover{color:var(--color-primary)}.search[data-running] .search-icon{animation:spin 1.5s linear infinite}.search .search-input{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;border-width:0;padding:0;margin:0;width:0;outline:none;background:transparent;color:var(--color-contrast-higher);transition:width .5s}.search .search-input:focus{margin-left:0.5em;width:5em}:root{--max-width: 738px}@media (max-width: 738px){.main-inner{width:auto !important}.anchor-link{position:relative;transform:none;float:right}#back-to-top{display:none}.header-inner{width:100%}.site-brand{margin-left:1em}.header-inner{display:block;margin:0;max-width:none}.nav-toggle{display:block}.nav{display:none;text-align:center;margin:2em 0}.menu{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center}.menu-item{margin:0;padding:1em}.menu-item .icon{margin:0}.menu-item-name{display:block}.header.open .nav{display:block;animation:appear .5s;animation-iteration-count:1;animation-fill-mode:forwards}@keyframes appear{0%{opacity:0;height:0;margin:0;transform:scaleY(0);transform-origin:top}100%{opacity:1;height:10em;margin:2em 0;transform:scaleY(1);transform-origin:top}}.header.open .nav-curtain{animation:appearCurtain .5s;animation-iteration-count:1;animation-fill-mode:forwards}@keyframes appearCurtain{0%{visibility:hidden;opacity:0}100%{visibility:visible;opacity:1}}.header.fade .nav{display:block;animation:fade .5s;animation-iteration-count:1;animation-fill-mode:forwards}@keyframes fade{0%{opacity:1;height:10em;margin:2em 0;transform:scaleY(1);transform-origin:top}100%{opacity:0;height:0;margin:0;transform:scaleY(0);transform-origin:top}}.header.fade .nav-curtain{animation:fadeCurtain .5s;animation-iteration-count:1;animation-fill-mode:forwards}@keyframes fadeCurtain{0%{visibility:visible;opacity:1}100%{visibility:hidden;opacity:0}}#langs li{width:auto}.search-item{grid-column:1 / -1}.search .search-input{margin-left:0.5em;flex:1}}[data-small-caps="true"] .post-body h1,[data-small-caps="true"] .post-body h2,[data-small-caps="true"] .post-body h3,[data-small-caps="true"] .post-body h4,[data-small-caps="true"] .post-body h5,[data-small-caps="true"] .post-body h6{font-variant:small-caps}[data-small-caps="true"] .contents-title{font-variant:small-caps}[data-align="justify"] .post-body p,[data-align="justify"] .post-body li,[data-align="justify"] .post-body dd{text-align:justify;text-justify:distribute}[data-align="justify"] .footnotes a{word-break:break-all}[data-align="center"] .post-body p{text-align:center}[data-type="poetry"] .post-body{display:table;margin:0 auto}[data-type="poetry"] .post-body p{margin:0 0 1em}[data-type="poetry"] .post-body>p:first-child img,[data-type="poetry"] .post-body>p:first-child video{margin-top:0}[data-type="poetry"] .post-body>blockquote:first-child{margin-top:0}[data-type="poetry"] .post-body>blockquote:last-child{margin-bottom:0}[data-type="poetry"] .post-body>p:last-child{margin:0}[data-type="poetry"] .post-body>p:last-child img,[data-type="poetry"] .post-body>p:last-child video{margin-bottom:0}[data-type="poetry"] .post-body>p:last-child .caption{margin:1em 0 0}[data-type="poetry"] section.footnotes>ol>li:last-child>p:last-child{margin:0}[data-toc-num="true"] .contents ol{counter-reset:item}[data-toc-num="true"] .contents ol li::before{counter-increment:item;margin-right:0.5em}[data-toc-num="true"] .contents>ol>li::before{content:counters(item, ".") "."}[data-toc-num="true"] .contents li>ol>li::before{content:counters(item, ".")}@supports not ((backdrop-filter: none) or (-webkit-backdrop-filter: none)){.header-wrapper{background-color:var(--color-bg)}} diff --git a/resources/_gen/assets/scss/scss/main.scss_b17b8b3fd5dba5bd88a508c1c1f3b99b.json b/resources/_gen/assets/scss/scss/main.scss_b17b8b3fd5dba5bd88a508c1c1f3b99b.json deleted file mode 100644 index 844ab15..0000000 --- a/resources/_gen/assets/scss/scss/main.scss_b17b8b3fd5dba5bd88a508c1c1f3b99b.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"css/meme.min.21d090babe38ec6e5e83b6b1417c76df8072fac00bb8567a38d6830adc09ca44.css","MediaType":"text/css","Data":{"Integrity":"sha256-IdCQur447G5eg7axQXx234By+sALuFZ6ONaDCtwJykQ="}} \ No newline at end of file diff --git a/themes/mytheme/assets/css/common/404.css b/themes/mytheme/assets/css/common/404.css deleted file mode 100644 index 8a23430..0000000 --- a/themes/mytheme/assets/css/common/404.css +++ /dev/null @@ -1,11 +0,0 @@ -.not-found { - position: absolute; - left: 0; - right: 0; - display: flex; - align-items: center; - justify-content: center; - height: 80%; - font-size: 160px; - font-weight: 700; -} diff --git a/themes/mytheme/assets/css/common/archive.css b/themes/mytheme/assets/css/common/archive.css deleted file mode 100644 index 7e7e245..0000000 --- a/themes/mytheme/assets/css/common/archive.css +++ /dev/null @@ -1,44 +0,0 @@ -.archive-posts { - width: 100%; - font-size: 16px; -} - -.archive-year { - margin-top: 40px; -} - -.archive-year:not(:last-of-type) { - border-bottom: 2px solid var(--border); -} - -.archive-month { - display: flex; - align-items: flex-start; - padding: 10px 0; -} - -.archive-month-header { - margin: 25px 0; - width: 200px; -} - -.archive-month:not(:last-of-type) { - border-bottom: 1px solid var(--border); -} - -.archive-entry { - position: relative; - padding: 5px; - margin: 10px 0; -} - -.archive-entry-title { - margin: 5px 0; - font-weight: 400; -} - -.archive-count, -.archive-meta { - color: var(--secondary); - font-size: 14px; -} diff --git a/themes/mytheme/assets/css/common/footer.css b/themes/mytheme/assets/css/common/footer.css deleted file mode 100644 index 5addb1e..0000000 --- a/themes/mytheme/assets/css/common/footer.css +++ /dev/null @@ -1,60 +0,0 @@ -.footer, -.top-link { - font-size: 12px; - color: var(--secondary); -} - -.footer { - max-width: calc(var(--main-width) + var(--gap) * 2); - margin: auto; - padding: calc((var(--footer-height) - var(--gap)) / 2) var(--gap); - text-align: center; - line-height: 24px; -} - -.footer span { - margin-inline-start: 1px; - margin-inline-end: 1px; -} - -.footer span:last-child { - white-space: nowrap; -} - -.footer a { - color: inherit; - border-bottom: 1px solid var(--secondary); -} - -.footer a:hover { - border-bottom: 1px solid var(--primary); -} - -.top-link { - visibility: hidden; - position: fixed; - bottom: 60px; - right: 30px; - z-index: 99; - background: var(--tertiary); - width: 42px; - height: 42px; - padding: 12px; - border-radius: 64px; - transition: visibility 0.5s, opacity 0.8s linear; -} - -.top-link, -.top-link svg { - filter: drop-shadow(0px 0px 0px var(--theme)); -} - -.footer a:hover, -.top-link:hover { - color: var(--primary); -} - -.top-link:focus, -#theme-toggle:focus { - outline: 0; -} diff --git a/themes/mytheme/assets/css/common/header.css b/themes/mytheme/assets/css/common/header.css deleted file mode 100644 index 9660864..0000000 --- a/themes/mytheme/assets/css/common/header.css +++ /dev/null @@ -1,101 +0,0 @@ -.nav { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - max-width: calc(var(--nav-width) + var(--gap) * 2); - - margin-inline-start: auto; - margin-inline-end: auto; - line-height: var(--header-height); -} - -.nav-home { - max-width: calc(var(--nav-width) - var(--gap)); -} -.nav-nonpost { - max-width: calc(var(--nav-width)); -} - -.nav a { - display: block; -} - -.logo, -#menu { - display: flex; - margin: auto var(--gap); -} - -.logo { - flex-wrap: inherit; -} - -.logo a { - font-size: 18px; - font-weight: 600; -} - -.logo a img, .logo a svg { - display: inline; - vertical-align: middle; - pointer-events: none; - transform: translate(0, -10%); - border-radius: 6px; - margin-inline-end: 8px; -} - -button#theme-toggle { - font-size: 26px; - margin: auto 4px; -} - -body.dark #moon { - vertical-align: middle; - display: none; -} - -body:not(.dark) #sun { - display: none; -} - -#menu { - list-style: none; - word-break: keep-all; - overflow-x: auto; - white-space: nowrap; -} - -#menu li + li { - margin-inline-start: var(--gap); -} - -#menu a { - font-size: 16px; -} - -#menu .active { - font-weight: 500; - border-bottom: 2px solid currentColor; -} - -.lang-switch li, -.lang-switch ul, -.logo-switches { - display: inline-flex; - margin: auto 4px; -} - -.lang-switch { - display: flex; - flex-wrap: inherit; -} - -.lang-switch a { - margin: auto 3px; - font-size: 16px; - font-weight: 500; -} - -.logo-switches { - flex-wrap: inherit; -} diff --git a/themes/mytheme/assets/css/common/main.css b/themes/mytheme/assets/css/common/main.css deleted file mode 100644 index 88c29e2..0000000 --- a/themes/mytheme/assets/css/common/main.css +++ /dev/null @@ -1,73 +0,0 @@ -.main { - position: relative; - min-height: calc(100vh - var(--header-height) - var(--footer-height)); - max-width: calc(var(--main-width) + var(--gap) * 2); - margin: auto; - padding: var(--gap); -} - -.page-header h1 { - font-size: 32px; -} - -.post-title-header { - margin: 24px auto var(--content-gap) auto; - margin-left: var(--gap); -} - -.pagination { - display: flex; -} - -.pagination a { - color: var(--theme); - font-size: 13px; - line-height: 36px; - background: var(--primary); - border-radius: calc(36px / 2); - padding: 0 16px; -} - -.pagination .next { - margin-inline-start: auto; -} - -.social-icons { - padding: 12px 0; -} - -.social-icons a:not(:last-of-type) { - margin-inline-end: 12px; -} - -.social-icons a svg { - height: 26px; - width: 26px; -} - -code { - direction: ltr; -} - -div.highlight, -pre { - position: relative; -} - -.copy-code { - display: none; - position: absolute; - top: 4px; - right: 4px; - color: rgba(255, 255, 255, 0.8); - background: rgba(78, 78, 78, 0.8); - border-radius: var(--radius); - padding: 0 5px; - font-size: 14px; - user-select: none; -} - -div.highlight:hover .copy-code, -pre:hover .copy-code { - display: block; -} diff --git a/themes/mytheme/assets/css/common/post-entry.css b/themes/mytheme/assets/css/common/post-entry.css deleted file mode 100644 index 2b19878..0000000 --- a/themes/mytheme/assets/css/common/post-entry.css +++ /dev/null @@ -1,106 +0,0 @@ -.first-entry { - scroll-snap-align: start; - position: relative; - display: flex; - flex-direction: column; - justify-content: center; - min-height: 320px; - height: calc(100vh - var(--header-height) * 2 - var(--gap) * 2); - margin: 0 0 var(--header-height) calc(var(--gap) * 2); -} - -.first-entry .entry-header { - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 3; -} - -.first-entry .entry-header h1 { - font-size: 24px; - line-height: 1.3; -} - -.first-entry .entry-content { - margin: 14px 0; - font-size: 16px; - -webkit-line-clamp: 3; -} - -.first-entry .entry-footer { - font-size: 14px; -} - -.home-info .entry-content { - -webkit-line-clamp: unset; -} - -.post-entry { - position: relative; -/** margin-bottom: var(--gap); **/ - padding: var(--gap); -/** background: var(--entry); - border: 1px solid var(--border); **/ - border-radius: var(--radius); - transition: transform 0.1s; -} - -.post-entry:active { - transform: scale(0.96); -} - -.tag-entry .entry-cover { - display: none; -} - -.entry-header h2 { - font-size: 18px; - line-height: 1.3; -} - -.entry-content { - margin: 8px 0; - color: var(--secondary); - font-size: 14px; - line-height: 1.6; - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 2; -} - -.entry-footer { - color: var(--secondary); - font-size: 13px; -} - -.entry-link { - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; -} - -.entry-cover, -.entry-isdraft { - font-size: 14px; - color: var(--secondary); -} - -.entry-cover { - margin-bottom: var(--gap); - text-align: center; -} - -.entry-cover img { - border-radius: var(--radius); - pointer-events: none; - width: 100%; - height: auto; -} - -.entry-cover a { - color: var(--secondary); - box-shadow: 0 1px 0 var(--primary); -} diff --git a/themes/mytheme/assets/css/common/post-single.css b/themes/mytheme/assets/css/common/post-single.css deleted file mode 100644 index 0dccf3a..0000000 --- a/themes/mytheme/assets/css/common/post-single.css +++ /dev/null @@ -1,409 +0,0 @@ -.post-header { - margin: 24px auto calc(var(--content-gap) + 20px) auto; - text-align: center; -} - -.post-title { - margin-top: 32px; - margin-bottom: 12px; - font-size: 24px; - padding-top: 32px; -} - -.post-description { - margin-top: 10px; - margin-bottom: 5px; -} - -.post-meta { - color: var(--secondary); - font-size: 14px; -} - -.post-meta .i18n_list li { - display: inline-flex; - list-style: none; - margin: auto 3px; - box-shadow: 0 1px 0 var(--secondary); -} - -.breadcrumbs a { - font-size: 16px; -} - -.post-content { - font-size: 16px; - font-weight: 400; - font-family: inherit; - color: var(--content); - letter-spacing: 0.1px; -} - -.post-content h3, -.post-content h4, -.post-content h5,a -.post-content h6 { - margin: 24px 0 16px; -} - -.post-content h1 { - margin: 40px auto 32px; - font-size: 26px; -} - -.post-content h2 { - margin: 32px auto 24px; - font-size: 24px; -} - -.post-content h3 { - font-size: 18px; -} - -.post-content h4 { - font-size: 16px; -} - -.post-content h5 { - font-size: 14px; -} - -.post-content h6 { - font-size: 12px; -} - -.post-content a, -.toc a:hover { - box-shadow: 0 1px 0; -} - -.post-content a code { - margin: auto 0; - border-radius: 0; - box-shadow: 0 -1px 0 var(--primary) inset; -} - -.post-content del { - text-decoration: none; - background: linear-gradient(to right, var(--primary) 100%, transparent 0) 0 50%/1px 1px repeat-x; -} - -.post-content dl, -.post-content ol, -.post-content p, -.post-content figure, -.post-content ul { - margin-bottom: var(--content-gap); -} - -.post-content ol, -.post-content ul { - padding-inline-start: 20px; -} - -.post-content li { - margin-top: 5px; -} - -.post-content li p { - margin-bottom: 0; -} - -.post-content dl { - display: flex; - flex-wrap: wrap; - margin: 0; -} - -.post-content dt { - width: 25%; - font-weight: 700; -} - -.post-content dd { - width: 75%; - margin-inline-start: 0; - padding-inline-start: 10px; -} - -.post-content dd ~ dd, -.post-content dt ~ dt { - margin-top: 10px; -} - -.post-content table { - margin-bottom: 32px; -} - -.post-content table th, -.post-content table:not(.highlighttable, .highlight table, .gist .highlight) td { - min-width: 80px; - padding: 12px 8px; - line-height: 1.5; - border-bottom: 1px solid var(--border); -} - -.post-content table th { - font-size: 14px; - text-align: start; -} - -.post-content table:not(.highlighttable) td code:only-child { - margin: auto 0; -} - -.post-content .highlight table { - border-radius: var(--radius); -} - -.post-content .highlight:not(table) { - margin: 10px auto; - background: var(--hljs-bg) !important; - border-radius: var(--radius); - direction: ltr; -} - -.post-content li > .highlight { - margin-inline-end: 0; -} - -.post-content ul pre { - margin-inline-start: calc(var(--gap) * -2); -} - -.post-content .highlight pre { - margin: 0; -} - -.post-content .highlighttable { - table-layout: fixed; -} - -.post-content .highlighttable td:first-child { - width: 40px; -} - -.post-content .highlighttable td .linenodiv { - padding-inline-end: 0 !important; -} - -.post-content .highlighttable td .highlight, -.post-content .highlighttable td .linenodiv pre { - margin-bottom: 0; -} - -.post-content code { - margin: auto 4px; - padding: 4px 6px; - font-size: 0.78em; - line-height: 1.5; - background: var(--code-bg); - border-radius: 2px; -} - -.post-content pre code { - display: block; - margin: auto 0; - padding: 10px; - color: rgb(213, 213, 214); - background: var(--hljs-bg) !important; - border-radius: var(--radius); - overflow-x: auto; - word-break: break-all; -} - -.post-content blockquote { - margin: 20px 0; - padding: 0 14px; - border-inline-start: 3px solid var(--primary); -} - -.post-content hr { - margin: 30px 0; - height: 2px; - background: var(--tertiary); - border: 0; -} - -.post-content iframe { - max-width: 100%; -} - -.post-content img { - border-radius: 4px; - margin: 1rem 0; -} - -.post-content img[src*="#center"] { - margin: 1rem auto; -} - -.post-content figure.align-center { - text-align: center; -} - -.post-content figure > figcaption { - color: var(--primary); - font-size: 16px; - font-weight: bold; - margin: 8px 0 16px; -} - -.post-content figure > figcaption > p { - color: var(--secondary); - font-size: 14px; - font-weight: normal; -} - -.toc { - margin: 0 2px 40px 2px; - border: 1px solid var(--border); - background: var(--code-bg); - border-radius: var(--radius); - padding: 0.4em; -} - -.dark .toc { - background: var(--entry); -} - -.toc details summary { - cursor: zoom-in; - margin-inline-start: 20px; -} - -.toc details[open] summary { - cursor: zoom-out; -} - -.toc .details { - display: inline; - font-weight: 500; -} - -.toc .inner { - margin: 0 20px; - padding: 10px 20px; -} - -.toc li ul { - margin-inline-start: var(--gap); -} - -.toc summary:focus { - outline: 0; -} - -.post-footer { - margin-top: 56px; -} - -.post-tags li { - display: inline-block; - margin-inline-end: 3px; - margin-bottom: 5px; -} - -.post-tags a, -.share-buttons, -.paginav { - border-radius: var(--radius); -/* background: var(--code-bg); - border: 1px solid var(--code-bg); */ -} - -.post-tags a { - display: block; - padding-inline-start: 14px; - padding-inline-end: 14px; - color: var(--secondary); - font-size: 14px; - line-height: 34px; - background: var(--code-bg); -} -/** -.post-tags a:hover, -.paginav a:hover { - background: var(--border); -} -**/ -.share-buttons { - margin: 14px 0; - padding-inline-start: var(--radius); - display: flex; - justify-content: center; - overflow-x: auto; -} - -.share-buttons a { - margin-top: 10px; -} - -.share-buttons a:not(:last-of-type) { - margin-inline-end: 12px; -} - -h1:hover .anchor, -h2:hover .anchor, -h3:hover .anchor, -h4:hover .anchor, -h5:hover .anchor, -h6:hover .anchor { - display: inline-flex; - color: var(--secondary); - margin-inline-start: 8px; - font-weight: 500; - user-select: none; -} - -.paginav { - margin: 10px 0; - display: flex; - line-height: 30px; - border-radius: var(--radius); -} - -.paginav a { - padding-inline-start: 14px; - padding-inline-end: 14px; - border-radius: var(--radius); -} - -.pag-back { - font-size: 18px; - color: var(--secondary); -} - -.paginav .title { - letter-spacing: 1px; - text-transform: uppercase; - font-size: small; - color: var(--secondary); -} - -.paginav .prev, -.paginav .next { - width: 50%; -} - -.paginav span:hover:not(.title) { - box-shadow: 0 0px 0; -} - -.paginav .next { - margin-inline-start: auto; - text-align: right; -} - -[dir="rtl"] .paginav .next { - text-align: left; -} - -h1>a>svg { - display: inline; -} - -img.in-text { - display: inline; - margin: auto; -} diff --git a/themes/mytheme/assets/css/common/profile-mode.css b/themes/mytheme/assets/css/common/profile-mode.css deleted file mode 100644 index 58f2819..0000000 --- a/themes/mytheme/assets/css/common/profile-mode.css +++ /dev/null @@ -1,42 +0,0 @@ -.buttons, -.main .profile { - display: flex; - justify-content: center; -} - -.main .profile { - align-items: center; - min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2)); - text-align: center; -} - -.profile .profile_inner h1 { - padding: 12px 0; -} - -.profile img { - display: inline-table; - border-radius: 50%; -} - -.buttons { - flex-wrap: wrap; - max-width: 400px; - margin: 0 auto; -} - -.button { - background: var(--tertiary); - border-radius: var(--radius); - margin: 8px; - padding: 6px; - transition: transform 0.1s; -} - -.button-inner { - padding: 0 8px; -} - -.button:active { - transform: scale(0.96); -} diff --git a/themes/mytheme/assets/css/common/search.css b/themes/mytheme/assets/css/common/search.css deleted file mode 100644 index 38d5b6b..0000000 --- a/themes/mytheme/assets/css/common/search.css +++ /dev/null @@ -1,45 +0,0 @@ -#searchbox input { - padding: 4px 10px; - width: 100%; - color: var(--primary); - font-weight: bold; - border: 2px solid var(--tertiary); - border-radius: var(--radius); -} - -#searchbox input:focus { - border-color: var(--secondary); -} - -#searchResults li { - list-style: none; - border-radius: var(--radius); - padding: 10px; - margin: 10px 0; - position: relative; - font-weight: 500; -} - -#searchResults { - margin: 10px 0; - width: 100%; -} - -#searchResults li:active { - transition: transform 0.1s; - transform: scale(0.98); -} - -#searchResults a { - position: absolute; - width: 100%; - height: 100%; - top: 0px; - left: 0px; - outline: none; -} - -#searchResults .focus { - transform: scale(0.98); - border: 2px solid var(--tertiary); -} diff --git a/themes/mytheme/assets/css/common/terms.css b/themes/mytheme/assets/css/common/terms.css deleted file mode 100644 index 244614b..0000000 --- a/themes/mytheme/assets/css/common/terms.css +++ /dev/null @@ -1,18 +0,0 @@ -.terms-tags li { - display: inline-block; - margin: 10px; - font-weight: 500; -} - -.terms-tags a { - display: block; - padding: 3px 10px; - background: var(--tertiary); - border-radius: 6px; - transition: transform 0.1s; -} - -.terms-tags a:active { - background: var(--tertiary); - transform: scale(0.96); -} diff --git a/themes/mytheme/assets/css/core/license.css b/themes/mytheme/assets/css/core/license.css deleted file mode 100644 index 8e81d22..0000000 --- a/themes/mytheme/assets/css/core/license.css +++ /dev/null @@ -1,6 +0,0 @@ -/* - PaperMod v6 - License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE - Copyright (c) 2020 nanxiaobei and adityatelange - Copyright (c) 2021-2022 adityatelange -*/ diff --git a/themes/mytheme/assets/css/core/reset.css b/themes/mytheme/assets/css/core/reset.css deleted file mode 100644 index ba9d504..0000000 --- a/themes/mytheme/assets/css/core/reset.css +++ /dev/null @@ -1,127 +0,0 @@ -@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css"); -@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,400&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap'); - -*, -::after, -::before { - box-sizing: border-box; -} - -html { - -webkit-tap-highlight-color: transparent; - overflow-y: scroll; -} - -a, -button, -body, -h1, -h2, -h3, -h4, -h5, -h6 { - color: var(--primary); -} - -h1 { font-size: 24px; } -h2 { font-size: 18px; } -h3 { font-size: 16px; } - -body { - font-family: "Source Sans 3", "Pretendard", sans-serif !important; - font-size: 14px; - line-height: 1.8; - word-break: break-word; - background: var(--theme); -} - -code { - font-family: "Jetbrains Mono", "Monaco", "Cascadia Code", monospace !important; -} - -article, -aside, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section, -table { - display: block; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - line-height: 1.2; -} - -h1, -h2, -h3, -h4, -h5, -h6, -p { - margin-top: 0; - margin-bottom: 0; -} - -ul { - padding: 0; -} - -a { - text-decoration: none; -} - -body, -figure, -ul { - margin: 0; -} - -table { - width: 100%; - border-collapse: collapse; - border-spacing: 0; - overflow-x: auto; - word-break: keep-all; -} - -button, -input, -textarea { - padding: 0; - font: inherit; - background: 0 0; - border: 0; -} - -input, -textarea { - outline: 0; -} - -button, -input[type=button], -input[type=submit] { - cursor: pointer; -} - -input:-webkit-autofill, -textarea:-webkit-autofill { - box-shadow: 0 0 0 50px var(--theme) inset; -} - -img { - display: block; - max-width: 100%; -} diff --git a/themes/mytheme/assets/css/core/theme-vars.css b/themes/mytheme/assets/css/core/theme-vars.css deleted file mode 100644 index 3b6e571..0000000 --- a/themes/mytheme/assets/css/core/theme-vars.css +++ /dev/null @@ -1,38 +0,0 @@ -:root { - --gap: 20px; - --content-gap: 20px; - --nav-width: 720px; - --main-width: 720px; - --header-height: 60px; - --footer-height: 60px; - --radius: 8px; - --theme: white; - --entry: rgb(255, 255, 255); - --primary: #242424; - --secondary: rgb(108, 108, 108); - --tertiary: rgb(214, 214, 214); - --content: rgb(0,0,0); - --hljs-bg: rgb(28, 29, 33); - --code-bg: rgb(245, 245, 245); - --border: rgb(238, 238, 238); -} - -.dark { - --theme: #181818; - --entry: rgb(46, 46, 51); - --primary: rgb(218, 218, 219); - --secondary: rgb(155, 156, 157); - --tertiary: rgb(65, 66, 68); - --content: white; - --hljs-bg: rgb(46, 46, 51); - --code-bg: rgb(55, 56, 62); - --border: rgb(51, 51, 51); -} - -.list { - background: var(--code-bg); -} - -.dark.list { - background: var(--theme); -} diff --git a/themes/mytheme/assets/css/core/zmedia.css b/themes/mytheme/assets/css/core/zmedia.css deleted file mode 100644 index 210d486..0000000 --- a/themes/mytheme/assets/css/core/zmedia.css +++ /dev/null @@ -1,49 +0,0 @@ -@media screen and (max-width: 768px) { - /* theme-vars */ - :root { - --gap: 14px; - } - - /* profile-mode */ - .profile img { - transform: scale(0.85); - } - - /* post-entry */ - .first-entry { - min-height: 260px; - } - - /* archive */ - .archive-month { - flex-direction: column; - } - - .archive-year { - margin-top: 20px; - } - - /* footer */ - .footer { - padding: calc((var(--footer-height) - var(--gap) - 10px) / 2) var(--gap); - } -} - -/* footer */ -@media screen and (max-width: 900px) { - .list .top-link { - transform: translateY(-5rem); - } -} - -@media (prefers-reduced-motion) { - /* terms; profile-mode; post-single; post-entry; post-entry; search; search */ - .terms-tags a:active, - .button:active, - .post-entry:active, - .top-link, - #searchResults .focus, - #searchResults li:active { - transform: none; - } -} diff --git a/themes/mytheme/assets/css/extended/blank.css b/themes/mytheme/assets/css/extended/blank.css deleted file mode 100644 index a577295..0000000 --- a/themes/mytheme/assets/css/extended/blank.css +++ /dev/null @@ -1,5 +0,0 @@ -/* -This is just a placeholder blank stylesheet so as to support adding custom styles budled with theme's default styles - -Read https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#bundling-custom-css-with-themes-assets for more info -*/ diff --git a/themes/mytheme/assets/css/hljs/an-old-hope.min.css b/themes/mytheme/assets/css/hljs/an-old-hope.min.css deleted file mode 100644 index b5dabdf..0000000 --- a/themes/mytheme/assets/css/hljs/an-old-hope.min.css +++ /dev/null @@ -1,63 +0,0 @@ -.hljs-comment, -.hljs-quote { - color: #b6b18b; -} - -.hljs-deletion, -.hljs-name, -.hljs-regexp, -.hljs-selector-class, -.hljs-selector-id, -.hljs-tag, -.hljs-template-variable, -.hljs-variable { - color: #eb3c54; -} - -.hljs-built_in, -.hljs-builtin-name, -.hljs-link, -.hljs-literal, -.hljs-meta, -.hljs-number, -.hljs-params, -.hljs-type { - color: #e7ce56; -} - -.hljs-attribute { - color: #ee7c2b; -} - -.hljs-addition, -.hljs-bullet, -.hljs-string, -.hljs-symbol { - color: #4fb4d7; -} - -.hljs-section, -.hljs-title { - color: #78bb65; -} - -.hljs-keyword, -.hljs-selector-tag { - color: #b45ea4; -} - -.hljs { - display: block; - overflow-x: auto; - background: #1c1d21; - color: #c0c5ce; - padding: .5em; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: 700; -} diff --git a/themes/mytheme/assets/css/includes/scroll-bar.css b/themes/mytheme/assets/css/includes/scroll-bar.css deleted file mode 100644 index 47405de..0000000 --- a/themes/mytheme/assets/css/includes/scroll-bar.css +++ /dev/null @@ -1,63 +0,0 @@ -/* from reset */ -::-webkit-scrollbar-track { - background: 0 0; -} - -.list:not(.dark)::-webkit-scrollbar-track { - background: var(--code-bg); -} - -::-webkit-scrollbar-thumb { - background: var(--tertiary); - border: 5px solid var(--theme); - border-radius: var(--radius); -} - -.list:not(.dark)::-webkit-scrollbar-thumb { - border: 5px solid var(--code-bg); -} - -::-webkit-scrollbar-thumb:hover { - background: var(--secondary); -} - -::-webkit-scrollbar:not(.highlighttable, .highlight table, .gist .highlight) { - background: var(--theme); -} - -/* from post-single */ -.post-content .highlighttable td .highlight pre code::-webkit-scrollbar { - display: none; -} - -.post-content :not(table) ::-webkit-scrollbar-thumb { - border: 2px solid var(--hljs-bg); - background: rgb(113, 113, 117); -} - -.post-content :not(table) ::-webkit-scrollbar-thumb:hover { - background: rgb(163, 163, 165); -} - -.gist table::-webkit-scrollbar-thumb { - border: 2px solid rgb(255, 255, 255); - background: rgb(173, 173, 173); -} - -.gist table::-webkit-scrollbar-thumb:hover { - background: rgb(112, 112, 112); -} - -.post-content table::-webkit-scrollbar-thumb { - border-width: 2px; -} - -/* from zmedia */ -@media screen and (min-width: 768px) { - - /* reset */ - ::-webkit-scrollbar { - width: 19px; - height: 11px; - } -} \ No newline at end of file diff --git a/themes/newtheme/assets/css/main.css b/themes/mytheme/assets/css/main.css similarity index 100% rename from themes/newtheme/assets/css/main.css rename to themes/mytheme/assets/css/main.css diff --git a/themes/mytheme/assets/js/fastsearch.js b/themes/mytheme/assets/js/fastsearch.js deleted file mode 100644 index 06ebcfb..0000000 --- a/themes/mytheme/assets/js/fastsearch.js +++ /dev/null @@ -1,147 +0,0 @@ -import * as params from '@params'; - -let fuse; // holds our search engine -let resList = document.getElementById('searchResults'); -let sInput = document.getElementById('searchInput'); -let first, last, current_elem = null -let resultsAvailable = false; - -// load our search index -window.onload = function () { - let xhr = new XMLHttpRequest(); - xhr.onreadystatechange = function () { - if (xhr.readyState === 4) { - if (xhr.status === 200) { - let data = JSON.parse(xhr.responseText); - if (data) { - // fuse.js options; check fuse.js website for details - let options = { - distance: 100, - threshold: 0.4, - ignoreLocation: true, - keys: [ - 'title', - 'permalink', - 'summary', - 'content' - ] - }; - if (params.fuseOpts) { - options = { - isCaseSensitive: params.fuseOpts.iscasesensitive ?? false, - includeScore: params.fuseOpts.includescore ?? false, - includeMatches: params.fuseOpts.includematches ?? false, - minMatchCharLength: params.fuseOpts.minmatchcharlength ?? 1, - shouldSort: params.fuseOpts.shouldsort ?? true, - findAllMatches: params.fuseOpts.findallmatches ?? false, - keys: params.fuseOpts.keys ?? ['title', 'permalink', 'summary', 'content'], - location: params.fuseOpts.location ?? 0, - threshold: params.fuseOpts.threshold ?? 0.4, - distance: params.fuseOpts.distance ?? 100, - ignoreLocation: params.fuseOpts.ignorelocation ?? true - } - } - fuse = new Fuse(data, options); // build the index from the json file - } - } else { - console.log(xhr.responseText); - } - } - }; - xhr.open('GET', "../index.json"); - xhr.send(); -} - -function activeToggle(ae) { - document.querySelectorAll('.focus').forEach(function (element) { - // rm focus class - element.classList.remove("focus") - }); - if (ae) { - ae.focus() - document.activeElement = current_elem = ae; - ae.parentElement.classList.add("focus") - } else { - document.activeElement.parentElement.classList.add("focus") - } -} - -function reset() { - resultsAvailable = false; - resList.innerHTML = sInput.value = ''; // clear inputbox and searchResults - sInput.focus(); // shift focus to input box -} - -// execute search as each character is typed -sInput.onkeyup = function (e) { - // run a search query (for "term") every time a letter is typed - // in the search box - if (fuse) { - const results = fuse.search(this.value.trim()); // the actual query being run using fuse.js - if (results.length !== 0) { - // build our html if result exists - let resultSet = ''; // our results bucket - - for (let item in results) { - resultSet += `
{{ .Get "summary" | markdownify }}
- {{ .Inner | markdownify }}
-
- {{- .Get "caption" | markdownify -}} - {{- with .Get "attrlink" }} - - {{- end -}} - {{- .Get "attr" | markdownify -}} - {{- if .Get "attrlink" }}{{ end }}
- {{- end }} -{{ . | markdownify }}
{{- end }} - {{- end }} -