-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilos.css
91 lines (84 loc) · 1.81 KB
/
estilos.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
body{
margin: 0;
background-size: cover;
font-family: 'Carter One', Arial, Helvetica, sans-serif;
min-height: 100vh;
}
header{
background: #247fbb;
padding: 10px;
text-align: center;
margin-bottom: 20px;
}
h1{
margin: 0;
color: #ffffff;
}
main{
width: 80%;
margin: auto;
padding: 20px;
background: rgba(255,255,255,.7);
display: grid;
grid-template-columns: auto auto;
gap: 30px;
}
#imagen{
width: 200px;
}
#palabra_a_adivinar{
height: 3em;
}
#palabra_a_adivinar span{
vertical-align: bottom;
font-size: 2em;
border-bottom: 2px solid black;
width: 30px;
text-align: center;
margin-right: 6px;
display: inline-block; /* sin esto, por ser un elemento de línea, no tomaría el width */
}
#letras{
margin-top: 30px;
display: grid;
grid-template-columns: 75px 75px 75px 75px 75px;
gap: 2px;
}
#letras button{
/* display: none; */
padding: .5rem 1rem;
background: #247fbb;
border: none;
border-radius: 4px;
box-shadow: 10px 5px 30px rgba(0,0,0,.1);
color: #fff;
font-size: .8rem;
font-weight: 700;
margin: 0 0 0 1rem;
transform: scale(1);
transition: transform .5s ease-in-out;
cursor: pointer;
}
button:active {
transform: scale(.8);
transition: transform .7s ease-in-out;
}
#jugar{
width: 350px;
padding: .5rem 1rem;
background: #247fbb;
border: none;
border-radius: 20px;
box-shadow: 10px 5px 30px rgba(0,0,0,.1);
color: #000;
font-size: .8rem;
font-weight: 700;
margin: 0 0 0 1rem;
transform: scale(1);
transition: transform .5s ease-in-out;
cursor: pointer;
}
button:active {
transform: scale(.8);
transition: transform .7s ease-in-out;
}