Skip to content

Commit 3b82cf0

Browse files
committed
🎓 Добавил изометрию в шапку
1 parent d764d7e commit 3b82cf0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/css/header.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ header {
44
text-align: center;
55

66
background-color: var(--brand-color);
7+
background-image:
8+
repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 0, transparent 41px),
9+
repeating-linear-gradient(-150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 0, transparent 41px);
710

811
@media (--viewport-medium) {
912
padding-top: 4rem;

app/css/variables.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--base-px-size: 16px;
33
--large-px-size: calc(var(--base-px-size) * 1.25);
44

5-
--brand-color: #2e3191;
5+
--brand-color: #312785;
66
--brand-color-dark: #2d2d44;
77

88
--dark-color: #5a5a5a;

0 commit comments

Comments
 (0)