willthereader-jumpchain_website.web.val.run
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
/** @jsxImportSource https://esm.sh/hono@latest/jsx **/
import { html } from "https://esm.town/v/stevekrouse/html?v=5";
import { Context, Hono } from "npm:hono";
export const homepage = (c: Context) => {
return c.html(
<html>
<head>
<title>What is Jumpchain?</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style
dangerouslySetInnerHTML={{
__html: `
:root {slate1: hsl(200, 7%, 8.8%);--slate2: hsl(195, 7.1%, 11%);--slate3: hsl(197, 6.8%, 13.6%);--slate4: hsl(198, 6.6%, 15.8%);--slate5: hsl(199, 6.4%, 17.9%);--slate6: hsl(201, 6.2%, 20.5%);--slate7: hsl(203, 6%, 24.3%);--slate8: hsl(207, 5.6%, 31.
}
/* Base styles that apply to all screen sizes */
body {
font-family: system-ui, sans-serif;
margin: 0;
padding: 0;
color: var(--slate12);
background-color: var(--slate1);
}
.container {
margin: 0 auto;
padding: 15px;
max-width: 800px;
line-height: 1.5;
}
/* Styles for larger screens */
@media (min-width: 768px) {
.container {
padding: 20px;
max-width: 65ch;
}
}
/* Base font size for the whole document */
html {
font-size: 16px;
}
/* Increase base font size slightly on larger screens */
@media (min-width: 768px) {
html {
font-size: 18px;
}
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
margin-top: 1.5em;
margin-bottom: 0.5em;
line-height: 1.2;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.5rem;
}
/* Larger headings on bigger screens */
@media (min-width: 768px) {
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
}
/* Links */
a {
color: var(--blue10);
text-decoration: none;
display: inline-block;
padding: 0.5em 0;
transition: color 0.3s ease;
}
a:hover, a:focus {
color: var(--blue11);
text-decoration: underline;
}
/* Adjust link styles for larger screens */
@media (min-width: 768px) {
a {
padding: 0;
}
}
/* Code blocks */
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
August 21, 2024