diff --git a/index.html b/index.html index a4b63f5..8081a47 100644 --- a/index.html +++ b/index.html @@ -49,6 +49,17 @@ words +
+ +
+ + + +
+
+ + +
12 passages to recite in 8 minutes
@@ -59,5 +70,25 @@ + diff --git a/style.css b/style.css index f356024..f4cd481 100644 --- a/style.css +++ b/style.css @@ -14,6 +14,60 @@ div.container-fluid > div { max-width: 300px; } +#text-size-ctr label:has([type=radio]) { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 1rem; + width: 50px; + height: 40px; + border: 2px solid #aaa; + border-radius: 10px; + transition: background-color 0.3s; +} + +#text-size-ctr label:has([type=radio]:not(:disabled)) { + cursor: pointer; +} + +#text-size-ctr label:has([type=radio]):hover { + background-color: #d3e8ee; + border-color: rgb(148, 171, 190); +} + +#text-size-ctr label:has([type=radio]:checked) { + color: #fff; + background-color: rgb(83, 158, 219); + border-color: rgb(83, 158, 219); +} + +#text-size-ctr input[type=radio] { + display:none; +} + +.hide-text-ctr .passage { + display: flex; + align-items: space-between; + justify-content: center; + position: relative; + width: clamp(300px, 90vw, 600px); +} + +.hide-text-ctr .reference-top { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; +} + +.hide-text-ctr .passage p, .hide-text-ctr .reference-bottom { + display:none; +} + +.hide-text-ctr .reference-top { + margin: 0; +} + #passages { padding: 20px 0; } @@ -60,6 +114,7 @@ div.reference-bottom a { width: 2em; text-align: center; float: right; + color: #999; } @media screen {