blob: 7e8b853242aced41968b283361582f473604db66 (
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
|
body.txt {
background-color: $bg-txt-on;
@import 'header-nav';
> aside {
&:hover, &:focus {
background-color: $bg-txt-on;
nav ul li:nth-child(2) {
background: $bg-txt-on;
}
}
}
> header {
h1 {
min-height: 10rem;
}
h2 {
position: absolute;
font-size: 4.8rem;
transform-origin: top left;
width: 90rem;
left: 50%;
transform: rotate(90deg) translate(0, -4.5rem);
text-align: left;
margin-left: 39rem;
margin-top: auto;
}
}
article aside ul img { /* see _main */
height: 22.55rem; /* 1:1.41 for books */
}
#lang-switch {
position: absolute;
top: 0.1rem;
right: 0.1rem;
z-index: 1000;
}
}
.phonetic {
font-family: "Noto Sans";
}
h3 + p.tagline {
font-style: italic;
margin-top: -2rem;
}
.livres dl {
display: flex;
flex-flow: column wrap;
justify-content: space-evenly;
align-items: baseline;
max-height: 20rem; /* Ensure books are aligned horizontally */
}
.livres dt {
padding: 0.25rem 0.5rem;
text-align: center;
}
.livres dd {
min-height: 160px;
}
|