Skip to content

Commit 1492a4e

Browse files
committed
change padding to footer, main, side, and navbar
1 parent 378777c commit 1492a4e

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
position: sticky;
4242
position: -webkit-sticky;
4343
top: 0;
44+
padding: 5% 15%;
4445
}
4546

4647
/* Style the navigation bar links */
@@ -85,15 +86,15 @@
8586
-ms-flex: 30%; /* IE10 */
8687
flex: 30%;
8788
background-color: #f1f1f1;
88-
padding: 20px;
89+
padding: 5% 15%;
8990
}
9091

9192
/* Main column */
9293
.main {
9394
-ms-flex: 70%; /* IE10 */
9495
flex: 70%;
9596
background-color: white;
96-
padding: 20px;
97+
padding: 5% 15%;
9798
}
9899

99100
/* Fake image, just for this example */
@@ -105,7 +106,7 @@
105106

106107
/* Footer */
107108
.footer {
108-
padding: 20px;
109+
padding: 5% 15%;
109110
text-align: center;
110111
background: #ddd;
111112
font-weight: 300;

research.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
position: sticky;
4242
position: -webkit-sticky;
4343
top: 0;
44+
padding: 5% 15%;
4445
}
4546

4647
/* Style the navigation bar links */
@@ -85,15 +86,15 @@
8586
-ms-flex: 30%; /* IE10 */
8687
flex: 30%;
8788
background-color: #f1f1f1;
88-
padding: 20px;
89+
padding: 5% 15%;
8990
}
9091

9192
/* Main column */
9293
.main {
9394
-ms-flex: 70%; /* IE10 */
9495
flex: 70%;
9596
background-color: white;
96-
padding: 20px;
97+
padding: 5% 15%;
9798
}
9899

99100
/* Fake image, just for this example */
@@ -105,7 +106,7 @@
105106

106107
/* Footer */
107108
.footer {
108-
padding: 20px;
109+
padding: 5% 15%;
109110
text-align: center;
110111
background: #ddd;
111112
font-weight: 300;

teaching.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
position: sticky;
4242
position: -webkit-sticky;
4343
top: 0;
44+
padding: 5% 15%;
4445
}
4546

4647
/* Style the navigation bar links */
@@ -85,15 +86,15 @@
8586
-ms-flex: 30%; /* IE10 */
8687
flex: 30%;
8788
background-color: #f1f1f1;
88-
padding: 20px;
89+
padding: 5% 15%;
8990
}
9091

9192
/* Main column */
9293
.main {
9394
-ms-flex: 70%; /* IE10 */
9495
flex: 70%;
9596
background-color: white;
96-
padding: 20px;
97+
padding: 5% 15%;
9798
}
9899

99100
/* Fake image, just for this example */
@@ -105,7 +106,7 @@
105106

106107
/* Footer */
107108
.footer {
108-
padding: 20px;
109+
padding: 5% 15%;
109110
text-align: center;
110111
background: #ddd;
111112
font-weight: 300;

0 commit comments

Comments
 (0)