forked from acmcsufoss/acmcsuf.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path+page.svelte
More file actions
90 lines (72 loc) · 1.5 KB
/
Copy path+page.svelte
File metadata and controls
90 lines (72 loc) · 1.5 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
<script lang="ts">
import type { PageData } from './$types';
import Spacing from '$lib/public/legacy/spacing.svelte';
import Color from './color.svelte';
export let data: PageData;
</script>
<svelte:head>
<title>Colors | ACM at CSUF</title>
</svelte:head>
<Spacing --min="175px" --med="200px" --max="200px" />
<main class="responsive-width">
<section id="top">
<div class="header">
<h1 class="size-lg">Colors</h1>
</div>
<p>
Documentation generated straight from the <a href="/global.css">global.css</a> file.
</p>
<table>
<tbody>
{#each data.colors as color (color.id)}
<Color data={color} />
{/each}
</tbody>
</table>
</section>
<p>
<a href="#top">Back to top</a> | <a href="/global.css">global.css</a>
</p>
</main>
<Spacing --min="40px" --med="95px" --max="120px" />
<style>
.responsive-width {
width: min(80ch, 80vw);
margin: 0 auto;
}
@media (max-width: 480px) {
.responsive-width {
width: 100%;
}
}
p {
margin: 1em 0;
word-break: break-word;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
main section {
margin: 0 auto;
margin-bottom: 50px;
}
main h1 {
margin: 0;
}
main a {
transition: 0.25s ease-in-out;
}
main:hover {
color: var(--acm-blue);
}
main table {
width: 100%;
table-layout: fixed;
}
main table :global(td) {
width: 50%;
}
</style>