-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (100 loc) · 1.95 KB
/
style.css
File metadata and controls
127 lines (100 loc) · 1.95 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
@import url('https://fonts.cdnfonts.com/css/cascadia-code');
* {
margin: 0;
padding: 0;
scroll-behavior: smooth;
}
@keyframes circleAppear {
0% {transform: scale(0.1);}
50% {transform: scale(1);}
100% {
transform: scale(0);
display: none;
}
}
@keyframes textSpacing {
0% {letter-spacing: 0px;}
100% {letter-spacing: 4px;}
}
:root {
--grey: #252525;
--darker-grey:#1d1d1d;
}
h1 {
text-align: center;
margin: 20px;
color: var(--darker-grey);
animation: textSpacing 2s alternate infinite ;
}
body {
box-sizing: border-box;
background-image: url(res/bg.jpg);
background-size: cover;
background-repeat: no-repeat;
font-family: 'Cascadia Code', sans-serif;
}
#game {
display: flex;
justify-content: center;
align-items: center;
}
.window {
background-color: #ffffff;
width: 1200px;
height: 700px;
border: 2px solid var(--grey);
border-radius: 10px;
overflow: hidden;
position: relative;
z-index: 0;
cursor: crosshair;
}
.window #window-info {
display: flex;
justify-content: space-around;
padding: 10px;
background-color: var(--grey);
border-radius: 7px 7px 0px 0px;
color: #ffffff;
}
#start {
padding: 5px 30px 5px 30px;
border-radius: 6px;
}
.window #window-info p {
transform: translateY(8px);
}
.container-fluid footer {
position: absolute;
bottom: 0;
width: 100%;
padding: 5px 0px 5px 10px;
color: #ffffff;
background-color: var(--grey);
}
#high-seas {
width: 100px;
transform: translateY(-3px);
}
.circle {
position: absolute;
border-radius: 50%;
box-shadow: 0px 0px 7px #1d1d1d88;
transform: scale(0);
}
.finish {
font-size: 20px;
position: relative;
top: 150px;
display: none;
}
#block {
z-index: 100;
position: relative;
left: -2%;
width: 1250px;
height: 650px;
}
#FINISH {
font-size: 25px;
}