From 47aed0dd50deb077f74112554735b830aa7500f9 Mon Sep 17 00:00:00 2001 From: David <133239148+ThatSINEWAVE@users.noreply.github.com> Date: Thu, 23 May 2024 17:42:00 +0300 Subject: [PATCH] Update styles.css --- styles.css | 141 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 85 insertions(+), 56 deletions(-) diff --git a/styles.css b/styles.css index a2b949b..1713c85 100644 --- a/styles.css +++ b/styles.css @@ -1,108 +1,137 @@ body { - margin: 0; - font-family: 'Courier New', Courier, monospace; - background-color: #0d0d0d; - color: #00ffcc; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - overflow: hidden; + margin: 0; + font-family: 'Courier New', Courier, monospace; + background-color: #0d0d0d; + color: #00ffcc; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + overflow: hidden; } #main-container { - text-align: center; - width: 80%; + text-align: center; + width: 80%; } .screen { - display: none; + display: none; } .screen.active { - display: block; - animation: fadeIn 1s; + display: block; + animation: fadeIn 1s; } h1 { - font-size: 3em; - text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc; + font-size: 3em; + text-shadow: 0 0 10px #00ffcc; + animation: neonGlow 1.5s infinite alternate; } p { - font-size: 1.2em; - margin-bottom: 10px; + font-size: 1.2em; + margin-bottom: 10px; } a { - font-size: 1em; - margin-bottom: 10px; + font-size: 1em; + margin-bottom: 10px; + animation: neonGlow 2s infinite alternate; } input, button { - font-size: 1.2em; - padding: 10px; - margin: 10px; - border: none; - outline: none; - border-radius: 5px; + font-size: 1.2em; + padding: 10px; + margin: 10px; + border: none; + outline: none; + border-radius: 5px; + box-shadow: 0 0 10px #00ffcc; + transition: box-shadow 0.3s; } input { - width: 60%; - margin-top: 40px; + width: 60%; + margin-top: 40px; } button { - background-color: #00ffcc; - color: #0d0d0d; - cursor: pointer; - transition: background-color 0.3s; + background-color: #00ffcc; + color: #0d0d0d; + cursor: pointer; + transition: background-color 0.3s; } button:hover { - background-color: #00997a; + background-color: #00997a; + box-shadow: 0 0 20px #00ffcc; } #robot-image { - width: 100%; - max-width: 300px; - margin: 20px 0; + width: 100%; + max-width: 300px; + margin: 20px 0; + opacity: 100; } .button-container { - display: flex; - justify-content: center; - gap: 20px; + display: flex; + justify-content: center; + gap: 20px; } @keyframes fadeIn { - from { - opacity: 0; - } + from { + opacity: 0; + } - to { - opacity: 1; - } + to { + opacity: 1; + } } .style-btn.selected { - box-shadow: 0 0 20px #00ffcc; + box-shadow: 0 0 20px #00ffcc; } footer { - position: fixed; - bottom: 0; - width: 100%; - text-align: center; - padding: 10px; - background: transparent; + position: fixed; + bottom: 0; + width: 100%; + text-align: center; + padding: 10px; + background: transparent; } footer a { - margin: 0 15px; - display: inline-block; - font-size: 20px; - color: #00ffcc; + margin: 0 15px; + display: inline-block; + font-size: 20px; + color: #00ffcc; + animation: neonGlow 2s infinite alternate; +} + +@keyframes neonGlow { + from { + text-shadow: 0 0 5px #00ffcc; + } + + to { + text-shadow: 0 0 20px #00ffcc; + } +} + +@keyframes fadeInNeon { + from { + opacity: 0; + box-shadow: 0 0 20px #00ffcc; + } + + to { + opacity: 1; + box-shadow: 0 0 50px #00ffcc; + } } \ No newline at end of file