mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 06:09:45 +00:00
Вынес цвета в отдельный файл
This commit is contained in:
1 parent
bec4d41ea9
commit
d3ab3ce6ef
9 files changed
+55
-30
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user