Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit f7c7ea4

Browse files
author
Artem Netsvetaev
committed
layout improves
1 parent 9ed766b commit f7c7ea4

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

src/scss/styles.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@
1212
supported by Chrome, Edge, Opera and Firefox */
1313
}
1414

15+
:root {
16+
--toolbar-height: 56px;
17+
--navbar-height: var(--toolbar-height);
18+
}
19+
1520
.layout-main {
1621
min-height: 100vh;
17-
padding: 56px 0;
22+
padding: calc(var(--toolbar-height) + 10px) 8px;
23+
width: min(1200px, 100%);
24+
margin: 0 auto;
1825
}
1926

2027
.layout-toolbar {
@@ -30,3 +37,7 @@
3037
width: 100%;
3138
box-shadow: 0 -2px 4px rgba($color: #000000, $alpha: 0.5);
3239
}
40+
41+
a {
42+
text-decoration: none;
43+
}

0 commit comments

Comments
 (0)