aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_txt.scss
blob: d28d3f17c745e643dc9b025085ddbfb0e364e5a9 (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
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;
}