From e26d0ba114925d381fa88e272e3aaeec257b3a8b Mon Sep 17 00:00:00 2001 From: sniper15867 Date: Wed, 8 Oct 2025 19:28:25 +0530 Subject: [PATCH] Initial commit --- src/public/css/style.css | 61 ++++++++++++++++ src/views/index.ejs | 148 ++++++++++++++++++++++++++++++++++----- 2 files changed, 192 insertions(+), 17 deletions(-) diff --git a/src/public/css/style.css b/src/public/css/style.css index 20a790c..eefebc3 100644 --- a/src/public/css/style.css +++ b/src/public/css/style.css @@ -212,6 +212,47 @@ textarea { overflow-y: auto; } +.status-bar { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + justify-content: space-between; + align-items: center; + padding: 0.5rem 1rem; + margin: 0.5rem auto 0; + width: 100%; + max-width: 1200px; + font-size: 0.9rem; + border-top: 1px solid var(--cambridge-blue); +} + +body.dark-mode .status-bar { + border-top: 1px solid var(--eggshell); +} + +.status-group { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + align-items: center; +} + +.status-item { + display: flex; + align-items: center; + gap: 0.3rem; + color: inherit; +} + +.status-item i { + font-size: 0.9rem; + color: inherit; +} + +.status-text { + white-space: nowrap; +} + body.light-mode textarea { background-color: white; color: var(--delft-blue); @@ -405,6 +446,26 @@ footer { padding: 1rem; font-size: 0.95rem; } + .status-bar { + flex-direction: column; + align-items: flex-start; + gap: 0.5rem; + padding: 0.75rem 0; + border-top: 1px solid var(--cambridge-blue); + } + + body.dark-mode .status-bar { + border-top: 1px solid var(--eggshell); + } + + .status-group { + width: 100%; + justify-content: space-between; + } + + .status-item { + font-size: 0.85rem; + } footer { padding: 0.75rem; diff --git a/src/views/index.ejs b/src/views/index.ejs index e685621..930e44e 100644 --- a/src/views/index.ejs +++ b/src/views/index.ejs @@ -85,6 +85,33 @@ +
+
+
+ + Words: 0 +
+
+ + Characters: 0 +
+
+
+
+ + Last saved: -- +
+
+ + Language: -- +
+
+ + Accessibility: Ready +
+
+
+