@jjlmoya/utils-astronomy 1.41.0 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/category/i18n/de.ts +51 -50
- package/src/category/i18n/en.ts +16 -15
- package/src/category/i18n/es.ts +16 -16
- package/src/category/i18n/fr.ts +58 -58
- package/src/category/i18n/id.ts +20 -19
- package/src/category/i18n/it.ts +20 -19
- package/src/category/i18n/ja.ts +19 -18
- package/src/category/i18n/ko.ts +20 -19
- package/src/category/i18n/nl.ts +51 -50
- package/src/category/i18n/pl.ts +58 -57
- package/src/category/i18n/pt.ts +20 -19
- package/src/category/i18n/ru.ts +51 -50
- package/src/category/i18n/sv.ts +51 -50
- package/src/category/i18n/tr.ts +20 -19
- package/src/category/i18n/zh.ts +58 -57
- package/src/layouts/ProductionCategoryPage.astro +81 -24
- package/src/layouts/ProductionUtilityPage.astro +146 -237
- package/src/layouts/production-utility-page.css +248 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
.utility-production {
|
|
2
|
+
min-height: 100vh;
|
|
3
|
+
overflow-x: clip;
|
|
4
|
+
background: radial-gradient(
|
|
5
|
+
ellipse at top,
|
|
6
|
+
var(--primary-10),
|
|
7
|
+
var(--bg-surface) 50%,
|
|
8
|
+
var(--bg-main)
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.utility-production.utility-widget-mode {
|
|
13
|
+
min-height: auto;
|
|
14
|
+
background: transparent;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.utility-production.utility-widget-mode .utility-production-inner {
|
|
18
|
+
max-width: none;
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.utility-production.utility-widget-mode .utility-tool-production {
|
|
23
|
+
margin-top: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:global(
|
|
27
|
+
.utility-production.utility-widget-mode
|
|
28
|
+
.utility-production-inner
|
|
29
|
+
> :not(.utility-tool-production)
|
|
30
|
+
) {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:global(body.utility-widget-body) {
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding-top: 0;
|
|
37
|
+
background: transparent;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:global(body.utility-widget-body > :not(main)) {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:global(body.utility-widget-body main),
|
|
45
|
+
:global(body.utility-widget-body main .utility-production),
|
|
46
|
+
:global(body.utility-widget-body main .utility-production-inner) {
|
|
47
|
+
min-height: auto;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.utility-production-inner {
|
|
51
|
+
max-width: 72rem;
|
|
52
|
+
margin: 0 auto;
|
|
53
|
+
padding: var(--space-xl) var(--space-lg) var(--space-4xl);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.utility-tool-production {
|
|
57
|
+
width: 100%;
|
|
58
|
+
margin-top: var(--space-2xl);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.utility-zoom-production {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
gap: 0.75rem;
|
|
66
|
+
margin: var(--space-xl) auto 0;
|
|
67
|
+
color: var(--text-muted);
|
|
68
|
+
font-size: 0.8rem;
|
|
69
|
+
font-weight: 700;
|
|
70
|
+
letter-spacing: 0.08em;
|
|
71
|
+
text-transform: uppercase;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.utility-zoom-controls {
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
border: 1px solid var(--border-base);
|
|
78
|
+
border-radius: 0.75rem;
|
|
79
|
+
background: color-mix(in srgb, var(--bg-surface) 90%, transparent);
|
|
80
|
+
box-shadow: 0 0.5rem 1.5rem
|
|
81
|
+
color-mix(in srgb, var(--shadow-base, #000) 35%, transparent);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.utility-zoom-production button {
|
|
85
|
+
min-width: 2.5rem;
|
|
86
|
+
border: 0;
|
|
87
|
+
border-right: 1px solid var(--border-base);
|
|
88
|
+
padding: 0.5rem 0.75rem;
|
|
89
|
+
background: transparent;
|
|
90
|
+
color: var(--text-main);
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
font-size: 1rem;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.utility-zoom-production button:last-child {
|
|
96
|
+
border-right: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.utility-zoom-production button:hover,
|
|
100
|
+
.utility-zoom-production button:focus-visible {
|
|
101
|
+
background: color-mix(in srgb, var(--astronomy-accent) 12%, transparent);
|
|
102
|
+
color: var(--astronomy-accent);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.utility-section-production,
|
|
106
|
+
.utility-related-production {
|
|
107
|
+
max-width: 56rem;
|
|
108
|
+
margin: var(--space-4xl) auto 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.utility-section-production {
|
|
112
|
+
font-size: 1.125rem;
|
|
113
|
+
line-height: 1.75;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.utility-related-heading {
|
|
117
|
+
margin-bottom: var(--space-lg);
|
|
118
|
+
text-align: center;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.utility-related-eyebrow {
|
|
122
|
+
display: block;
|
|
123
|
+
margin-bottom: 0.45rem;
|
|
124
|
+
color: var(--astronomy-accent);
|
|
125
|
+
font-size: 0.75rem;
|
|
126
|
+
font-weight: 800;
|
|
127
|
+
letter-spacing: 0.14em;
|
|
128
|
+
text-transform: uppercase;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.utility-related-production h2 {
|
|
132
|
+
margin: 0;
|
|
133
|
+
color: var(--text-main);
|
|
134
|
+
font-size: clamp(1.75rem, 4vw, 2.5rem);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.utility-related-grid {
|
|
138
|
+
display: grid;
|
|
139
|
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
140
|
+
gap: 1rem;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.utility-related-card {
|
|
144
|
+
position: relative;
|
|
145
|
+
display: flex;
|
|
146
|
+
min-height: 238px;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
padding: 1.25rem;
|
|
150
|
+
border: 1px solid
|
|
151
|
+
color-mix(in srgb, var(--astronomy-accent) 18%, var(--border-base));
|
|
152
|
+
border-radius: 1rem;
|
|
153
|
+
background: linear-gradient(
|
|
154
|
+
145deg,
|
|
155
|
+
var(--bg-surface),
|
|
156
|
+
color-mix(in srgb, var(--astronomy-accent) 4%, var(--bg-surface))
|
|
157
|
+
);
|
|
158
|
+
color: inherit;
|
|
159
|
+
text-decoration: none;
|
|
160
|
+
box-shadow: 0 0.75rem 1.75rem
|
|
161
|
+
color-mix(in srgb, var(--shadow-base, #000) 30%, transparent);
|
|
162
|
+
transition:
|
|
163
|
+
transform 0.25s ease,
|
|
164
|
+
border-color 0.25s ease,
|
|
165
|
+
box-shadow 0.25s ease;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.utility-related-card:hover,
|
|
169
|
+
.utility-related-card:focus-visible {
|
|
170
|
+
border-color: var(--astronomy-accent);
|
|
171
|
+
box-shadow: 0 1rem 2rem
|
|
172
|
+
color-mix(in srgb, var(--astronomy-accent) 16%, transparent);
|
|
173
|
+
transform: translateY(-3px);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.utility-related-card:focus-visible {
|
|
177
|
+
outline: 3px solid
|
|
178
|
+
color-mix(in srgb, var(--astronomy-accent) 55%, transparent);
|
|
179
|
+
outline-offset: 3px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.utility-related-index {
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 1.25rem;
|
|
185
|
+
right: 1.25rem;
|
|
186
|
+
color: var(--text-dimmed, var(--text-muted));
|
|
187
|
+
font-size: 0.7rem;
|
|
188
|
+
letter-spacing: 0.12em;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.utility-related-icon {
|
|
192
|
+
display: grid;
|
|
193
|
+
width: 2.75rem;
|
|
194
|
+
height: 2.75rem;
|
|
195
|
+
place-items: center;
|
|
196
|
+
margin-bottom: 1rem;
|
|
197
|
+
border: 1px solid
|
|
198
|
+
color-mix(in srgb, var(--astronomy-accent) 28%, transparent);
|
|
199
|
+
border-radius: 0.8rem;
|
|
200
|
+
background: color-mix(
|
|
201
|
+
in srgb,
|
|
202
|
+
var(--astronomy-accent) 12%,
|
|
203
|
+
var(--bg-surface)
|
|
204
|
+
);
|
|
205
|
+
color: var(--astronomy-accent);
|
|
206
|
+
font-size: 1.35rem;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.utility-related-card h3 {
|
|
210
|
+
margin: 0 0 0.5rem;
|
|
211
|
+
color: var(--text-main);
|
|
212
|
+
font-size: 1rem;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.utility-related-card p {
|
|
216
|
+
margin: 0 0 1rem;
|
|
217
|
+
color: var(--text-muted);
|
|
218
|
+
font-size: 0.9rem;
|
|
219
|
+
line-height: 1.5;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.utility-related-cta {
|
|
223
|
+
display: inline-flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
gap: 0.4rem;
|
|
226
|
+
margin-top: auto;
|
|
227
|
+
color: var(--astronomy-accent);
|
|
228
|
+
font-size: 0.75rem;
|
|
229
|
+
font-weight: 800;
|
|
230
|
+
letter-spacing: 0.08em;
|
|
231
|
+
text-transform: uppercase;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.utility-related-cta svg {
|
|
235
|
+
width: 1rem;
|
|
236
|
+
height: 1rem;
|
|
237
|
+
transition: transform 0.2s ease;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.utility-related-card:hover .utility-related-cta svg {
|
|
241
|
+
transform: translate(2px, -2px);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@media (width <= 640px) {
|
|
245
|
+
.utility-production-inner {
|
|
246
|
+
padding: var(--space-lg) var(--space-sm) var(--space-3xl);
|
|
247
|
+
}
|
|
248
|
+
}
|