-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (77 loc) · 1.38 KB
/
styles.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
body,
html {
height: 100%;
margin: 0;
font-family: "Courier New", Courier, monospace;
background: radial-gradient(circle, #222, #000);
color: #ff6666;
display: block;
overflow: hidden;
}
.crt {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90vw;
height: 90vh;
max-width: 800px;
max-height: 600px;
background: #000;
border: 20px solid transparent;
border-radius: 10px;
box-shadow: 0 0 30px rgba(255, 102, 102, 0.3), inset 0 0 10px rgba(255, 102, 102, 0.5);
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.crt:before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5%;
background: rgba(255, 102, 102, 0.05);
z-index: 2;
}
.scanlines {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
to bottom,
rgba(0, 0, 0, 0.1),
rgba(0, 0, 0, 0.1) 1px,
transparent 1px,
transparent 3px
);
z-index: 3;
pointer-events: none;
}
.container {
position: relative;
z-index: 2;
text-align: center;
padding: 20px;
}
h1 {
margin-bottom: 20px;
font-size: 3em;
text-shadow: 0 0 10px #ff6666;
}
.social-links a {
margin: 0 10px;
color: #ff6666;
text-decoration: none;
}
.social-links a:hover {
text-decoration: underline;
}
p {
margin-top: 20px;
font-size: 1.2em;
}