Skip to content

Commit 9d1e386

Browse files
committed
feat: Added profile content
1 parent b455518 commit 9d1e386

File tree

3 files changed

+443
-5
lines changed

3 files changed

+443
-5
lines changed

assets/styles/styles.css

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ nav a {
9090
transition: 0.3s transform ease-in-out;
9191
}
9292

93+
nav a:hover {
94+
color: #ccc;
95+
}
96+
9397
nav ul {
9498
font-family: "Fredoka One", cursive;
9599
letter-spacing: 0.1em;
@@ -198,7 +202,55 @@ main.area {
198202
min-height: 30vh;
199203
}
200204

205+
.details {
206+
display: flex;
207+
justify-content: flex-start;
208+
flex-direction: row;
209+
flex-wrap: wrap;
210+
padding: 40px 120px 30px;
211+
font-size: 0.7em;
212+
max-width: 100%;
213+
}
214+
215+
@media only screen and (max-width: 600px) {
216+
.details {
217+
flex-wrap: nowrap;
218+
overflow-x: auto;
219+
padding: 20px 40px 10px;
220+
}
221+
}
222+
223+
@media only screen and (max-width: 420px) {
224+
.details {
225+
padding: 20px 30px 10px;
226+
}
227+
}
228+
229+
.area .details {
230+
padding: 0;
231+
flex-wrap: wrap;
232+
}
233+
234+
.details .item {
235+
padding: 10px;
236+
background: rgba(0, 0, 0, 0.2);
237+
margin-right: 20px;
238+
margin-bottom: 10px;
239+
}
240+
241+
.details .item h4 {
242+
text-transform: uppercase;
243+
font-family: "Lato", sans-serif;
244+
padding-bottom: 2px;
245+
}
246+
247+
.details .item p {
248+
font-size: 1.5em;
249+
white-space: nowrap;
250+
}
251+
201252
main.coding {
253+
min-height: 0;
202254
background: rgb(78, 0, 72);
203255
}
204256

@@ -207,11 +259,47 @@ main.area.coding {
207259
background: rgb(105, 0, 97);
208260
}
209261

262+
main.thoughts {
263+
min-height: 0;
264+
background: rgb(0, 87, 65);
265+
}
266+
210267
main.area.thoughts {
211268
color: #fff;
212269
background: rgb(0, 105, 79);
213270
}
214271

272+
main.profile {
273+
min-height: 0;
274+
background: rgb(17, 50, 143);
275+
}
276+
277+
main.profile.details {
278+
background: rgb(12, 36, 102);
279+
}
280+
281+
main.profile.employment .employment-details h3 {
282+
text-transform: none;
283+
display: inline-block;
284+
padding-right: 10px;
285+
padding-bottom: 15px;
286+
}
287+
288+
main.profile.employment .employment-details h4 {
289+
padding-bottom: 10px;
290+
}
291+
292+
main.profile.employment .employment-details p {
293+
display: inline-block;
294+
margin-bottom: 15px;
295+
}
296+
297+
@media only screen and (max-width: 600px) {
298+
main.profile.employment .employment-details h3 {
299+
display: block;
300+
}
301+
}
302+
215303
main.area.profile {
216304
color: #fff;
217305
background: rgb(30, 77, 207);
@@ -226,6 +314,8 @@ footer {
226314

227315
footer a {
228316
color: #777;
317+
text-decoration: none;
318+
border-color: #777;
229319
}
230320

231321
footer .copy {
@@ -358,3 +448,9 @@ h3 {
358448
padding-right: 0.1em;
359449
font-style: italic;
360450
}
451+
452+
.tag {
453+
background: rgba(0, 0, 0, 0.2);
454+
padding: 5px 10px;
455+
font-size: 0.8em;
456+
}

pages/coding.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h3>ripixel.co.uk</h3>
2424
In the end, I decided to go as simple-as-possible. This site
2525
shouldn&apos;t be all-singing-and-dancing, because it&apos;s not
2626
what&apos;s needed. What&apos;s needed is something super simple,
27-
clean, and most importanly
27+
clean, and most importantly
2828
<span class="em2">quick</span>. So, it&apos;s pure HTML and CSS, with
2929
a really simple template copy/paste script so I don&apos;t have to
3030
write the nav/header/footer out everytime. Neat!
@@ -49,9 +49,9 @@ <h3>Janky Werewolf</h3>
4949
<p>
5050
The front-end is made in React, utilising Websockets to talk to
5151
lambdas that handle the running of the game and tracking of game state
52-
(aka who's dead Jim). The back-end is written by
53-
<a href="https://www.mgoddard.net/">Michael Goddard</a>, the big ol'
54-
Rust nerd.
52+
(aka who&apos;s dead Jim). The back-end is written by
53+
<a href="https://www.mgoddard.net/">Michael Goddard</a>, the big
54+
ol&apos; Rust nerd.
5555
</p>
5656
<a class="button" href="https://www.jankywerewolf.co.uk"
5757
>Check it out</a

0 commit comments

Comments
 (0)