Skip to content

Commit bcd70c5

Browse files
UPD Style.scss
1 parent 2759eb1 commit bcd70c5

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/styles.scss

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ html {
3333
scroll-behavior:smooth;
3434
}
3535

36+
body{
37+
display: flex;
38+
flex-direction: column;
39+
}
40+
3641
ul {
3742
list-style: none;
3843
}
@@ -42,29 +47,23 @@ a {
4247
}
4348

4449
footer{
45-
display: flex;
46-
flex-direction: column;
47-
width: 100%;
48-
height: 50px;
49-
justify-content: center;
50-
align-items: center;
5150
text-align: center;
52-
gap: 2em;
5351
padding: 3em 0;
52+
background-color: #8C43E6;
5453
p{ color: rgb(197, 197, 197); }
5554
a{ color: #fffafa; }
5655
}
5756

5857
.container {
58+
flex: 1 0 auto;
5959
width: 90%;
60-
min-height: calc(100vh - 70px);
61-
height:auto;
60+
height: auto;
61+
min-height: 100vh;
6262
margin: 0 auto;
6363
}
6464

65-
6665
section {
67-
height: 100vh;
66+
height: 100%;
6867
}
6968

7069
/* HEADER */

0 commit comments

Comments
 (0)