style: Improve overall app component paddings and margins and rollback vite to 5.1.6

This commit is contained in:
Prayag Prajapati committed 2024-03-25 11:30:45 +05:30
1 parent 1f724f027c
commit 08e633524a
27 files changed
+357 -335

No files matched your search

+20 -8
View File
@@ -53,7 +53,7 @@ body {
top: -80px;
left: -80px;
z-index: -2;
filter: blur(160px) saturate(130%) contrast(170%);
filter: blur(160px) saturate(140%) contrast(200%);
&-container {
position: fixed;
width: 100vw;
@@ -61,7 +61,7 @@ body {
left: 0;
top: 0;
z-index: -1;
filter: brightness(0.3);
filter: brightness(0.5);
}
}
@@ -126,17 +126,13 @@ h1 {
width: 100%;
box-sizing: border-box;
min-height: 100vh;
padding: 1.6em;
padding: $page-margin;
scrollbar-gutter: stable;
&.padded-top {
padding-top: 4.4em;
}
}
.home {
padding-left: 0 !important;
padding-right: 14px !important;
}
.empty {
display: none;
}
@@ -272,4 +268,20 @@ h1 {
aspect-ratio: 1;
border-radius: 10px;
background: white;
}
.react-multi-carousel-list{
overflow: visible !important;
}
.react-multi-carousel-item{
filter: brightness(0.4);
transition: filter 500ms;
&.react-multi-carousel-item--active{
filter: brightness(1);
}
}
@function neg($var) {
@return $var * -1;
}
+4 -2
View File
@@ -21,7 +21,7 @@ $clr-gradient-dark: linear-gradient(
$clr-secondary-dark
);
$border-radius-default: 10px;
$border-radius-default: 6px;
$border-radius_04: 4px;
$transition-time-default: 250ms;
@@ -30,4 +30,6 @@ $transition-time-fast: 150ms;
$shadow-card: 0 4px 12px rgb(0 0 0 / 0.4);
$shadow-card-image: 0 2px 8px rgb(0 0 0 / 0.25);
$clr-background-card-icon: linear-gradient(45deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.2))
$clr-background-card-icon: linear-gradient(45deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.2));
$page-margin: 3.2em;