-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
165 lines (154 loc) · 3.79 KB
/
styles.css
File metadata and controls
165 lines (154 loc) · 3.79 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
@font-face {
font-family: 'Px437 IBM VGA8';
src: url('assets/fonts/PxPlus_IBM_VGA_8x16-2x') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Px437 IBM DOS ISO9';
src: url('assets/fonts/Ac437_IBM_DOS_ISO9-2x') format('truetype');
font-weight: normal;
font-style: normal;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #f4f4f4;
}
.description-label {
font-weight: bold;
font-size: 1rem;
color: #444;
}
.description-text {
font-family: 'Px437 IBM VGA8', monospace;
font-size: 1rem;
color: #222;
background-color: #f0f0f0;
padding: 6px;
display: block;
margin: 6px 0 12px;
}
/* blockquote {
font-family: 'Px437 IBM DOS ISO9', monospace;
font-size: 1.05rem;
color: #1a1a1a;
background-color: #eaeaea;
padding: 10px 15px;
margin: 15px 0;
border-left: 4px solid #999;
}*/
blockquote {
font-family: 'Px437 IBM DOS ISO9', monospace;
font-size: 1.05rem;
color: #C0C0C0;
background-color: #0000AA; /* Turbo Pascal blue */
padding: 12px 16px;
margin: 20px 0;
border-left: 4px solid #C0C0C0;
white-space: pre-wrap; /* Preserves formatting for code-like blocks */
box-shadow: inset 0 0 0 1px #333; /* Optional: subtle border inside */
}
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem;
margin-top: 40px;
}
main {
background-color: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
img {
width: 100px;
height: 170px;
object-fit: contain;
display: block;
padding: 10px; /* Optional: Adds spacing */
}
.popup {
display: none;
position: fixed;
inset: 0;
background-color: rgba(0, 0, 0, 0.85);
z-index: 999;
justify-content: center;
align-items: center;
padding: 1rem;
box-sizing: border-box;
flex-direction: column;
overflow: auto; /* Allows scrolling on small screens */
}
.popup:target {
display: flex; /* turn on the popup using flexbox */
}
.popup img {
max-width: 100%;
max-height: 80vh;
width: auto;
height: auto;
box-shadow: 0 0 20px #000;
border: 2px solid white;
}
/* Close button styling */
.popup .close {
position: absolute;
top: 20px;
right: 30px;
font-size: 36px;
color: white;
text-decoration: none;
font-weight: bold;
background: none;
border: none;
cursor: pointer;
z-index: 1000;
}
.image-thumbnails {
display: flex;
gap: 10px;
margin-top: 1rem;
}
.image-thumbnails a img {
width: 40px;
height: auto;
cursor: pointer;
border: 1px solid #ccc;
padding: 4px;
background-color: #fff;
border-radius: 3px;
transition: transform 0.2s;
}
.image-thumbnails a img:hover {
transform: scale(1.1);
}
.popup .nav {
margin-top: 1rem;
display: flex;
gap: 30px;
font-size: 18px;
}
.popup .nav a {
color: #fff;
text-decoration: none;
background: #444;
padding: 8px 14px;
border-radius: 5px;
font-weight: bold;
transition: background 0.2s;
}
.popup .nav a:hover {
background: #666;
}