-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.pug
More file actions
87 lines (76 loc) · 2.16 KB
/
index.pug
File metadata and controls
87 lines (76 loc) · 2.16 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
doctype html
head
meta(charset='UTF-8')
meta(name='viewport' content='width=device-width, initial-scale=1.0')
link(rel="favicon" href="https://avatars.githubusercontent.com/u/214256689?s=200&v=4")
title n7 webring!
style.
@font-face {
font-family: "0xProto";
font-display: swap;
src: url('https://raw.githubusercontent.com/0xType/0xProto/main/fonts/0xProto-Regular.woff2') format('woff2');
}
body(lang="en")
h1 Welcome to #[a(href='https://www.enseeiht.fr') ENSEEIHT] students' #[a(href='https://en.wikipedia.org/wiki/Webring') webring]!
ul.members
each member in members
li: a.member(href=member.url)
img.pfp(src=`https://avatars.githubusercontent.com/u/${member.github}?v=4` alt=`Photo de ${member.name}`)
span.name=member.name
li: a.member.new(href="https://github.com/n7webring/ring/edit/main/members.yaml")
.pfp.empty
span.name You?
style.
h1 {
text-align: center;
font-size: 1.7em;
}
.member {
display: flex;
gap: 0.75em;
font-size: 1.5em;
align-items: center;
}
.member .pfp {
height: 1.5em;
width: 1.5em;
border-radius: 1000000px;
object-fit: cover;
}
.member .pfp.empty {
border: 2px gray dashed;
}
ul.members {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
gap: 1rem;
}
a, a:visited {
color: inherit;
text-decoration-thickness: 2px;
text-underline-offset: 0.25em;
}
a:hover, a:focus-visible {
color: #4d4dd1;
}
a:focus-visible {
outline-color: #4d4dd1;
outline-offset: 4px;
outline-thickness: 2px;
}
body {
--pad: 1rem;
height: calc(100vh - 2*var(--pad));
padding: var(--pad);
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
margin: 0;
font-family: "0xProto", Iosevka NFM, Iosevka, Segoe UI, Ubuntu Sans, sans-serif;
background: #111;
color: #fafafa;
}