From 1664fb9dc8d85a0e3e0dad4895197e1970136f3d Mon Sep 17 00:00:00 2001 From: hellekin Date: Mon, 24 Apr 2023 14:44:27 +0200 Subject: New version of /txt/ --- assets/scss/_txt.scss | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'assets/scss/_txt.scss') diff --git a/assets/scss/_txt.scss b/assets/scss/_txt.scss index 19bf047..e3d9a5a 100644 --- a/assets/scss/_txt.scss +++ b/assets/scss/_txt.scss @@ -1,14 +1,14 @@ 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; - } - } - } + 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; @@ -29,4 +29,14 @@ body.txt { 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"; } -- cgit v1.2.3