forked from sarahbawabe/cs1300-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
115 lines (97 loc) · 2.11 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/* Put your style information here! */
/* Put your style information here! */
/* Put your style information here! */
/* font-family: 'VT323', monospace; */
@import url('https://fonts.googleapis.com/css?family=VT323');
@import url('https://fonts.googleapis.com/css2?family=Epilogue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Epilogue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');
body {
font-family: 'Nunito Sans', sans-serif;
background-color: #f7f5ff;
color: #04002e;
font-size: 22px;
}
#h2 {
font-weight: 700;
font-size: 25px;
}
#h3 {
font-weight: 600;
}
a {
color: #04002ee1;
}
a:hover {
color: #241f5473;
}
.sidenav {
width: 150px;
position: fixed;
z-index: 1;
top: 20px;
left: 10px;
background: #04002e;
color: white;
overflow-x: hidden;
padding: 8px 0;
margin-left: 3%;
margin-top: 3%;
}
.sidenav a {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 20px;
color: #f7f5ff;
display: block;
}
.sidenav a:hover {
color: #f7f5ff;
background-color: #241f54;
}
.sidenav a.active {
color: #04002e;
background-color: lightsteelblue;
}
img {
width: 80%;
height: auto;
}
.inner {
padding-left: 3%;
padding-bottom: 3%;
}
.main {
margin-left: 140px; /* Same width as the sidebar + left position in px */
font-size: 28px; /* Increased text to enable scrolling */
padding: 0px 10px;
}
.content {
padding-left: 20%;
padding-right: 15%;
padding-top: 3%;
padding-bottom: 5%;
}
hr {
width: 100%;
}
@media screen and (max-width: 450px) {
body {
width:100vw;
}
.sidenav {
padding-top: 1%;
padding-left: 1%;
position: fixed;
}
.sidenav a {
font-size: 14px;
}
.content {
padding-left: 60%;
padding-right: 5%;
padding-top: 3%;
padding-bottom: 5%;
width: 120%;
}
}