-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
191 lines (164 loc) · 3.18 KB
/
main.css
File metadata and controls
191 lines (164 loc) · 3.18 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
/* Coder dojo Style sheet */
body {
/* padding: 20px; */
font-family: "Libre Franklin", "Lato", sans-serif;
background: white;
}
.header{
padding: 1px;
font-size: 20px;
text-align: center;
color: white;
font-family: "Libre Franklin", sans-serif;
background-color: #642580;
margin-bottom: 5px;
}
/* Nav bar - respnsive */
.topnav {
overflow: hidden;
background-color: #642580;
margin-bottom: 5px;
}
.topnav a {
float: left;
display: block;
font-family: "Libre Franklin", sans-serif;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 20px;
}
.topnav a:hover {
background-color: #ED684A;
color: black;
}
.topnav a.active {
background-color: #41BAC1;
color: white;
}
.topnav .icon {
display: none;
}
@media screen and (max-width: 600px) {
.topnav a:not(:first-child) {display: none;}
.topnav a.icon {
float: right;
display: block;
}
}
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}
/* SIDE NAVIGATION */
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #642580;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: white;
display: block;
transition: 0.3s;
}
.sidenav a:hover {
color: #ED684A;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
/* create two equal columns that float next to each other */
.content{
/* box-sizing: border-box;
border: 1px solid black; */
/* background-color: #642580; */
padding: 5px;
}
/* left column */
.leftColumn{
/* box-sizing: border-box;
border: 1px solid black;
background-color: white; */
float: left;
width: 35%;
padding: 10px;
margin-right: 5px;
/* margin-top: 10px; */
/* margin-right: 10px; */
}
/* right column */
.rightColumn{
/* box-sizing: border-box;
border: 1px solid black;
background-color: white; */
float: right;
width: 65%;
padding: 10px;
/* padding: 20px; */
/* padding-top: 5px; */
/* margin-top: 10px; */
/* margin-left: 10px; */
}
/* flex row - keeps website inline */
.row {
display: flex;
min-height: 50vh;
flex-direction: row;
justify-content: space-evenly;
}
/* a franme for an image */
.imgae_frame {
width: 100%;
height: 100%;
}
img {
padding-top: 20px;
width: 100%;
height: 50%;
}
/* a franme for an image */
.imgae_frame {
width: 100%;
height: 100%;
position: relative;
}
img {
width: 100%;
height: 50%;
}
/* footer */
#footer{
color: black;
font-family: "Libre Franklin", sans-serif;
padding: 20px;
text-align: center;
margin-top: 5px;
}