tangled
alpha
login
or
join now
vt3e.cat
/
www
2
fork
atom
this repo has no descr,ription
vt3e.cat
2
fork
atom
overview
issues
pulls
pipelines
feat: slight style changes for uses item rows
vt3e.cat
2 months ago
b4fc3b33
fab1c6e8
verified
This commit was signed with the committer's
known signature
.
vt3e.cat
SSH Key Fingerprint:
SHA256:bC12nO0d6wKnJ426YBbLO7LVxmZlwJ1l2X0eqOroDV0=
+135
-16
3 changed files
expand all
collapse all
unified
split
pkgs
web
src
components
Card
CardLayout.vue
views
GalleryView.vue
UsesView.vue
+24
pkgs/web/src/components/Card/CardLayout.vue
···
119
119
</div>
120
120
121
121
<div class="card-body">
122
122
+
<aside class="card-intro">
123
123
+
<slot name="intro" />
124
124
+
</aside>
122
125
<slot />
123
126
</div>
124
127
</div>
···
250
253
flex-grow: 1;
251
254
min-height: 0;
252
255
padding: 1rem;
256
256
+
}
257
257
+
258
258
+
.card-intro {
259
259
+
margin-bottom: 1.5rem;
260
260
+
padding-bottom: 1rem;
261
261
+
border-bottom: 1px solid hsla(var(--overlay1) / 0.25);
262
262
+
263
263
+
:deep(h2) {
264
264
+
margin-top: 0;
265
265
+
font-size: 1.5rem;
266
266
+
font-weight: 900;
267
267
+
}
268
268
+
:deep(p) {
269
269
+
font-size: 1rem;
270
270
+
line-height: 1.6;
271
271
+
color: hsl(var(--text));
272
272
+
}
273
273
+
:deep(.meta) {
274
274
+
font-size: 0.875rem;
275
275
+
color: hsl(var(--subtext0));
276
276
+
}
253
277
}
254
278
255
279
@media (max-width: 600px) {
+9
pkgs/web/src/views/GalleryView.vue
···
1
1
+
<script setup lang="ts">
2
2
+
import CardLayout from '@/components/Card/CardLayout.vue'
3
3
+
</script>
4
4
+
5
5
+
<template>
6
6
+
<CardLayout title="placeholder!"> i love place holding :D </CardLayout>
7
7
+
</template>
8
8
+
9
9
+
<style scoped></style>
+102
-16
pkgs/web/src/views/UsesView.vue
···
63
63
{ label: 'os', value: 'android 16' },
64
64
],
65
65
},
66
66
+
{
67
67
+
title: 'software',
68
68
+
description: 'the tools i use to build (and break) things',
69
69
+
category: 'software',
70
70
+
items: [
71
71
+
{
72
72
+
label: 'theme',
73
73
+
value: 'catppuccin',
74
74
+
link: 'https://catppuccin.com/',
75
75
+
subtext: 'mocha or latte in the mornings :3',
76
76
+
},
77
77
+
{
78
78
+
label: 'editor',
79
79
+
value: 'zed',
80
80
+
link: 'https://zed.dev/',
81
81
+
},
82
82
+
{
83
83
+
label: 'terminal',
84
84
+
value: 'foot',
85
85
+
link: 'https://codeberg.org/dnkl/foot',
86
86
+
},
87
87
+
{
88
88
+
label: 'browser',
89
89
+
value: 'zen',
90
90
+
link: 'https://zen-browser.app/',
91
91
+
},
92
92
+
{
93
93
+
label: 'window manager',
94
94
+
value: 'niri',
95
95
+
link: 'https://github.com/YaLTeR/niri',
96
96
+
},
97
97
+
{
98
98
+
label: 'shell',
99
99
+
value: 'fish',
100
100
+
link: 'https://fishshell.com/',
101
101
+
},
102
102
+
],
103
103
+
},
66
104
]
105
105
+
const lastUpdated = '2025-12-31'
106
106
+
const formattedLastUpdated = new Date(lastUpdated).toLocaleDateString(undefined, {
107
107
+
year: 'numeric',
108
108
+
month: 'long',
109
109
+
day: 'numeric',
110
110
+
})
67
111
</script>
68
112
69
113
<template>
70
70
-
<CardLayout title="placeholder!">
114
114
+
<CardLayout title="uses">
115
115
+
<template #intro>
116
116
+
<h2 id="intro-heading">about</h2>
117
117
+
<p>this is list of the hardware and software i use on a daily basis!</p>
118
118
+
<p class="meta">
119
119
+
last updated: <time :datetime="lastUpdated">{{ formattedLastUpdated }}</time>
120
120
+
</p>
121
121
+
</template>
122
122
+
71
123
<div class="uses-sections">
72
124
<section v-for="section in useSections" :key="section.title" class="uses-section">
73
125
<div class="section-header">
···
160
212
161
213
.uses-table {
162
214
width: 100%;
215
215
+
border-spacing: 0;
163
216
border-collapse: separate;
164
164
-
border-spacing: 0;
217
217
+
border-spacing: 0 0.1rem;
218
218
+
165
219
overflow: hidden;
166
220
table-layout: fixed;
167
167
-
background-color: hsla(var(--surface0) / 0.1);
168
168
-
border-radius: 0.5rem;
169
169
-
border: 1px solid hsla(var(--overlay1) / 0.25);
170
221
171
222
* {
172
223
transition: none;
···
187
238
color: hsl(var(--text));
188
239
font-size: 1rem;
189
240
font-weight: 500;
241
241
+
vertical-align: top;
190
242
191
243
.item-subtext {
192
244
display: block;
···
198
250
}
199
251
200
252
tbody {
201
201
-
tr {
202
202
-
--opacity: 0.2;
203
203
-
background-color: hsla(var(--overlay0) / 0.15);
204
204
-
&:nth-child(even) {
205
205
-
--opacity: 0.15;
206
206
-
background-color: hsla(var(--overlay0) / 0.05);
253
253
+
tr.item-row {
254
254
+
.item-label {
255
255
+
font-weight: 700;
256
256
+
}
257
257
+
258
258
+
td {
259
259
+
background-color: hsla(var(--base) / 0.5);
260
260
+
}
261
261
+
262
262
+
&:first-child {
263
263
+
td:first-child {
264
264
+
border-top-left-radius: 0.5rem;
265
265
+
}
266
266
+
td:last-child {
267
267
+
border-top-right-radius: 0.5rem;
268
268
+
}
269
269
+
}
270
270
+
&:not(:first-child) td {
271
271
+
&:first-child {
272
272
+
border-top-left-radius: 0.25rem;
273
273
+
border-bottom-left-radius: 0.25rem;
274
274
+
}
275
275
+
&:last-child {
276
276
+
border-top-right-radius: 0.25rem;
277
277
+
border-bottom-right-radius: 0.25rem;
278
278
+
}
279
279
+
}
280
280
+
&:last-child {
281
281
+
td:first-child {
282
282
+
border-bottom-left-radius: 0.5rem;
283
283
+
}
284
284
+
td:last-child {
285
285
+
border-bottom-right-radius: 0.5rem;
286
286
+
}
207
287
}
208
208
-
&:hover {
209
209
-
background-color: hsla(var(--overlay1) / var(--opacity));
288
288
+
289
289
+
a {
290
290
+
color: hsl(var(--accent));
291
291
+
text-decoration: none;
292
292
+
font-weight: 600;
293
293
+
&:hover {
294
294
+
text-decoration: underline;
295
295
+
}
210
296
}
211
211
-
}
212
297
213
213
-
tr:last-child td {
214
214
-
border-bottom: none;
298
298
+
&:hover td {
299
299
+
background-color: hsla(var(--page-accent) / 0.05);
300
300
+
}
215
301
}
216
302
}
217
303
}