Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit e31ea96

Browse files
wfxeyIvole32
andcommitted
Added a few things to /people
- Table with Pfp, User and Position - A bit css for the tabled copied from the style_home.css file lol Co-Authored-By: Ivole32 <167101401+Ivole32@users.noreply.github.com>
1 parent 4097b9f commit e31ea96

File tree

3 files changed

+110
-0
lines changed

3 files changed

+110
-0
lines changed

people/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@
4040
</div>
4141
<div class="page-content">
4242
<h1>People</h1>
43+
<div class="people-languages-box">
44+
<table>
45+
<tr>
46+
<th>Github Picture</th>
47+
<th>User</th>
48+
<th>Rights</th>
49+
</tr>
50+
<tr>
51+
<td><img src="https://d-i-projects.github.io/people/pictures/wfxey.png"></td>
52+
<td>@wfxey</td>
53+
<td>Admin</td>
54+
</tr>
55+
</table>
56+
</div>
4357
</div>
4458
<footer>
4559
<div class="footer-container">

people/pictures/wfxey.png

14.4 KB
Loading

people/style_people.css

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,78 @@ pre code {
230230
gap: 10px;
231231
}
232232

233+
.people-languages-box {
234+
padding: 20px;
235+
display: flex;
236+
flex-direction: column;
237+
justify-content: center;
238+
align-items: center;
239+
transition: background 0.3s ease, box-shadow 0.3s ease;
240+
}
241+
242+
.people-languages-box h1 {
243+
font-size: 30px;
244+
}
245+
246+
.people-languages-box h1:hover {
247+
color: #707070;
248+
}
249+
250+
.people-languages-box table {
251+
width: 750px;
252+
border-radius: 20px;
253+
border-collapse: collapse;
254+
background-color: var(--bg-color);
255+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
256+
margin: 20px auto;
257+
color: var(--text-color);
258+
}
259+
260+
.people-languages-box table th,
261+
.people-languages-box table td {
262+
padding: 12px 20px;
263+
text-align: left;
264+
}
265+
266+
.people-languages-box table th {
267+
background-color: var(--secondary-color);
268+
color: var(--header-color);
269+
font-size: 22px;
270+
font-weight: bold;
271+
position: sticky;
272+
top: 0;
273+
z-index: 2;
274+
}
275+
276+
.people-languages-box table tr {
277+
font-size: 20px;
278+
}
279+
280+
.people-languages-box table tr:nth-child(even) {
281+
background-color: var(--table-alt-row-color);
282+
}
283+
284+
.people-languages-box table tr:hover {
285+
background-color: var(--hover-bg-color);
286+
transition: background-color 0.3s ease;
287+
}
288+
289+
.people-languages-box table tr:first-child th:first-child {
290+
border-top-left-radius: 20px;
291+
}
292+
293+
.people-languages-box table tr:first-child th:last-child {
294+
border-top-right-radius: 20px;
295+
}
296+
297+
.people-languages-box table tr:last-child td:first-child {
298+
border-bottom-left-radius: 20px;
299+
}
300+
301+
.people-languages-box table tr:last-child td:last-child {
302+
border-bottom-right-radius: 20px;
303+
}
304+
233305
.topbar button {
234306
top: 16px;
235307
background: var(--secondary-color);
@@ -355,6 +427,12 @@ body.light-mode .light-mode-btn .fa-sun {
355427
display: block;
356428
}
357429

430+
@media only screen and (max-width: 765px) {
431+
.people-languages-box table {
432+
width: 250px;
433+
}
434+
}
435+
358436
@media only screen and (max-width: 495px) {
359437
.cookie-banner {
360438
position: fixed;
@@ -375,3 +453,21 @@ body.light-mode .light-mode-btn .fa-sun {
375453
display:none;
376454
}
377455
}
456+
457+
@media only screen and (max-width: 430px) {
458+
.people-languages-box table {
459+
width: 180px;
460+
}
461+
.people-languages-box table th {
462+
font-size: 17px;
463+
}
464+
}
465+
466+
@media only screen and (max-width: 380px) {
467+
.people-languages-box table {
468+
width: 160px;
469+
}
470+
.people-languages-box table th {
471+
font-size: 14px;
472+
}
473+
}

0 commit comments

Comments
 (0)