Refactor styles and components for improved UI consistency
- Updated login page layout by removing unnecessary classes. - Redesigned 404 not found page with new layout and styles. - Enhanced public pages with consistent font styling and hover effects. - Improved ranking page header styling for better readability. - Updated rules page with consistent font and link styles. - Enhanced statistics page header styling. - Refined global CSS variables for better theme consistency. - Updated button styles for improved interaction feedback. - Enhanced table styles for better readability and interaction. - Updated Tailwind configuration to include new font families.
This commit is contained in:
@@ -5,6 +5,7 @@ import { SEO } from "astro-seo";
|
||||
import { ClientRouter } from "astro:transitions";
|
||||
const { title, description, clientSideRouter = true, autoDarkMode = true } = Astro.props.frontmatter || Astro.props;
|
||||
import "../../public/fonts/roboto/roboto.css";
|
||||
import "../../public/fonts/barlow-condensed/barlow-condensed.css";
|
||||
---
|
||||
|
||||
<html lang={astroI18n.locale} class="dark">
|
||||
@@ -44,7 +45,7 @@ import "../../public/fonts/roboto/roboto.css";
|
||||
|
||||
{clientSideRouter && <ClientRouter />}
|
||||
</head>
|
||||
<body class="dark:bg-zinc-800">
|
||||
<body>
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
@@ -54,5 +55,11 @@ import "../../public/fonts/roboto/roboto.css";
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
background-color: #080808;
|
||||
color: #f5f5f5;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: "Barlow Condensed", sans-serif;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user