|
1 | 1 | * { |
2 | | - font-family: sans-serif; |
| 2 | + font-family: sans-serif; |
3 | 3 | } |
4 | 4 |
|
5 | 5 | header { |
6 | | - background-color: #211A1D; |
7 | | - color: #ffffff; |
8 | | - width: 100%; |
9 | | - padding: 20px; |
| 6 | + background-color: #211a1d; |
| 7 | + color: #ffffff; |
| 8 | + width: 100%; |
| 9 | + padding: 20px; |
10 | 10 | } |
11 | 11 |
|
12 | 12 | nav { |
13 | | - display: inline-block; |
14 | | - width: 100%; |
| 13 | + display: inline-block; |
| 14 | + width: 100%; |
15 | 15 | } |
16 | 16 |
|
17 | 17 | header ul { |
18 | | - margin: 20px 0 0 0; |
19 | | - padding: 0; |
| 18 | + margin: 20px 0 0 0; |
| 19 | + padding: 0; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | header ul li { |
23 | | - display: inline-block; |
24 | | - margin-right: 10px; |
| 23 | + display: inline-block; |
| 24 | + margin-right: 10px; |
25 | 25 | } |
26 | 26 |
|
27 | 27 | section { |
28 | | - padding: 5%; |
29 | | - background-color: #F8F0FB; |
| 28 | + padding: 5%; |
| 29 | + background-color: #f8f0fb; |
30 | 30 | } |
31 | 31 |
|
32 | 32 | img { |
33 | | - border: 5px solid #8075FF; |
| 33 | + border: 5px solid #8075ff; |
34 | 34 | } |
35 | 35 |
|
36 | | -h1, h2, h3, h4, h5 { |
37 | | - /*Purple*/ |
38 | | - color: #6320EE; |
39 | | - margin-bottom: 1em; |
| 36 | +h1, |
| 37 | +h2, |
| 38 | +h3, |
| 39 | +h4, |
| 40 | +h5 { |
| 41 | + /*Purple*/ |
| 42 | + color: #6320ee; |
| 43 | + margin-bottom: 1em; |
40 | 44 | } |
41 | 45 |
|
42 | 46 | h1 { |
43 | | - font-size: 250%; |
| 47 | + font-size: 250%; |
44 | 48 | } |
45 | 49 |
|
46 | 50 | h2 { |
47 | | - font-size: 175%; |
| 51 | + font-size: 175%; |
48 | 52 | } |
49 | 53 |
|
50 | 54 | h3 { |
51 | | - font-size: 150%; |
| 55 | + font-size: 150%; |
52 | 56 | } |
53 | 57 |
|
54 | 58 | button { |
55 | | - display: inline-block; |
56 | | - border-radius: 3px; |
57 | | - cursor: pointer; |
58 | | - padding: 10px 20px; |
59 | | - box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2); |
60 | | - background-color: #372772; |
61 | | - border: 2px solid black; |
62 | | - color: #fff; |
| 59 | + display: inline-block; |
| 60 | + border-radius: 3px; |
| 61 | + cursor: pointer; |
| 62 | + padding: 10px 20px; |
| 63 | + box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2); |
| 64 | + background-color: #372772; |
| 65 | + border: 2px solid black; |
| 66 | + color: #fff; |
63 | 67 | } |
64 | 68 |
|
65 | 69 | footer { |
66 | | - background-color: #211A1D; |
67 | | - color: #ffffff; |
68 | | - width: 100%; |
69 | | - padding: 20px; |
70 | | - display: flex; |
71 | | - justify-content: space-between; |
| 70 | + background-color: #211a1d; |
| 71 | + color: #ffffff; |
| 72 | + width: 100%; |
| 73 | + padding: 20px; |
| 74 | + display: flex; |
| 75 | + justify-content: space-between; |
72 | 76 | } |
73 | 77 |
|
74 | 78 | .introduction { |
75 | | - |
76 | 79 | } |
77 | 80 |
|
78 | 81 | #badge { |
79 | | - height: 120px; |
80 | | - width: 120px; |
81 | | - background-color: #bbb; |
82 | | - border-radius: 50%; |
83 | | - display: inline-block; |
84 | | - position: fixed; |
85 | | - bottom: 20px; |
86 | | - right: 20px; |
| 82 | + height: 120px; |
| 83 | + width: 120px; |
| 84 | + background-color: #bbb; |
| 85 | + border-radius: 50%; |
| 86 | + display: inline-block; |
| 87 | + position: fixed; |
| 88 | + bottom: 20px; |
| 89 | + right: 20px; |
87 | 90 |
|
88 | | - display: flex; |
89 | | - justify-content: center; |
90 | | - align-content: center; |
91 | | - flex-direction: column; |
| 91 | + display: flex; |
| 92 | + justify-content: center; |
| 93 | + align-content: center; |
| 94 | + flex-direction: column; |
92 | 95 | } |
93 | 96 |
|
94 | 97 | #badge:hover { |
95 | | - background-color: yellow; |
| 98 | + background-color: yellow; |
96 | 99 | } |
97 | 100 |
|
98 | 101 | #badge p { |
99 | | - text-align: center; |
100 | | - font-size: 125%; |
| 102 | + text-align: center; |
| 103 | + font-size: 125%; |
101 | 104 | } |
102 | 105 |
|
103 | 106 | .image-container img { |
104 | | - vertical-align: top; |
105 | | - border: 5px solid #747C92; |
| 107 | + vertical-align: top; |
| 108 | + border: 5px solid #747c92; |
106 | 109 | } |
107 | 110 |
|
108 | 111 | .image-container img:first-of-type { |
109 | | - vertical-align: bottom; |
| 112 | + vertical-align: bottom; |
110 | 113 | } |
111 | 114 |
|
112 | 115 | .tigers { |
113 | | - background-color: #0B3C49; |
114 | | - color: #F0E100; |
| 116 | + background-color: #0b3c49; |
| 117 | + color: #f0e100; |
115 | 118 | } |
116 | 119 |
|
117 | 120 | .giraffe { |
118 | | - background-color: #465775; |
119 | | - color: #56E39F; |
| 121 | + background-color: #465775; |
| 122 | + color: #56e39f; |
120 | 123 | } |
121 | 124 |
|
122 | 125 | .giraffe h2 { |
123 | | - color: #EF6F6C; |
| 126 | + color: #ef6f6c; |
124 | 127 | } |
125 | 128 |
|
126 | 129 | .card { |
127 | | - display: inline-block; |
128 | | - background-color: white; |
129 | | - padding: 20px; |
130 | | - margin: 10px; |
131 | | - width: 30%; |
132 | | - border: 1px solid black; |
133 | | - border-radius: 10px; |
| 130 | + display: inline-block; |
| 131 | + background-color: white; |
| 132 | + padding: 20px; |
| 133 | + margin: 10px; |
| 134 | + width: 30%; |
| 135 | + border: 1px solid black; |
| 136 | + border-radius: 10px; |
134 | 137 | } |
135 | 138 |
|
136 | 139 | .card h4 { |
137 | | - margin-bottom: 1em; |
| 140 | + margin-bottom: 1em; |
138 | 141 | } |
139 | 142 |
|
140 | 143 | .card a { |
141 | | - text-decoration: underline; |
142 | | - font-weight: bold; |
| 144 | + text-decoration: underline; |
| 145 | + font-weight: bold; |
143 | 146 | } |
144 | 147 |
|
145 | 148 | .card time { |
146 | | - opacity: 0.5; |
147 | | - display: inline-block; |
148 | | - margin-bottom: 10px; |
| 149 | + opacity: 0.5; |
| 150 | + display: inline-block; |
| 151 | + margin-bottom: 10px; |
149 | 152 | } |
150 | 153 |
|
151 | | - |
152 | | - |
153 | 154 | /*Education*/ |
154 | 155 |
|
155 | 156 | .education { |
156 | | - height: 500px; |
157 | | - background-image: url('https://source.unsplash.com/1200x900/?tiger'); |
158 | | - background-repeat: no-repeat; |
159 | | - background-size: cover; |
160 | | - background-position: center; |
161 | | - padding: 100px 5%; |
| 157 | + height: 500px; |
| 158 | + background-image: url("https://source.unsplash.com/1200x900/?tiger"); |
| 159 | + background-repeat: no-repeat; |
| 160 | + background-size: cover; |
| 161 | + background-position: center; |
| 162 | + padding: 100px 5%; |
162 | 163 | } |
163 | 164 |
|
164 | 165 | .education-container { |
165 | | - background-color: rgba(255,255,255,0.75); |
166 | | - padding: 50px; |
167 | | - max-width: 400px; |
| 166 | + background-color: rgba(255, 255, 255, 0.75); |
| 167 | + padding: 50px; |
| 168 | + max-width: 400px; |
168 | 169 | } |
169 | 170 |
|
170 | | -.education-container h3, .education-container p { |
171 | | - margin-bottom: 1em; |
| 171 | +.education-container h3, |
| 172 | +.education-container p { |
| 173 | + margin-bottom: 1em; |
172 | 174 | } |
173 | 175 |
|
174 | 176 | /*Membership*/ |
175 | 177 |
|
176 | 178 | .membership { |
177 | | - text-align: center; |
178 | | - background-color: #FFFFFC; |
| 179 | + text-align: center; |
| 180 | + background-color: #fffffc; |
179 | 181 | } |
180 | 182 |
|
181 | 183 | .membership h2 { |
182 | | - color: #FF3F00; |
| 184 | + color: #ff3f00; |
183 | 185 | } |
184 | 186 |
|
185 | 187 | .membership strong { |
186 | | - color: #FF7F11; |
| 188 | + color: #ff7f11; |
187 | 189 | } |
188 | 190 |
|
189 | 191 | /*Programs*/ |
190 | 192 |
|
191 | 193 | .programs .card { |
192 | | - display: block; |
| 194 | + display: block; |
193 | 195 | } |
0 commit comments