mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-10 17:01:33 +01:00
97 lines
1.7 KiB
CSS
97 lines
1.7 KiB
CSS
@import 'tailwindcss';
|
|
|
|
@config '../../tailwind.config.js';
|
|
|
|
@theme {
|
|
--breakpoint-3xl: 112rem;
|
|
}
|
|
|
|
/*
|
|
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
|
so we've added these compatibility styles to make sure everything still
|
|
looks the same as it did with Tailwind CSS v3.
|
|
|
|
If we ever want to remove these styles, we need to add an explicit border
|
|
color utility to any element that depends on these defaults.
|
|
*/
|
|
@layer base {
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
border-color: var(--color-gray-200, currentColor);
|
|
}
|
|
}
|
|
|
|
#__next {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
font-family: Manrope, "Manrope-Fallback", Arial, sans-serif;
|
|
overflow: hidden;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
letter-spacing: 0.1px;
|
|
}
|
|
|
|
#page_wrapper {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.light {
|
|
--bg-color: var(--color-50);
|
|
--scrollbar-thumb: rgb(var(--color-300));
|
|
--scrollbar-track: rgb(var(--color-200));
|
|
}
|
|
|
|
.dark {
|
|
--bg-color: var(--color-800);
|
|
--scrollbar-thumb: rgb(var(--color-600));
|
|
--scrollbar-track: rgb(var(--color-700));
|
|
}
|
|
|
|
#page_container {
|
|
overflow: auto;
|
|
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 0.75em;
|
|
}
|
|
|
|
dialog ::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background-color: var(--scrollbar-track);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: var(--scrollbar-thumb);
|
|
border-radius: 0.25em;
|
|
}
|
|
|
|
::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.chart + .chart {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.service-container + .chart {
|
|
margin-top: 2.5rem;
|
|
margin-bottom: .5rem;
|
|
}
|