-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (82 loc) · 1.91 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
body {
background-image: url("https://i.ibb.co/YTN069M/tetris.jpg");
padding-top: 1em;
text-align: center;
background-size: cover;
}
h2,
h3,
h4 {
font-family: "Press Start 2P", monospace;
color: white;
}
p {
font-family: "Press Start 2P", monospace;
line-height: 1.5;
color: white;
font-size: 15px;
}
#tetris {
border: solid 0.2em white;
background-color: black;
}
#score {
font-family: "Press Start 2P", monospace;
color: white;
}
#start {
background-color: blue;
color: white;
padding: 0.5em;
margin: 0px 0px 25px 0px;
font-family: "Press Start 2P", monospace;
}
#reset {
background-color: red;
color: white;
padding: 0.5em;
margin: 0px 0px 25px 0px;
font-family: "Press Start 2P", monospace;
}
#instructions {
background-color: purple;
color: white;
padding: 0.5em;
margin: 0px 0px 25px 0px;
font-family: "Press Start 2P", monospace;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: white; /* Fallback color */
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
background-color: black;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}