-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
173 lines (170 loc) · 3.71 KB
/
styles.css
File metadata and controls
173 lines (170 loc) · 3.71 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Space+Grotesk&family=Space+Mono&display=swap');
:root {
/* Fonts */
--SpaceGrotesk: 'Space Grotesk', sans-serif;
--SpaceMono: 'Space Mono', monospace;
/* Colors */
--background-color: #1a1a1a;
--gray: #565656;
--font-color: #f9f9f9;
--transparent: rgba(26, 26, 26, 0.8);
--orange: #cb8f77;
--yellow: #d7ba7d;
--greenLight: #b3cba6;
--greenDark: #6b9755;
--blueLight: rgba(120, 169, 194, 0.5);
--blueDark: #369ff7;
--purple: rgba(166, 115, 161, 0.5);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
::selection {
background: var(--greenLight);
}
/* == Scrollbar Styling == */
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Typewriter */
#output {
white-space: pre-wrap; /* to preserve '\n' */
font-family: monospace;
}
#output.blinking::after {
content: "▌";
font-style: normal;
animation: blink 1s steps(1) infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
/* Handle */
::-webkit-scrollbar-thumb {
background: var(--blueLight);
border-radius: 15px;
}
html {
height: 100%;
}
body {
font-family: var(--SpaceMono), 'Courier New', Courier, monospace;
/* BACKGROUND IMAGE FROM: https://unsplash.com/photos/island-painting-nbneQlI2M1A */
background-image: url(https://images.unsplash.com/photo-1578301977886-43be7b983104?q=80&w=1523&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center;
color: var(--font-color);
display: flex;
justify-content: center;
align-items: center;
/* overflow-y: auto; */
}
#container {
position: absolute;
border: 1px solid var(--gray);
box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.5);
font-size: 14px;
border-radius: 10px;
width: 85%;
max-width: 1000px;
top: 10%;
margin: 10px;
}
header {
padding: 10px 40px;
background-color: var(--gray);
width: 100%;
border-radius: 6px 6px 0 0;
}
hr {
border: 1px solid var(--gray);
}
.content {
padding: 20px;
background-color: var(--transparent);
border-radius: 0 0 7px 7px;
}
.button-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin: 0 20px;
}
.button-grid button {
width: auto;
box-sizing: border-box;
text-align: left;
}
/* Blinking: https://www.w3docs.com/tools/editor/2777 */
.blink {
font-style: normal;
animation: blinker 1s steps(1) infinite;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
button {
background: none;
color: inherit;
border: none;
padding: .2em;
font: inherit;
}
.link {
text-decoration: none;
}
.link:hover {
background-color: var(--purple);
cursor: pointer;
}
blockquote {
padding-left: 2.4em;
text-indent: -2.4em;
word-wrap: break-word;
}
.orange {
color: var(--orange);
}
.yellow {
color: var(--yellow);
}
.greenLight {
color: var(--greenLight);
}
.greenDark {
color: var(--greenDark);
}
.blueLight {
color: var(--blueLight);
}
.blueDark {
color: var(--blueDark);
text-decoration: underline;
line-height: 1em;
}
.purple {
color: var(--purple);
}
.cursor, .font {
color: var(--font-color);
}
.title {
text-align: center;
}
.bold {
font-weight: bolder;
}
@media only screen and (max-width: 800px) {
#container {
margin: 0 20px;
}
}