Files
btrc-hub/frontend/src/index.css
T
2026-04-11 16:58:41 +09:00

113 lines
1.5 KiB
CSS

@import "@fontsource-variable/noto-sans-jp";
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base
{
body
{
@apply overflow-x-clip;
}
a
{
@apply text-blue-700 dark:text-blue-300;
}
a:hover
{
@apply text-blue-500 dark:text-blue-100;
}
}
:root
{
font-family: "Noto Sans JP Variable", system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a
{
font-weight: 500;
text-decoration: inherit;
}
body
{
margin: 0;
min-width: 320px;
}
#root
{
min-height: 100dvh;
}
h1
{
font-size: 3.2em;
line-height: 1.1;
}
button
{
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover
{
border-color: #646cff;
}
button:focus,
button:focus-visible
{
outline: 4px auto -webkit-focus-ring-color;
}
@media (prefers-color-scheme: light)
{
:root
{
color: #213547;
background-color: #ffffff;
}
a:hover
{
color: #747bff;
}
button
{
background-color: #f9f9f9;
}
}
@keyframes wiki-blink
{
0%, 100% { color: #dc2626; }
50% { color: #2563eb; }
}
@keyframes wiki-blink-dark
{
0%, 100% { color: #f87171; }
50% { color: #60a5fa; }
}