From 8b63a675b100251423934dd105c4c20f5b1c81c7 Mon Sep 17 00:00:00 2001 From: Voxel Date: Sun, 13 Apr 2025 20:39:56 -0400 Subject: [PATCH] Create style.css --- type/style.css | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 type/style.css diff --git a/type/style.css b/type/style.css new file mode 100644 index 0000000..1defd2d --- /dev/null +++ b/type/style.css @@ -0,0 +1,66 @@ +body { + font-family: Arial, sans-serif; + background-color: #000000; + color: #ffffff; + margin: 0; + padding: 0; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; +} + +.container { + text-align: center; + width: 90%; + max-width: 900px; + padding: 20px; + background-color: #1e1e1e; + border-radius: 12px; + box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); +} + +.text-to-type { + font-size: 1.3em; + font-family: 'Courier New', monospace; + background-color: #2a2a2a; + border: 1px solid #444; + padding: 15px; + border-radius: 8px; + margin-bottom: 20px; + white-space: pre-wrap; +} + +textarea { + width: 100%; + height: 200px; + font-size: 1.2em; + background-color: #333; + color: #fff; + border: 1px solid #555; + border-radius: 8px; + padding: 15px; + box-sizing: border-box; + resize: none; +} + +#stats p { + font-size: 1em; + margin: 10px 0; +} + +#restart-btn { + margin-top: 20px; + padding: 10px 20px; + background-color: #007bff; + color: white; + font-size: 1em; + border: none; + border-radius: 6px; + cursor: pointer; + transition: background-color 0.2s ease-in-out; +} + +#restart-btn:hover { + background-color: #0056b3; +}