Skip to content

Commit f3ce544

Browse files
committed
footer
1 parent 1fd459c commit f3ce544

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

src/App.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
.CWSPApp {
2+
position: relative;
3+
min-height: 100%;
4+
padding-bottom: 12rem;
5+
}
6+
17
.CWSPApp header {
28
font-family: Oswald, Roboto, sans-serif;
39
font-size: 120%;

src/Footer.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#footer {
22
background: #1d1d1b;
33
color: var(--white);
4-
margin-top: 1rem;
54
padding: 2rem 0;
5+
position: absolute;
6+
right: 0;
7+
bottom: 0;
8+
left: 0;
69
}
710

811
#footer .text {

src/index.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1+
html,
2+
body,
3+
#root {
4+
height: 100%;
5+
box-sizing: border-box;
6+
}
7+
18
body {
29
margin: 0;
310
padding: 0;
4-
/* font-family: "Helvetica Neue,Segoe UI,Helvetica,Arial,sans-serif"; */
511
--primary: #f1a10a;
612
--white: #fff;
713
}
814

15+
*,
16+
*:before,
17+
*:after {
18+
box-sizing: inherit;
19+
}
20+
921
.pull-right {
1022
float: right!important;
1123
}

0 commit comments

Comments
 (0)