-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
81 lines (69 loc) · 2.04 KB
/
Copy pathindex.css
File metadata and controls
81 lines (69 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.header {
/* background: url('/public/jpeg/wallpaper_two.png') no-repeat center center; */
/* background: url('/public/jpeg/ARIWallpaper.jpg') no-repeat center center; */
background-size: cover;
height: 250px; /* Altura más pequeña */
display: flex;
align-items: center;
justify-content: center;
}
.header-content {
text-align: center;
color: white;
background: rgba(0, 0, 0, 0.5);
padding: 10px 20px;
border-radius: 10px;
}
.header-title {
font-size: 2em; /* Tamaño de fuente ajustado */
margin: 0;
}
.content {
display: flex;
justify-content: center;
align-items: flex-start; /* Alineación superior para acercar al header */
min-height: calc(100vh - 200px); /* Ajuste dinámico de altura */
background-color: #f0f2f5;
padding-top: 20px; /* Espacio adicional superior */
}
.form-container {
background: white;
padding: 24px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
width: 60%; /* Ocupa el 60% del ancho de la pantalla */
max-width: 800px; /* Ancho máximo */
min-width: 300px; /* Ancho mínimo */
margin-top: -30px; /* Ajuste para acercar más el formulario al header */
}
/* Media Queries para tamaños de pantalla más pequeños */
@media (max-width: 768px) {
.header {
height: 150px; /* Altura más pequeña para pantallas pequeñas */
}
.header-title {
font-size: 1.5em; /* Tamaño de fuente más pequeño */
}
.content {
min-height: calc(100vh - 150px);
}
.form-container {
width: 80%; /* Ajuste de ancho para pantallas más pequeñas */
margin-top: -20px; /* Ajuste para acercar más el formulario al header */
}
}
@media (max-width: 480px) {
.header {
height: 120px; /* Altura aún más pequeña para pantallas muy pequeñas */
}
.header-title {
font-size: 1.2em; /* Tamaño de fuente más pequeño */
}
.content {
min-height: calc(100vh - 120px);
}
.form-container {
width: 90%; /* Ajuste de ancho para pantallas más pequeñas */
margin-top: -15px; /* Ajuste para acercar más el formulario al header */
}
}