2024-05-07 23:33:10 -05:00
|
|
|
@import './vars';
|
2023-11-18 11:09:07 -06:00
|
|
|
|
2024-05-07 23:33:10 -05:00
|
|
|
html {
|
2023-12-23 13:13:16 -06:00
|
|
|
--color-text-h: 0;
|
|
|
|
--color-text-s: 0%;
|
|
|
|
--color-text-l: 0%;
|
|
|
|
--color-text: hsl(var(--color-text-h), var(--color-text-s), var(--color-text-l));
|
|
|
|
--color-bg-h: 0;
|
|
|
|
--color-bg-s: 0%;
|
|
|
|
--color-bg-l: 100%;
|
|
|
|
--color-bg: hsl(var(--color-bg-h), var(--color-bg-s), var(--color-bg-l));
|
2023-11-18 11:09:07 -06:00
|
|
|
|
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
|
|
|
--shadow-luminosity: calc(100% - var(--color-bg-l));
|
|
|
|
--shadow-small: 0.5px 1px 1px
|
|
|
|
hsl(var(--color-bg-h), var(--color-bg-s), var(--shadow-luminosity) / 0.7);
|
|
|
|
--shadow-medium: 1px 2px 2px
|
|
|
|
hsl(var(--color-bg-h), var(--color-bg-s), var(--shadow-luminosity) / 0.333),
|
|
|
|
2px 4px 4px hsl(var(--color-bg-h), var(--color-bg-s), var(--shadow-luminosity) / 0.333),
|
|
|
|
3px 6px 6px hsl(var(--color-bg-h), var(--color-bg-s), var(--shadow-luminosity) / 0.333);
|
|
|
|
--shadow-large: 1px 2px 2px
|
|
|
|
hsl(var(--color-bg-h) var(--color-bg-s) var(--shadow-luminosity) / 0.2),
|
|
|
|
2px 4px 4px hsl(var(--color-bg-h) var(--color-bg-s) var(--shadow-luminosity) / 0.2),
|
|
|
|
4px 8px 8px hsl(var(--color-bg-h) var(--color-bg-s) var(--shadow-luminosity) / 0.2),
|
|
|
|
8px 16px 16px hsl(var(--color-bg-h) var(--color-bg-s) var(--shadow-luminosity) / 0.2),
|
|
|
|
16px 32px 32px hsl(var(--color-bg-h) var(--color-bg-s) var(--shadow-luminosity) / 0.2);
|
|
|
|
|
|
|
|
--z-index-modal: 100;
|
|
|
|
|
2024-05-05 23:53:42 -05:00
|
|
|
--clip-path: polygon(0% 0%, 75% 0%, 100% 100%, 25% 100%);
|
|
|
|
--clip-path-button: polygon(0px 0px, calc(100% - 10px) 0px, 100% 40px, 10px 40px);
|
|
|
|
|
2023-12-23 13:13:16 -06:00
|
|
|
background-color: var(--color-bg);
|
|
|
|
color: var(--color-text);
|
2024-05-07 23:33:10 -05:00
|
|
|
|
|
|
|
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
|
|
|
}
|
2024-05-05 23:53:42 -05: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 {
|
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: var(--color-bg);
|
|
|
|
box-shadow: var(--shadow-medium);
|
|
|
|
padding: 2rem;
|
|
|
|
border: $border;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|