Skip to content

Commit d39b92e

Browse files
committed
Updates from website repo
1 parent 2996d3e commit d39b92e

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

css/main.css

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,28 @@ body {
77
https://www.w3schools.com/howto/howto_css_fixed_sidebar.asp
88
*/
99

10-
/* Style main page content */
10+
/* Main page content */
1111
.content {
12-
margin-left: 15%; /* Same as the width... */
13-
padding-left: 1%; /* ... plus left padding of the sidebar */
12+
margin-left: 160px; /* Same as the sidenav width... */
13+
padding-left: 10px; /* ... plus its left padding */
1414
}
1515

16-
/* The sidebar menu */
16+
/* The sidenav menu */
1717
.sidenav {
1818
height: 100%; /* Full-height: remove this if you want "auto" height */
19-
width: 15%; /* Set the width of the sidebar */
19+
width: 160px; /* Set the width of the sidebar */
20+
padding-left: 10px;
2021
position: fixed; /* Fixed Sidebar (stay in place on scroll) */
2122
z-index: 1; /* Stay on top */
2223
top: 0; /* Stay at the top */
2324
left: 0;
2425
background-color: white;
2526
overflow-x: hidden; /* Disable horizontal scroll */
26-
padding-top: 0px;
27-
padding-left: 1%;
2827
}
2928

30-
/* The navigation menu links & heading */
29+
/* The sidenav links & heading */
3130
.sidenav a, h2 {
32-
padding: 6px 8px 6px 16px;
31+
padding: 6px 8px 6px 16px; /* top-right-bottom-left */
3332
text-decoration: none;
3433
display: block;
3534
}

0 commit comments

Comments
 (0)