diff --git a/public/css/index.css b/public/css/index.css new file mode 100644 index 0000000..d35502f --- /dev/null +++ b/public/css/index.css @@ -0,0 +1,96 @@ +/* Fondo izquierdo */ +.bg-image { + background-image: url('../img/swimming.png'); /* ajusta la ruta */ + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +/* Suavidad en la aparición sin salto */ +.animate-fade-in { + opacity: 0; + animation: appear 0.6s ease-out forwards; +} + +@keyframes appear { + to { + opacity: 1; + } +} + +/* Títulos con azul más claro */ +.text-primary-strong { + color: #49a7ff; + font-weight: 700; +} + +/* Subtexto de sesión */ +.subtext-muted { + font-size: 1rem; + color: #6c757d; + margin-top: 10px; /* más cerca del subtítulo */ + margin-bottom: 20px; /* menos separación del formulario */ +} + +/* Formulario */ +.form-control { + border-radius: 999px; + background-color: #e3f2fd; + border: none; + padding: 12px 20px; + font-size: 0.95rem; +} + +.form-control:focus { + background-color: #d0e9fb; + box-shadow: none; +} + +/* Botón */ +.btn-primary { + background-color: #007BFF; + border: none; + border-radius: 999px; + padding: 10px; + font-weight: 600; + font-size: 1rem; +} + +.btn-success { + border-radius: 999px; + padding: 10px; + font-weight: 600; + font-size: 1rem; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +/* Estilos ya definidos */ +#languageSelect { + border-radius: 999px; + background-color: #ffffff; + padding: 6px 12px; + font-size: 1rem; /* Aumentado */ + min-width: 100px; + padding-right: 24px; +} + +/* Fondo verde solo para inputs del formulario de registro */ +.green-input { + background-color: #e0f6e9; /* verde claro */ + border: none; + border-radius: 999px; + padding: 12px 20px; + font-size: 0.95rem; +} + +.green-input:focus { + background-color: #c4ecd7; + box-shadow: none; +} diff --git a/public/css/login.css b/public/css/login.css deleted file mode 100644 index c84005e..0000000 --- a/public/css/login.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Fondo general */ -body { - background: linear-gradient(to bottom right, #e0f7fa, #f1f8ff); - font-family: 'Segoe UI', sans-serif; -} - -/* Tarjeta del login */ -.card { - border-radius: 20px; - border: none; - background-color: #ffffffee; - box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); -} - -/* Título principal */ -.card h3 { - font-weight: bold; - color: #0077b6; -} - -/* Input y botones */ -.form-control { - border-radius: 12px; - border: 1px solid #b0bec5; -} - -.form-control:focus { - border-color: #00bcd4; - box-shadow: 0 0 0 0.15rem rgba(0, 188, 212, 0.25); -} - -.btn-primary { - background-color: #0077b6; - border: none; - border-radius: 12px; - transition: background-color 0.3s ease; -} - -.btn-primary:hover { - background-color: #005f8c; -} - -/* Idioma + Enlace de registro */ -.text-center small { - font-size: 0.85rem; - color: #37474f; -} - -a { - color: #0077b6; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -/* Select de idioma */ -#languageSelect { - border-radius: 999px; - background-color: #ffffff; - padding: 2px 10px; - font-size: 0.85rem; - min-width: 90px; /* 👈 da espacio para el texto */ - padding-right: 24px; /* 👈 da espacio para la flechita */ - background-clip: padding-box; /* asegura que no se solape */ -} - diff --git a/public/img/swimming.png b/public/img/swimming.png new file mode 100644 index 0000000..c356207 Binary files /dev/null and b/public/img/swimming.png differ diff --git a/public/index.html b/public/index.html index aabae11..35166d1 100644 --- a/public/index.html +++ b/public/index.html @@ -2,46 +2,64 @@
-