summaryrefslogtreecommitdiff
path: root/commun.css
blob: a272264c1647874830b25e54514417d85906c22f (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
header.banner {
    display: flex;
    align-items: center;
}

header.banner .brand {
    display: flex;
    align-items: center;
    max-width: 40%;
}

header.banner .brand img {
    transition: filter 1s;
}
header.banner .brand h1 {
    transition: color 1s;
}
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;
    flex-wrap: wrap;
    padding-left: 0;
    text-align: center;
    list-style-type: none;
}

nav ol li {
    flex: 1;
}

header.social {
    float: right;
    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;
}


body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

footer {
    margin: auto;
}