-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (88 loc) · 1.76 KB
/
style.css
File metadata and controls
98 lines (88 loc) · 1.76 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
* {
box-sizing: border-box;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: #111;
font-family: 'Courier New', Courier, monospace;
overflow: hidden;
}
.container {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
background-color: #1a1a1a;
}
.hud {
flex-shrink: 0;
padding: 8px 10px;
font-size: clamp(12px, 2vw, 18px);
background-color: #222;
color: #ddd;
border-bottom: 1px solid #444;
font-family: 'Courier New', Courier, monospace;
letter-spacing: 0.5px;
display: flex;
flex-direction: column;
gap: 4px;
}
.hud-main {
position: relative;
text-align: center;
padding-right: 50px; /* место для кнопки */
}
.hud-info {
white-space: nowrap;
overflow-x: auto;
display: inline-block;
max-width: 100%;
}
.hud-regen {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.test-mode {
color: #ffaa00;
font-weight: bold;
text-align: center;
background-color: #332200;
border-radius: 4px;
padding: 2px 0;
margin-top: 2px;
}
.hidden {
display: none;
}
.ascii-canvas {
flex-grow: 1;
margin: 0;
padding: 10px;
overflow: hidden;
white-space: pre;
font-size: clamp(10px, 1.8vw, 16px);
line-height: 1.2;
background-color: #0f0f0f;
text-align: center;
font-family: 'Courier New', Courier, monospace;
}
#regenBtn {
cursor: pointer;
display: inline-block;
padding: 2px 6px;
background-color: #333;
border-radius: 4px;
user-select: none;
}
#regenBtn:hover {
background-color: #555;
}