-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (100 loc) · 1.9 KB
/
style.css
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
body {
background-image: linear-gradient(#eff5f5, #97ade8);
font-family: 'Roboto', Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
header {
text-align: center;
padding: 30px 0;
}
h1 {
font-size: 32px;
color: #333;
}
.logo {
width: 100px;
height: auto;
display: block;
margin: 0 auto 20px;
}
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.text-section, .result-section {
width: 100%;
max-width: 600px;
margin: 20px 0;
display: flex;
flex-direction: column;
align-items: center;
}
.campoTexto, .resultado {
width: 100%;
height: 150px;
margin-top: 10px;
border: 2px solid #97ade8;
border-radius: 5px;
text-align: center;
text-transform: lowercase;
font-size: 16px;
padding: 10px;
resize: none;
box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}
.botones {
display: flex;
justify-content: space-between;
margin-top: 10px;
width: 100%;
}
.boton {
padding: 10px 20px;
cursor: pointer;
flex: 1;
margin: 0 5px;
border: none;
border-radius: 5px;
background-color: #97ade8;
color: white;
font-size: 16px;
transition: background-color 0.3s ease;
}
.boton:hover {
background-color: #6f8ad9;
}
.error-message {
color: red;
font-size: 14px;
margin-top: 10px;
display: none;
}
footer {
text-align: right;
padding: 20px;
font-size: 12px;
color: #333;
}
@media (max-width: 768px) {
.campoTexto, .resultado {
height: 120px;
}
.botones {
flex-direction: column;
}
.boton {
margin: 5px 0;
}
}