-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathderelict.css
88 lines (88 loc) · 1.66 KB
/
derelict.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
body { margin: 0; }
#info {
position: absolute;
top: 10px;
left: 10px;
width: 100%;
color: #00EE00;
text-align: left;
z-index: 90;
display:block;
font-family: 'VT323', 'Major Mono Display', monospace;
font-size: 2em;
}
a {
color: #00EE00;
text-decoration: none;
}
a:hover {
color: #55FF66;
text-decoration: underline;
}
#bottom {
position: absolute;
bottom: 0;
width: 100%;
color: #00EE00;
text-align: right;
z-index: 91;
display:block;
font-family: 'VT323', 'Major Mono Display', monospace;
font-size: 2em;
}
h1 {
font-size: 2em;
}
/* scanlines from https://codepen.io/cgoudouris/pen/VKQBQR */
.scanlines {
background: linear-gradient(
to bottom,
rgba(255,255,255,0),
rgba(255,255,255,0) 50%,
rgba(0,0,0,0.2) 70%,
rgba(0,0,0,0.6)
);
background-size: 100% 0.3rem;
border-radius: 2rem;
position: absolute;
z-index: 93;
}
.piece {
display: block;
height: 100%;
left: 0;
top: 0;
width: 100%;
}
.noclick {
pointer-events: none;
}
.glow {
animation: crt-glow 60s infinite;
background:
radial-gradient(circle at center,
rgba(27,212,89,1) 0%,
rgba(27,212,89,0.88) 58%,
rgba(21,235,92,0.57) 80%,
rgba(19,94,29,0.27) 93%,
rgba(10,23,12,0) 100%);
//filter: blur(10rem) opacity(0.1);
opacity: 0.15;
pointer-events: none;
position: fixed;
}
/* Tiles: */
.tile {
width: 120px;
height: 160px;
box-shadow: 0px 0px 12px rgba(0,255,255,0.5);
border: 1px solid rgba(127,255,255,0.25);
font-family: Helvetica, sans-serif;
text-align: center;
line-height: normal;
cursor: default;
}
.tile:hover {
box-shadow: 0px 0px 12px rgba(0,255,255,0.75);
border: 1px solid rgba(127,255,255,0.75);
}