-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
133 lines (128 loc) · 2.61 KB
/
styles.css
File metadata and controls
133 lines (128 loc) · 2.61 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
@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch&family=Poppins:wght@100&display=swap');
body {
font-family: 'Cabin Sketch', cursive;
background-color: #2C3333;
}
#seleccionar-animal {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.titulo {
color: #CBE4DE;
font-size: 48px;
}
.subtitulo {
color: #CBE4DE;
font-size: 20px;
}
.targetes, .targetes-atacs{
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
}
.targeta-animal {
width: 144px;
height: 100px;
background: #0E8388;
padding: 10px;
box-sizing: border-box;
border-radius: 20px;
display: flex;
color: #2C3333;
flex-wrap: nowrap;
flex-direction: row-reverse;
align-content: stretch;
justify-content: flex-start;
align-items: stretch;
}
.targeta-animal img {
width: 80px
}
#boto-animal {
width: 180px;
height: 40px;
border-radius: 20px;
background: transparent;
border: 2px solid #CBE4DE;
color: #CBE4DE;
font-family: 'Cabin Sketch', cursive;
margin-top: 30px;
}
input {
display: none;
}
input:checked + label {
background-color: #a52a2a;
width: 138px;
}
#seleccionar-atac {
flex-direction: column;
align-items: center;
}
.boto-atac {
background: #0E8388;
padding: 10px;
box-sizing: border-box;
border-radius: 20px;
border-color: transparent;
width: 80px;
color: #CBE4DE;
font-family: 'Cabin Sketch', cursive;
}
#missatges {
width: 280px;
background: #0E8388;
padding: 20px;
margin-top: 20px;
border-radius: 20px;
display: flex;
flex-direction: column;
align-items: center;
font-family: 'Cabin Sketch', cursive;
}
#boto-reiniciar {
border: none;
background: transparent;
color: #CBE4DE;
font-family: 'Cabin Sketch', cursive;
}
.atacs {
display: grid;
grid-template: 100px 1fr / 100px 1fr;
color: #CBE4DE;
}
.atacs-jugador, .atacs-enemic {
display: flex;
align-items: center;
flex-direction: column;
}
#veure-mapa {
flex-direction: column;
align-items: center;
justify-content: center;
}
#veure-mapa button {
width: 80px;
height: 40px;
border-radius: 20px;
background: transparent;
border: 2px solid #CBE4DE;
color: #CBE4DE;
font-family: 'Cabin Sketch', cursive;
margin: 2px 0;
}
@media (max-width:360px) {
.targetes, .targetes-atacs {
flex-direction: column;
}
}
@media (max-width:360px) {
#veure-mapa div {
display: flex;
align-items: center;
flex-direction: column;
}
}