From 240bd18fd2d1894522d067287f0ecb3fd4e7cb46 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 27 Dec 2022 12:20:22 +0100 Subject: change font sizes --- card/card.css | 22 ++++++++-------------- card/card.html | 8 ++++---- 2 files changed, 12 insertions(+), 18 deletions(-) (limited to 'card') diff --git a/card/card.css b/card/card.css index 7bb4598..b37234c 100644 --- a/card/card.css +++ b/card/card.css @@ -1,22 +1,18 @@ -.mobile .card { - font-size: 2.25rem; -} +.mobile .card .foreign { font-size: 1.75rem; } +.mobile .card .native { font-size: 1.25rem; } -.card { - text-align: center; - font-size: 1.75rem; -} +.card .foreign { font-size: 1.5rem; } +.card .native { font-size: 1.0rem; } -.card span { - display: block; -} +.card { text-align: center; } +.card span { display: block; } hr { height: 10px; border: none; opacity: 20%; - background-color: black; } +hr { background-color: black; } .nightMode hr { background-color: white; } .card.front .target-word-reading, @@ -27,7 +23,5 @@ hr { display: none; } -.sentence-translation { - margin-top: 1em; -} +.sentence-translation { margin-top: 1em; } diff --git a/card/card.html b/card/card.html index 5712f6b..9165bf1 100644 --- a/card/card.html +++ b/card/card.html @@ -9,11 +9,11 @@
-[俺](おれ)の[目](め)の[前](まえ)に{全}(ぜん)[裸](はだか)のアリスが*[立](た)っていた*。\*escape\* (test) +[俺](おれ)の[目](め)の[前](まえ)に{全}(ぜん)[裸](はだか)のアリスが*[立](た)っていた*。\*escape\* (test)
-立つ【た・つ】 -To stand -Before my eyes stood Alice, butt-naked. +立つ【た・つ】 +To stand +Before my eyes stood Alice, butt-naked.
-- cgit v1.2.3