hugo-theme-minima/assets/css/main.scss

56 lines
1 KiB
SCSS
Raw Normal View History

2022-11-08 11:07:48 +01:00
@import "./pre.scss";
@import "./theme.scss";
@import "./atom.scss";
@import "./md.scss";
@import "./syntax.scss";
:root {
--max-w: 640px;
--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;
}
html {
font-size: 16px;
-webkit-text-size-adjust: 100%;
-ms-overflow-style: -ms-autohiding-scrollbar;
box-sizing: border-box;
border-collapse: collapse;
}
body {
margin: 0 16px;
font-family: var(--font);
font-weight: 400;
background-color: var(--back);
color: var(--text);
transition-property: background-color, border-color, color;
transition-duration: 0.5s;
}
main {
animation: showup 0.7s;
}
main p a {
color: var(--prime);
}
2022-11-09 13:51:50 +01:00
main p a:hover {
text-decoration: underline;
}
2022-11-08 11:07:48 +01:00
@keyframes showup {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: none;
}
2022-11-09 11:57:42 +01:00
}