Вынес цвета в отдельный файл

This commit is contained in:
Ifraim Solomonov committed 2024-02-28 15:32:04 +03:00
1 parent bec4d41ea9
commit d3ab3ce6ef
9 files changed
+55 -30

No files matched your search

@@ -1,3 +1,5 @@
@import "../../../../assets/styles/theme.scss";
.labs {
.row {
display: flex;
@@ -13,12 +15,9 @@
position: relative;
border-radius: 8px;
border-width: 1px;
border-style: solid;
border-color: #D9D9D9;
color: white;
background: black;
color: $text-secondary;
background: $bg-card-lab;
.image {
position: absolute;
@@ -17,7 +17,6 @@
height: 100%;
aspect-ratio: 1;
border-radius: 100%;
background: #D9D9D9;
.logo {
width: 100%;
@@ -1,3 +1,5 @@
@import "../../../../assets/styles/theme.scss";
.projects {
.row {
@@ -38,9 +40,9 @@
font-size: 20px;
font-weight: 500;
line-height: 24px;
color: #767676;
color: $text-card-project;
background-color: rgba(255, 255, 255, 0.75);
background-color: $text-card-project-bg;
}
}
}
+14 -11
View File
@@ -1,7 +1,4 @@
$primary-bg: #343434;
$secondary-bg: white;
$primary-text: white;
$btn-dark: #585858;
@import "../../assets/styles/theme.scss";
#page {
margin-top: calc(60px + 2em);
@@ -13,9 +10,9 @@ $btn-dark: #585858;
display: flex;
flex-direction: column;
color: $primary-text;
color: $text-secondary;
background-image: url(/assets/images/car.jpeg);
background-color: rgba(0, 0, 0, .75);
background-color: $bg-image;
background-blend-mode: multiply;
background-position: center;
background-size: cover;
@@ -37,7 +34,7 @@ $btn-dark: #585858;
}
.content {
background: $secondary-bg;
background: $bg-primary;
.block {
margin: 0 10% 32px;
@@ -61,7 +58,7 @@ $btn-dark: #585858;
font-weight: 400;
line-height: 29px;
text-align: right;
color: black;
color: $text-primary;
}
}
}
@@ -78,8 +75,14 @@ $btn-dark: #585858;
font-weight: 600;
line-height: 24px;
color: white;
background-color: $btn-dark;
color: $btn-primary-text;
background: $btn-primary-bg;
background-size: 200%;
transition: .5s;
}
.btn:hover {
background-position: 100%;
}
.block .heading a,
@@ -101,7 +104,7 @@ $btn-dark: #585858;
}
.block .heading a::after {
background: black;
background: $text-primary;
}
.block .heading a:hover:after,