diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2025-07-18 18:21:00 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2025-07-18 18:21:00 -0400 |
| commit | b9909fc19efb4874a2fb43d8603809a18995a781 (patch) | |
| tree | db2ab8ec99e44c3ec8de82652fa57a238a89867f /style.css | |
Initial commit
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/style.css b/style.css new file mode 100644 index 0000000..bb2a135 --- /dev/null +++ b/style.css @@ -0,0 +1,87 @@ +body { + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + margin: 0; + background: #f0f0f0; + font-family: Arial, sans-serif; +} + +.button-container { + display: flex; + justify-content: center; + gap: 1rem; + padding: 1rem; + background-color: #f5f5f5; + position: fixed; + bottom: 0; + width: 100%; + box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); +} + +.rating-button { + padding: 0.6rem 1.2rem; + font-size: 1rem; + border: none; + border-radius: 6px; + cursor: pointer; + transition: background-color 0.3s ease; +} + +.rating-button:hover { + background-color: #e0e0e0; +} + +.status-section { + position: fixed; + top: 0; + right: 0; + background-color: #f0f8ff; /* Light blue for subtle color coding */ + padding: 10px 16px; + font-size: 14px; + color: #000; + border-bottom-left-radius: 8px; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); + z-index: 1000; +} + +.status-section div { + margin: 2px 0; +} + +/* Basic styling for the toast */ +#toast { + position: fixed; + top: 20px; + right: 20px; + background-color: #333; + color: white; + padding: 12px 24px; + border-radius: 6px; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); + opacity: 0; + visibility: hidden; + transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; + z-index: 1000; +} + +#toast.show { + opacity: 1; + visibility: visible; +} + +#flashcard { + padding: 16px; + background: #fff; + border-radius: 4px; + filter: drop-shadow(5px 5px 10px gray); + box-shadow: 5px 5px 10px gray; +} + +#flashcard-front { + display: block; +} +#flashcard-back { + display: none; +} |