Skip to content

Commit 0604014

Browse files
Merge pull request #6 from multividas/FEATURE1
fixing-header-main-footer-css
2 parents 742a0f0 + d9c854c commit 0604014

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

docs/[email protected]

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/_footer.scss

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33

44
// Footer Styles
55
footer {
6+
margin: 0;
7+
padding: 0;
68
color: variables.$text-color-5;
79
background-color: variables.$footer-background-color;
810

911
.footer__container {
1012
@extend .container !optional;
11-
padding: 40px 20px;
13+
padding: variables.$base-padding variables.$base-padding;
1214
}
1315

1416
.footer__section {
@@ -18,7 +20,7 @@ footer {
1820
.footer__section-title {
1921
font-weight: bold;
2022
font-size: 1.2em;
21-
margin-bottom: 20px;
23+
margin: 20px auto;
2224
color: #344854;
2325
}
2426

@@ -72,8 +74,6 @@ footer {
7274
}
7375

7476
@media (max-width: variables.$breakpoint-mobile) {
75-
padding: 30px 0;
76-
7777
.footer__container {
7878
margin: 0;
7979
padding: 0;
@@ -94,12 +94,26 @@ footer {
9494
}
9595
}
9696
}
97+
98+
.footer__conditions_container {
99+
text-align: center;
100+
ul.footer__conditions_list {
101+
display: block;
102+
}
103+
}
97104
}
98105

99106
@media (max-width: variables.$breakpoint-tablet) {
100107
.footer__section {
101108
text-align: center;
102109
}
110+
111+
.footer__conditions_container {
112+
text-align: center;
113+
ul.footer__conditions_list {
114+
display: block;
115+
}
116+
}
103117
}
104118

105119
@media (min-width: variables.$breakpoint-tablet) {

0 commit comments

Comments
 (0)