-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
223 lines (199 loc) · 7.81 KB
/
Copy pathmain.css
File metadata and controls
223 lines (199 loc) · 7.81 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/* ════════════════════════════════════════════════════════
FRUTIGER AERO — Frutiger Aero Archive tutorials
Tile : #314DFF → #00D9FF (aero_tile.css)
Button: #343434 → #1F1F1F (aero_button.css)
════════════════════════════════════════════════════════ */
:root {
/* ── aero_tile.css ── */
--tile-top: #314DFF;
--tile-bottom: #00D9FF;
--tile-border: rgba(0, 0, 0, 0.2);
--gloss-hi: rgba(217, 217, 217, 0.50); /* Ellipse 1 top */
--gloss-lo: rgba(115, 115, 115, 0.04); /* Ellipse 1 fade */
/* ── aero_button.css ── */
--btn-top: #343434;
--btn-mid: #1F1F1F;
--btn-bot: #3D3D3D;
/* ── desktop background ── */
--sky-top: #b0dfff;
--sky-bottom: #1a6eb5;
/* ── content / text ── */
--content-bg: rgba(255, 255, 255, 0.93);
--text: #0a1628;
--link: #0044cc;
--link-visited: #5500aa;
}
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ── BASE ── */
body {
background: linear-gradient(170deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
font-family: "Segoe UI", Calibri, Tahoma, Arial, sans-serif;
font-size: 13px;
color: var(--text);
min-height: 100vh;
padding-bottom: 56px; /* room for taskbar */
}
/* ══════════════════════════════════════════════
DESKTOP CANVAS
══════════════════════════════════════════════ */
.desktop {
position: relative;
width: 880px;
min-height: 700px;
margin: 30px auto 50px;
}
/* ══════════════════════════════════════════════
WINDOW — aero_tile.css
══════════════════════════════════════════════ */
.window {
position: absolute;
border-radius: 15px;
border: 1px solid var(--tile-border);
/* Blue → cyan gradient from aero_tile.css Rectangle 1 */
background: linear-gradient(180deg, var(--tile-top) 50.48%, var(--tile-bottom) 100%);
/* Inner edge shadows from aero_tile.css Mask group */
box-shadow:
inset 0px -4px 0px rgba(0, 0, 0, 0.25),
inset 0px 4px 0px rgba(255, 255, 255, 0.25),
0px 8px 20px rgba(0, 0, 0, 0.35);
overflow: hidden; /* clips the gloss ellipse and content to border-radius */
}
/* Glossy ellipse overlay — aero_tile.css "Ellipse 1"
Placed on the top half of each window; fades to near-transparent.
z-index 1 keeps it under the titlebar text and content. */
.window::before {
content: '';
position: absolute;
top: -20%;
left: -20%;
width: 140%;
height: 65%;
background: linear-gradient(180deg,
var(--gloss-hi) 23.46%,
var(--gloss-lo) 100%
);
border-radius: 50%;
pointer-events: none;
z-index: 1;
}
/* ══════════════════════════════════════════════
TITLE BAR
Transparent so the blue gradient + gloss show through.
z-index 2 keeps text/buttons above the ellipse (z-index 1).
══════════════════════════════════════════════ */
.titlebar {
position: relative;
z-index: 2;
height: 30px;
background: transparent;
color: #ffffff;
font-size: 12px;
font-weight: 700;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
padding: 0 6px;
display: flex;
justify-content: space-between;
align-items: center;
user-select: none;
}
.titlebar > span {
display: flex;
align-items: center;
gap: 5px;
overflow: hidden;
white-space: nowrap;
}
.titlebar-icon { font-size: 14px; line-height: 1; flex-shrink: 0; }
.window-sep {
position: relative;
z-index: 2;
height: 1px;
background: rgba(0, 0, 0, 0.2);
}
/* ══════════════════════════════════════════════
TITLEBAR BUTTONS — aero_button.css (scaled down)
══════════════════════════════════════════════ */
.titlebar-buttons { display: flex; gap: 4px; flex-shrink: 0; margin-left: 6px; }
.titlebar-buttons button {
width: 22px;
height: 16px;
font-size: 9px;
font-family: inherit;
font-weight: bold;
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
/* aero_button.css — normal state */
background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-mid) 50%, var(--btn-bot) 100%);
box-shadow:
0px 4px 6px rgba(0, 0, 0, 0.30),
inset 0px -2px 1px rgba(0, 0, 0, 0.4),
inset 0px 2px 1px rgba(255, 255, 255, 0.3);
transition: filter 0.1s;
}
.titlebar-buttons button:hover { filter: brightness(1.25); }
/* aero_button_pressed_in.css — inset values drop from 2px to 1px */
.titlebar-buttons button:active {
box-shadow:
0px 4px 6px rgba(0, 0, 0, 0.30),
inset 0px -1px 1px rgba(0, 0, 0, 0.4),
inset 0px 1px 1px rgba(255, 255, 255, 0.3);
filter: brightness(0.85);
}
/* ══════════════════════════════════════════════
CONTENT
Opaque white so it covers the blue gradient + gloss below.
z-index 2 to sit above the ::before ellipse.
══════════════════════════════════════════════ */
.content {
position: relative;
z-index: 2;
background: var(--content-bg);
padding: 10px 12px;
border-radius: 0 0 13px 13px;
}
.content p { line-height: 1.65; margin-bottom: 6px; }
.content p:last-child { margin-bottom: 0; }
.content ul { padding-left: 18px; list-style-type: disc; }
.content li { line-height: 1.7; }
.content a { color: var(--link); }
.content a:visited { color: var(--link-visited); }
.content del { color: #888; }
/* ══════════════════════════════════════════════
SPOILER
White text on near-white background = invisible.
Revealed in Aero cyan on selection.
══════════════════════════════════════════════ */
.spoiler-text { color: #ffffff; }
.spoiler-text::selection {
color: var(--text);
background-color: #00D9FF;
}
/* ══════════════════════════════════════════════
MOBILE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
body { padding-bottom: 0; }
.desktop {
position: static;
width: 100%;
min-height: unset;
margin: 0;
padding: 10px;
display: flex;
flex-direction: column;
gap: 10px;
}
.window {
position: static;
width: 100% !important;
}
.taskbar { display: none; }
}