-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
121 lines (119 loc) · 2.79 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
body{
display: flex;
justify-content: center;
align-items: center;
height: 95vh;
background-image: url(img/dark_wall.png);
}
#content {
display: flex;
justify-content: center;
align-items: stretch;
flex-direction: row;
padding: 30px;
border-radius: 20px;
box-shadow: inset 4px 4px 8px rgba(70, 70, 70, .5),
inset -4px -4px 8px rgba(0, 0, 0, .5),
0px 0px 47px -7px rgba(0,0,0,0.75);
}
aside {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 320px;
margin-right: 40px;
align-items: right;;
}
h1 {
font-family: 'Squada One', cursive;
font-weight: 400;
font-size: 4em;
margin: 0 0 40px 0;
text-align: center;;
text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
background-image: url(img/dark_wall.png);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: rgba(90,90,90, .1);
cursor: default;
}
aside div{
width: 70%;
}
aside div div {
display: inline-block;
font-family: 'VT323', monospace;
font-size: 1.5em;
width: 75%;
margin-bottom: 20px;
box-sizing: border-box;
padding: 10px;
background-color: lightgreen;
border: none;
border-radius: 5px;
box-shadow: 4px 4px 8px rgba(100, 100, 100, .5),
-4px -4px 8px rgba(0, 0, 0, .5),
inset 0 0 8px rgba(0, 0, 0, .5);
}
aside div div span {
float: right;
}
aside button {
cursor: pointer;
outline: none;
width: 40px;
height: 40px;
box-sizing: border-box;
position: relative;
top: 12px;
margin-left: 10px;
border-radius: 50%;
border:none;
box-shadow: -2px -2px 2px rgba(255,255,255,.1), 2px 2px 2px rgba(0,0,0,.5);
background-image: url(img/dark_wall.png);
}
aside button:active {
box-shadow: 2px 2px 2px rgba(255,255,255,.1), -2px -2px 2px rgba(0,0,0,.5);
}
#jogo {
display: flex;
align-items: center;
justify-content: center;
width: 460px;
height: 460px;;
background-color: lightgreen;
border-radius: 5px;
box-shadow: 4px 4px 8px rgba(100, 100, 100, .5),
-4px -4px 8px rgba(0, 0, 0, .5),
inset 0 0 8px rgba(0, 0, 0, .5);
}
canvas.border {
border: 2px solid green;
}
.blink {
animation:blinking 1s infinite;
}
@keyframes blinking {
0% {opacity: 0;}
50% {opacity: 1;}
100% {opacity: 0;}
}
#gameover {
font-family: 'VT323', monospace;
font-size: 2em;
color: black;
width: 250px;
height: 80px;
position: absolute;
align-items: center;
display: flex;
justify-content: center;
flex-direction: column;
border: 2px solid black;
background-color: lightgreen;
box-shadow: 1px 1px lightgreen, 6px 6px black;
}
#gameover span {
font-size: .5em;;
}