bgenc.net/src/app.css

123 lines
2.8 KiB
CSS
Raw Normal View History

2023-11-18 11:09:07 -06:00
html {
2023-12-23 13:13:16 -06:00
--color-primary-h: 49;
--color-primary-s: 79%;
--color-primary-l: 53%;
--color-primary: hsl(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l));
--color-secondary-h: 27;
--color-secondary-s: 96%;
--color-secondary-l: 48%;
--color-secondary: hsl(
var(--color-secondary-h),
var(--color-secondary-s),
var(--color-secondary-l)
);
--color-tertiary-h: 191;
--color-tertiary-s: 55%;
--color-tertiary-l: 53%;
--color-tertiary: hsl(var(--color-tertiary-h), var(--color-tertiary-s), var(--color-tertiary-l));
--color-quaternary-h: 241;
--color-quaternary-s: 48%;
--color-quaternary-l: 41%;
--color-quaternary: hsl(
var(--color-quaternary-h),
var(--color-quaternary-s),
var(--color-quaternary-l)
);
--color-quinary-h: 237;
--color-quinary-s: 97%;
--color-quinary-l: 27%;
--color-quinary: hsl(var(--color-quinary-h), var(--color-quinary-s), var(--color-quinary-l));
2023-11-18 11:09:07 -06:00
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
2023-12-23 13:13:16 -06:00
--size-container: 640px;
--size-modal: 480px;
2023-11-18 11:09:07 -06:00
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;
background-color: var(--color-bg);
color: var(--color-text);
2023-11-18 11:09:07 -06:00
}
/* Reset */
2023-12-23 13:13:16 -06:00
*,
*::before,
*::after {
box-sizing: border-box;
font-size: 16px;
2023-11-18 11:09:07 -06:00
}
* {
2023-12-23 13:13:16 -06:00
margin: 0;
padding: 0;
font-weight: normal;
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
}
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;
display: flex;
flex-direction: column;
}