mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
chore(deps): dependency bumps + related refactoring (fixes #19)
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
@use "./theme" as *;
|
||||
|
||||
:root
|
||||
{
|
||||
scroll-behavior: smooth;
|
||||
|
||||
@media (prefers-color-scheme: light)
|
||||
{
|
||||
@include lightTheme;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark)
|
||||
{
|
||||
@include darkTheme;
|
||||
}
|
||||
}
|
||||
|
||||
*
|
||||
{
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
@include flex(column);
|
||||
@include body1;
|
||||
|
||||
min-width: 300px;
|
||||
min-height: 100vh;
|
||||
|
||||
color-scheme: light dark;
|
||||
|
||||
max-width: 100vw;
|
||||
overflow-x: hidden;
|
||||
|
||||
font-synthesis: none;
|
||||
text-rendering: geometricPrecision;
|
||||
|
||||
background-color: $colorNeutralBackground1;
|
||||
color: $colorNeutralForeground1;
|
||||
|
||||
> main
|
||||
{
|
||||
@include maxCenter;
|
||||
flex-grow: 1;
|
||||
padding: $spacingXXL;
|
||||
margin-top: 56px;
|
||||
}
|
||||
|
||||
::selection
|
||||
{
|
||||
background-color: $colorNeutralBackgroundInverted;
|
||||
color: $colorNeutralForegroundInverted;
|
||||
}
|
||||
|
||||
[hidden]
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
text-decoration: none;
|
||||
color: $colorBrandForeground1;
|
||||
|
||||
background-image: linear-gradient($colorNeutralBackgroundInverted, $colorNeutralBackgroundInverted);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 0% 100%;
|
||||
|
||||
transition-property: background-size, color;
|
||||
transition-duration: $durationFaster;
|
||||
transition-timing-function: $curveEasyEaseMax;
|
||||
|
||||
&:hover,
|
||||
&:focus-visible
|
||||
{
|
||||
background-size: 100% 100%;
|
||||
color: $colorNeutralForegroundInverted;
|
||||
}
|
||||
}
|
||||
|
||||
input,
|
||||
textarea
|
||||
{
|
||||
@include formBase;
|
||||
}
|
||||
|
||||
// [SPECIAL] case for 404 page
|
||||
main.not-found + footer > .illustration
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px)
|
||||
{
|
||||
body:has(.cookie-banner)
|
||||
{
|
||||
padding-bottom: 110px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user