mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
94 lines
1.5 KiB
SCSS
94 lines
1.5 KiB
SCSS
@import "../../lib/normalize/normalize";
|
|
|
|
html {
|
|
font-family: $global-font-family;
|
|
font-weight: $global-font-weight;
|
|
font-display: swap;
|
|
font-size: $global-font-size;
|
|
line-height: $global-line-height;
|
|
width: 100%;
|
|
scroll-behavior: smooth;
|
|
overflow: overlay;
|
|
}
|
|
|
|
@media screen and (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
}
|
|
|
|
::selection {
|
|
background-color: $selection-color;
|
|
|
|
[data-theme='dark'] & {
|
|
background-color: $selection-color-dark;
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-color: var(#{$rootPrefix}global-background-color);
|
|
color: var(#{$rootPrefix}global-font-color);
|
|
@include overflow-wrap(break-word);
|
|
}
|
|
|
|
iframe {
|
|
border: 0;
|
|
@include border-radius($global-border-radius);
|
|
}
|
|
|
|
[role='button'] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
summary {
|
|
cursor: pointer;
|
|
}
|
|
|
|
abbr[title] {
|
|
cursor: help;
|
|
text-decoration-skip-ink: none;
|
|
}
|
|
|
|
img {
|
|
object-fit: cover;
|
|
}
|
|
|
|
img,video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
dialog {
|
|
padding: 0;
|
|
}
|
|
|
|
details {
|
|
&.center {
|
|
summary {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
%code {
|
|
padding: 0.2em 0.4em;
|
|
margin: 0;
|
|
font-size: $code-font-size;
|
|
line-height: $code-font-size;
|
|
font-family: $code-font-family;
|
|
color: $code-color;
|
|
background-color: var(#{$rootPrefix}code-inline-background-color);
|
|
text-decoration: inherit;
|
|
@include border-radius($global-border-radius);
|
|
@include overflow-wrap(break-word);
|
|
@include line-break(auto);
|
|
|
|
[data-theme='dark'] & {
|
|
color: $code-color-dark;
|
|
}
|
|
}
|
|
|
|
@include link(true, true);
|
|
|
|
@import '../_widgets';
|