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

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

header .brand img {
    transition: filter 1s;
}
header .brand h1 {
    transition: color 1s;
}
header .brand:hover img {
    filter: brightness(100%) sepia(100%);
}
header .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;
}

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

.main {
    background: #f00;
}

footer {
    margin: auto;
}