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 */
.container {
max-width: var(--max-w);
}
.hidden {
display: none;
}
.overflow-x-auto {
overflow-x: auto;
}

View file

@ -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%;
@ -56,3 +48,4 @@ main p a {
transform: none;
}
}

View file

@ -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