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.scss57
1 files changed, 48 insertions, 9 deletions
diff --git a/assets/scss/_txt.scss b/assets/scss/_txt.scss
index 19bf047..5b5393a 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,41 @@ 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;
+}
+
+.livres {
+ display: block;
+ max-width: 100%;
+ position: relative;
+}
+.livres dl {
+ display: flex;
+ flex-flow: column wrap-reverse;
+ justify-content: space-evenly;
+ align-items: baseline;
+ max-height: 30rem; /* Ensure books are aligned horizontally */
+}
+.livres dt {
+ padding: 0.25rem 0.5rem;
+ text-align: center;
+ margin: auto;
+}
+.livres dd {
+ min-height: 24rem;
+ margin: auto;
}