generated from marquez.juan/Ejercicio-inicial--git-y-HTML
Se agrego el formulario y se le dio estilo con el archivo agregado styles.css
This commit is contained in:
129
styles.css
Normal file
129
styles.css
Normal file
@@ -0,0 +1,129 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
body {
|
||||
background-color: #f4f7f9;
|
||||
color: #333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
header {
|
||||
background-color: #1a1a2e;
|
||||
color: #fff;
|
||||
padding: 1rem 5%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||||
}
|
||||
.logo {
|
||||
width: 50px;
|
||||
height: auto;
|
||||
vertical-align: middle;
|
||||
}
|
||||
header h1 {
|
||||
font-size: 1.5rem;
|
||||
display: inline-block;
|
||||
}
|
||||
nav ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
nav ul li {
|
||||
margin-left: 20px;
|
||||
}
|
||||
nav ul li a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
}
|
||||
#Suscripcion {
|
||||
background-color: #00d2ff;
|
||||
color: #1a1a2e;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
transition: background 0.3s;
|
||||
}
|
||||
#Suscripcion:hover {
|
||||
background-color: #0099cc;
|
||||
}
|
||||
main {
|
||||
max-width: 900px;
|
||||
margin: 40px auto;
|
||||
padding: 20px;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
|
||||
}
|
||||
h2, h3 {
|
||||
color: #1a1a2e;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 20px 0;
|
||||
}
|
||||
table th, table td {
|
||||
text-align: left;
|
||||
padding: 12px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
table th {
|
||||
background-color: #f8f9fa;
|
||||
color: #1a1a2e;
|
||||
}
|
||||
#seccionFormulario {
|
||||
margin-top: 30px;
|
||||
padding-top: 20px;
|
||||
border-top: 2px solid #eee;
|
||||
}
|
||||
form div {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
font-weight: 600;
|
||||
}
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
select,
|
||||
textarea {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
margin-right: 8px;
|
||||
}
|
||||
button[type="submit"] {
|
||||
background-color: #28a745;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 12px;
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
font-size: 1.1rem;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
}
|
||||
button[type="submit"]:hover {
|
||||
background-color: #218838;
|
||||
}
|
||||
footer {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
color: #777;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
Reference in New Issue
Block a user