-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (105 loc) · 1.73 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
127
128
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
/* CSS code creates the styling of the web page */
/* The code below thw * is applied to every element */
* {
box-sizing: border-box;
font-family: "Press Start 2P", sans-serif;
}
body {
width: 100vw;
background-color: #000000;
color: #ffffff;
margin: 0;
}
header {
border-bottom: 5px solid #ffffff;
}
.flex {
display: flex;
}
.horizontal {
flex-direction: row;
}
.vertical {
flex-direction: column;
}
.space-around {
justify-content: space-around;
}
.space-between {
justify-content: space-between;
}
.center {
text-align: center;
justify-content: center;
align-items: center;
}
.pd-top {
padding-top: 4rem;
}
.left {
margin-left: 150px;
}
.right {
margin-right: 0;
}
#user-input {
width: 12rem;
height: 5rem;
background-color: #000000;
border: 2px solid #ffffff;
color: #ffffff;
font-size: 3vw;
text-align: center;
padding: 0.5rem;
}
.game-title {
margin-bottom: 0.5rem;
}
#check {
width: 9rem;
height: 50px;
margin-top: 10px;
}
.user-answer {
width: 12rem;
height: 9rem;
background-color: #ffffff;
color: #000000;
font-size: 6rem;
position: absolute;
position: relative;
bottom: -5rem;
padding-top: 2rem;
}
.mg-top {
margin-top: 40px;
}
#number-amplitude {
margin-top: 10px;
margin-right: 15px;
}
.btn-text {
margin-top: 13px;
margin-left: 15px;
width: 100px;
height: 40px;
}
/* Media Queries are used in order to make the web site responsive */
@media (max-width: 750px) {
* {
font-size: 0.7rem;
}
.game-title {
font-size: 1.3rem;
margin: 3rem;
}
.mg-top {
margin-top: 0;
}
}
#guessing,
#Score {
margin-top: 40px;
margin-left: 2rem;
}