79 lines
1.2 KiB
CSS
79 lines
1.2 KiB
CSS
@import "tailwindcss";
|
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
|
|
@theme {
|
|
--color-neutral-825: oklch(0.253 0 0);
|
|
--color-neutral-850: oklch(0.237 0 0);
|
|
}
|
|
|
|
|
|
:root.dark {
|
|
--text-color: #FFFFFFDE;
|
|
--bg-color: var(--color-neutral-825);
|
|
color-scheme: dark;
|
|
}
|
|
|
|
:root.light {
|
|
--text-color: #213547;
|
|
--bg-color: #FFFFFF;
|
|
}
|
|
|
|
:root {
|
|
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
a:hover{
|
|
color: var(--color-blue-300);
|
|
}
|
|
|
|
a.active {
|
|
color: var(--color-blue-400);
|
|
}
|
|
|
|
body {
|
|
place-items: center;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
max-width: var(--breakpoint-2xl);
|
|
|
|
margin-inline: auto;
|
|
padding-top: 90px;
|
|
padding-inline: 1rem;
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
button:disabled {
|
|
cursor: default;
|
|
}
|
|
|
|
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.navContents {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
max-width: var(--breakpoint-2xl);
|
|
|
|
margin-inline: auto;
|
|
padding: 1rem;
|
|
}
|