aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_txt.scss
blob: 19bf0479845dc038d0f04b51a86288ef8f74f6e7 (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
body.txt {
	  background-color: $bg-txt-on;

	  > 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 */
    }

}