bgenc.net/src/app.scss

99 lines
1.2 KiB
SCSS
Raw Normal View History

@import './vars';
2023-11-18 11:09:07 -06:00
html {
2024-05-03 00:13:12 -05:00
--animation-speed: 0.2s;
--animation-type: ease-in-out;
2023-12-23 13:13:16 -06:00
--z-index-modal: 100;
--clip-path: polygon(0% 0%, 75% 0%, 100% 100%, 25% 100%);
background-color: $color-bg;
color: $color-text;
min-width: $min-w-supported;
2023-11-18 11:09:07 -06:00
}
/* Reset */
2024-05-03 23:18:39 -05:00
body {
font-size: 16px;
}
2023-12-23 13:13:16 -06:00
*,
*::before,
*::after {
box-sizing: border-box;
2023-11-18 11:09:07 -06:00
}
* {
2023-12-23 13:13:16 -06:00
margin: 0;
padding: 0;
2023-11-18 11:09:07 -06:00
}
body {
2023-12-23 13:13:16 -06:00
line-height: 1.5;
-webkit-font-smoothing: antialiased;
font-family:
-apple-system,
BlinkMacSystemFont,
avenir next,
avenir,
segoe ui,
helvetica neue,
helvetica,
Cantarell,
Ubuntu,
roboto,
noto,
arial,
sans-serif;
2023-11-18 11:09:07 -06:00
}
2023-12-23 13:13:16 -06:00
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
height: auto;
2023-11-18 11:09:07 -06:00
}
button {
background: none;
border: none;
cursor: pointer;
}
2023-12-23 13:13:16 -06:00
input,
button,
textarea,
select {
font: inherit;
2023-11-18 11:09:07 -06:00
}
2023-12-23 13:13:16 -06:00
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
2023-11-18 11:09:07 -06:00
}
body {
2024-05-11 22:12:35 -05:00
display: flex;
2023-12-23 13:13:16 -06:00
min-height: 100vh;
flex-direction: column;
}
2024-05-09 22:33:58 -05:00
/* Pagefind UI */
.pagefind-ui {
--pagefind-ui-border-radius: 0;
--pagefind-ui-image-border-radius: 0;
--pagefind-ui-font: inherit;
.pagefind-ui__drawer {
position: absolute;
z-index: var(--z-index-modal);
background-color: $color-bg;
box-shadow: $shadow-medium;
2024-05-09 22:33:58 -05:00
padding: 2rem;
border-top: 0;
}
}