From e4522e429af9a3252fa077b1ac5eed3f4648ae7f Mon Sep 17 00:00:00 2001 From: Mivinci Date: Wed, 9 Nov 2022 18:57:42 +0800 Subject: [PATCH] fix style --- assets/css/atom.scss | 9 +++++++++ assets/css/main.scss | 11 ++--------- exampleSite/config.yaml | 4 ++-- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/assets/css/atom.scss b/assets/css/atom.scss index b1af7e6..297a669 100644 --- a/assets/css/atom.scss +++ b/assets/css/atom.scss @@ -1,8 +1,17 @@ +// $devices: ("", 0), (sm\:, 480px); +// @each $dev, $size in devices { +// // this is gonna waste hella space +// } + /* layout */ .container { max-width: var(--max-w); } +.hidden { + display: none; +} + .overflow-x-auto { overflow-x: auto; } diff --git a/assets/css/main.scss b/assets/css/main.scss index 5b17375..35b3734 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -6,19 +6,11 @@ :root { --max-w: 640px; - --nav-s: 1.5rem; --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } -@media screen and (min-width: 480px) { - :root { - --nav-s: .5rem; - } -} - - html { font-size: 16px; -webkit-text-size-adjust: 100%; @@ -55,4 +47,5 @@ main p a { opacity: 1; transform: none; } -} \ No newline at end of file +} + diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 10ad6a7..28f9f87 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,7 +1,7 @@ baseURL: https://mivinci.github.io/hugo-theme-minima languageCode: en-us title: Hugo on Minima -copyright: © 2022 Mivinci +copyright: © 2022 X googleAnalytics: # paginate specifies the maximum number of posts displayed on the home page. paginate: 12 @@ -27,7 +27,7 @@ languages: # author specifies your name, a slogon and your brief self-introduction. author: - name: Mivinci + name: X status: Am currently living on Earth 🌍 description: | This is Minima, a clean and minimal Hugo theme porting from