-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (118 loc) · 2.32 KB
/
Copy pathstyle.css
File metadata and controls
133 lines (118 loc) · 2.32 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/* Estilos generales */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #F3F5FC;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
color: #333;
}
/* Contenedor principal */
.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
flex: 1;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
/* Secciones de entrada y salida */
.input-section, .output-section {
width: 100%;
margin-bottom: 20px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Títulos */
h1, h2 {
text-align: center;
color: #4CAF50;
margin-bottom: 20px;
}
/* Campos de texto */
textarea {
width: 100%;
height: 150px;
padding: 15px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
/* Botones */
.buttons {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 4px;
background-color: #4CAF50;
color: white;
margin: 5px;
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: #45a049;
transform: scale(1.05);
}
/* Mensaje de validación */
#validation-msg {
color: red;
text-align: center;
font-size: 14px;
margin-top: 10px;
}
/* Imagen de marcador de posición */
#muñeco-img, #sinMensaje-img {
display: block;
margin: 20px auto;
max-width: 100%;
}
/* Botones de salida */
#output-buttons {
display: none;
margin-top: 20px;
justify-content: space-around;
}
/* Pie de página */
footer {
text-align: center;
padding: 10px;
background-color: #ddd;
width: 100%;
position: fixed;
bottom: 0;
left: 0;
}
/* Responsividad */
@media (max-width: 768px) {
.input-section, .output-section {
width: 95%;
}
button {
width: 100%;
margin: 10px 0;
}
#output-buttons {
flex-direction: column;
align-items: center;
}
}
@media (max-width: 480px) {
textarea {
height: 100px;
font-size: 14px;
}
}