-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (108 loc) · 1.96 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
115
116
117
118
119
120
121
122
123
124
125
126
body {
font-family: 'Roboto Mono', monospace;
min-height: 854px;
background-color: lightgray;
background-size: cover;
background-position: center top;
background-repeat: no-repeat;
padding-bottom: 20vh;
}
.container {
text-align: center;
padding: 20px;
}
.page-title {
color: #ffffff;
margin: 5px 0;
}
button, .button-jogar {
padding: .8rem 1.5rem;
margin: 1rem 0;
border-radius: 5px;
border: none;
font-size: 1rem;
}
h2 {
color: white;
}
#carta-jogador, #carta-maquina {
width: 360px;
height: 500px;
overflow: auto;
border-radius: 10px;
margin-bottom: 20px;
margin: 0 auto;
display: flex;
align-items: flex-end;
position: relative;
background-size: 350px 300px;
background-repeat: no-repeat;
background-position-x: 5px;
background-position-y: 10px;
border-radius: 33px;
font-size: 20px;
}
#carta-jogador h3 {
text-align: center;
}
.carta-imagem {
border: 1px solid black;
height: 100px;
margin: 10px;
}
.carta-imagem img {
width: 100%;
height: 100%;
}
.carta-status {
height: 160px;
margin: 2rem;
color: white;
z-index: 2;
}
.carta-status input {
margin: 20px 10px;
}
.resultado-final {
color: white;
font-size: 2rem;
text-transform: uppercase;
font-weight: bolder;
padding: 1rem;
border: 2px solid black;
background-color: black;
}
.--spacing {
margin-left: 2.5rem;
}
form {
display: flex;
flex-direction: column;
}
.wrapper {
display: flex;
justify-content: space-between;
width: 100%;
}
.carta-subtitle {
z-index: 2;
position: absolute;
top: 16px;
left: 37px;
font-weight: 800;
text-transform: uppercase;
}
#cartas {
width: 100%;
display: flex;
justify-content: space-between;
}
.carta-status p {
margin-bottom: 2rem;
}
@media(max-width: 800px){
.wrapper{
display: flex;
flex-direction: column;
}
}