blob: 85da7c851962f5ab64f59e653b06491f3f223591 (
plain)
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
|
body {
height: 100vh;
display: grid;
grid-template-columns: 11fr 1fr;
grid-template-rows: auto 1fr auto;
margin: 0;
}
header.banner {
grid-column: 1;
display: flex;
align-items: center;
}
header.banner .brand {
display: flex;
align-items: center;
}
header.banner .brand img {
transition: filter 1s;
}
header.banner .brand h1 {
transition: color 1s;
text-align: center;
}
header.banner .brand:hover img {
filter: brightness(100%) sepia(100%);
}
header.banner .brand:hover h1 {
color: #d82;
}
.brand h1 {
margin: 0;
}
.brand img {
height: 3em;
filter: brightness(0%);
}
nav {
flex: 1;
}
nav ol {
display: flex;
align-items: center;
flex-wrap: wrap;
padding-left: 0;
text-align: center;
list-style-type: none;
}
nav ol li {
flex: 1;
}
.lang {
grid-column: 2;
background-color: black;
border-radius: 50% 50% 50% 0;
color: white;
padding: 0.5em;
margin: auto;
}
main {
grid-row: 2;
grid-column: 1;
display: flex;
overflow: auto;
background: #f00;
}
footer.social {
grid-row: 2;
grid-column: 2;
display: flex;
flex-direction: column;
align-items: center;
position: sticky;
top: 0;
}
.social img {
width: 2em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.contact {
/* Ideally should be just: */
/* writing-mode: sideways-lr; */
/* but of course We Can't Have Nice Things. */
writing-mode: vertical-rl;
transform: rotate(180deg);
margin: 0;
margin-inline-start: 0.5em;
}
footer.legal {
grid-column: 1 / -1;
margin: auto;
font-size: 75%;
}
|