-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasciimation.css
More file actions
43 lines (37 loc) · 962 Bytes
/
Copy pathasciimation.css
File metadata and controls
43 lines (37 loc) · 962 Bytes
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
#welcome {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#frames {
display: flex;
justify-content: flex-start; /* Align items to the start of the container */
padding: 10px;
margin: 30px;
}
#ascii {
width: 60; /* Set a width for the divs */
}
pre {
padding: 10px;
margin: 10px;
max-height: calc(100vh - 60px); /* Viewport height minus total vertical margin */
max-width: calc(100vw - 60px); /* Viewport width minus total horizontal margin */
/* overflow: auto; Add scrollbars if the content is too large */
font-size: 0.8em;
width: max-content;
}
#caption {
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
height: 100%; /* Full height of the parent */
}
#caption p {
color: #333;
font-size: 1.5em;
font-weight: normal;
text-align: center;
margin: 20px 0;
}