fix style

This commit is contained in:
Mivinci 2022-11-09 18:57:42 +08:00
parent 88481e9f0b
commit e4522e429a
3 changed files with 13 additions and 11 deletions

View file

@ -1,8 +1,17 @@
// $devices: ("", 0), (sm\:, 480px);
// @each $dev, $size in devices {
// // this is gonna waste hella space
// }
/* layout */ /* layout */
.container { .container {
max-width: var(--max-w); max-width: var(--max-w);
} }
.hidden {
display: none;
}
.overflow-x-auto { .overflow-x-auto {
overflow-x: auto; overflow-x: auto;
} }

View file

@ -6,19 +6,11 @@
:root { :root {
--max-w: 640px; --max-w: 640px;
--nav-s: 1.5rem;
--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --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 { html {
font-size: 16px; font-size: 16px;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
@ -56,3 +48,4 @@ main p a {
transform: none; transform: none;
} }
} }

View file

@ -1,7 +1,7 @@
baseURL: https://mivinci.github.io/hugo-theme-minima baseURL: https://mivinci.github.io/hugo-theme-minima
languageCode: en-us languageCode: en-us
title: Hugo on Minima title: Hugo on Minima
copyright: © 2022 Mivinci copyright: © 2022 X
googleAnalytics: googleAnalytics:
# paginate specifies the maximum number of posts displayed on the home page. # paginate specifies the maximum number of posts displayed on the home page.
paginate: 12 paginate: 12
@ -27,7 +27,7 @@ languages:
# author specifies your name, a slogon and your brief self-introduction. # author specifies your name, a slogon and your brief self-introduction.
author: author:
name: Mivinci name: X
status: Am currently living on Earth 🌍 status: Am currently living on Earth 🌍
description: | description: |
This is Minima, a clean and minimal Hugo theme porting from This is Minima, a clean and minimal Hugo theme porting from