-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
145 lines (125 loc) · 2.37 KB
/
style.css
File metadata and controls
145 lines (125 loc) · 2.37 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
*{
margin:0;
padding:0;
}
body{
background-color:#a6b1e1;
color:aliceblue;
text-align:center;
}
.container{
height:60vh;
display:flex;
justify-content: center;
align-items: center;
}
.game{
height:50vmin;
width:50vmin;
display:flex;
flex-wrap:wrap;
justify-content: center;
align-items: center;
gap: 1vmin;
z-index: 2;
}
.box{
height:16vmin;
width:16vmin;
font-size:7vmin;
border-radius:1rem;
border:none;
box-shadow: 2px 2px 0.5rem rgba(255, 255, 255, 0.845);
background-color: #424874;
color:azure;
cursor:pointer;
}
#res{
background-color: #ffffff;
color: #212529;
padding:0.8rem;
border:none;
border-radius: 0.5rem;
font-size: 1.25rem;
cursor:pointer;
}
#res:hover{
background-color:#424874;
color: #ffffff;
transition:0.3s ease-in-out all;
cursor:pointer;
}
#new{
background-color: #ffffff;
color: #212529;
padding:1rem;
border:none;
border-radius: 1rem;
font-size: 1.25rem;
}
.msg-container{
height:20vmin;
display:flex;
flex-direction:column;
justify-content: center;
align-items: center;
line-height: 1;
}
#new{
margin-top:30px;
font-size:1.5rem;
display: inline-block;
}
#new:hover{
background-color: #424874;
color: #ffffff;
transition:0.3s ease-in-out all;
cursor:pointer;
}
#msg{
color: #424874;
font-size:5vmin;
display:inline-block;
line-height: 1;
margin-bottom:0px;
}
.hide{
display:none;
}
h1{
margin-top:10px;
font-size:3rem;
font-family:Georgia, 'Times New Roman', Times, serif;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
padding: 12px 0;
background-color: rgba(3, 3, 3, 0.5);
color: #ffffff;
font-size: 14px;
position: fixed;;
}
.footer .c{
margin-left:45px;
}
.stars {
background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
opacity: 0.8;
animation: moveStars 200s linear infinite;
position: absolute;
width: 100%;
height: 100%;
top: 0; left: 0;
background-repeat: repeat;
pointer-events: none; /* Allows clicks to pass through */
z-index:1;
}
@keyframes moveStars {
0% { background-position: 0 0; }
100% { background-position: -10000px 5000px; }
}