aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_txt.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/_txt.scss')
-rw-r--r--assets/scss/_txt.scss35
1 files changed, 26 insertions, 9 deletions
diff --git a/assets/scss/_txt.scss b/assets/scss/_txt.scss
index 19bf047..d28d3f1 100644
--- a/assets/scss/_txt.scss
+++ b/assets/scss/_txt.scss
@@ -1,14 +1,16 @@
body.txt {
- background-color: $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;
- }
- }
- }
+ @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;
@@ -29,4 +31,19 @@ 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";
+}
+
+h3 + p.tagline {
+ font-style: italic;
+ margin-top: -2rem;
}