-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (80 loc) · 1.4 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
* {
box-sizing: border-box;
}
body {
margin: 0 auto;
width: 60%;
font-family: 'Cantarell', sans-serif;
}
.game-header {
font-family: 'Economica', sans-serif;
font-size: 100px;
margin: 5px;
}
.board-section {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}
.board-section__field {
height: 50px;
width: 50px;
background-color:lightblue;
color: white;
font-weight: bold;
font-size: 30px;
margin: 5px;
}
.errors-section__paragraph {
height: 10px;
color: black;
}
.errors-section__paragraph--pink {
color: #FF9494;
}
.new-game-section {
margin: 10px;
text-align: center;
}
.answer-section {
padding-top: 15px;
text-align: center;
}
.field {
width: 70%;
padding: 5px 5px;
margin: 3px 0;
border: 2px solid gainsboro;
border-radius: 4px;
}
.button {
color: gray;
background-color: gainsboro;
width: 20%;
padding: 5px 5px;
margin: 3px 0;
border: 2px solid gainsboro;
border-radius: 4px;
}
.button:hover {
background-color: rgba(220, 220, 220, 0.598);
}
/* mobile version */
@media only screen and (max-width: 800px) {
body {
width: 95%;
}
.board-section__field {
width: 40px;
height: 40px;
margin: 2px;
}
.field {
width: 60%;
}
.button {
width: 30%;
}
}