website/app/globals.css
2026-11-16 14:17:29 -08:00

139 lines
2.4 KiB
CSS

@font-face {
font-family: "Ubuntu";
font-style: normal;
font-weight: normal;
src: url("../public/font/Ubuntu-Regular.ttf");
}
@font-face {
font-family: "Ubuntu";
font-style: italic;
font-weight: normal;
src: url("../public/font/Ubuntu-Italic.ttf");
}
@font-face {
font-family: "Ubuntu";
font-style: normal;
font-weight: bold;
src: url("../public/font/Ubuntu-Bold.ttf");
}
@font-face {
font-family: "Ubuntu";
font-style: italic;
font-weight: bold;
src: url("../public/font/Ubuntu-BoldItalic.ttf");
}
@font-face {
font-family: "Ubuntu";
font-style: normal;
font-weight: 300;
src: url("../public/font/Ubuntu-Light.ttf");
}
@font-face {
font-family: "Ubuntu";
font-style: italic;
font-weight: 300;
src: url("../public/font/Ubuntu-LightItalic.ttf");
}
@font-face {
font-family: "Ubuntu";
font-style: normal;
font-weight: 500;
src: url("../public/font/Ubuntu-Medium.ttf");
}
@font-face {
font-family: "Ubuntu";
font-style: italic;
font-weight: 500;
src: url("../public/font/Ubuntu-MediumItalic.ttf");
}
:root {
--color-theme: rgb(0, 180, 155); /* #00B49B */
--font-family: "Ubuntu", sans-serif;
--footer-height: 70px;
--header-height: 70px;
--transition: 0.25s;
/* light theme */
--background-primary: rgb(255, 255, 255); /* #FFFFFF */
--box-shadow: 0 0 3px rgb(230, 230, 230); /* #C8C8C8 */
--box-shadow-color: rgb(230, 230, 230); /* #C8C8C8 */
--color-text: rgb(25, 25, 25); /* #191919 */
}
.dark-theme {
--background-primary: rgb(25, 25, 25); /* #191919 */
--box-shadow: 0 0 3px rgb(75, 75, 75); /* #4B4B4B */
--box-shadow-color: rgb(75, 75, 75); /* #4B4B4B */
--color-text: rgb(255, 255, 255); /* #FFFFFF */
}
* {
margin: 0;
padding: 0;
}
html {
cursor: default;
}
body {
font-family: var(--font-family);
font-weight: 300;
overflow-x: hidden;
}
main {
color: var(--color-text);
}
h1,
h2,
h3,
h4,
h5 {
font-weight: 300;
}
p,
li {
line-height: 1.75;
}
a,
a:active {
color: var(--color-theme);
text-decoration: none;
transition: var(--transition);
}
a:hover {
opacity: 0.5;
}
button {
border: none;
font-size: 1em;
opacity: 1;
outline: none;
transition: var(--transition);
}
button:hover {
cursor: pointer;
opacity: 0.75;
}
hr {
border: 1px solid var(--box-shadow-color);
border-bottom-width: 0;
box-shadow: 0 0 1px var(--box-shadow-color);
opacity: 0.5;
}