-
Notifications
You must be signed in to change notification settings - Fork 0
/
body-copy.html
164 lines (157 loc) · 5.72 KB
/
body-copy.html
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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>Stylament</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/img/logo.svg" rel="shortcut icon">
<link rel="stylesheet" href="/css/index.scss">
<link rel="stylesheet" href="/css/fonts.scss">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/css/dark.scheme.scss">
<link rel="stylesheet" media="not (prefers-color-scheme: dark)" href="/css/light.scheme.scss">
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/css/dark.scheme.css">
<link rel="stylesheet" media="not (prefers-color-scheme: dark)" href="/css/light.scheme.css">
<style>
body {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--line-root-abs);
}
body>aside:first-of-type {
grid-column: 4;
grid-row: 1;
position: sticky;
inset-block-start: var(--line-root-abs);
}
body>main {
grid-column: 1 / 4;
grid-row: 1 / 3;
}
body>footer {
grid-column: 1 / 5;
}
</style>
</head>
<body class="lay-page-center dev-debug-baseline-grid">
<aside class="document-toc-container dev-debug-baseline-grid">
<section class="document-toc">
<header class="clr-alternate">
<h2 class="document-toc-heading">Table of Contents</h2>
</header>
<ul class="document-toc-list" id="toc-entries">
<li><a href="#headings_paragraphs">Headings & paragraphs</a></li>
<li><a href="#multiline_headings">Multiline headings</a></li>
<li><a href="#thematic_break">Thematic breaks (<code><hr></code>)</a></li>
<li><a href="#text_level_semantics">Text level semantics</a></li>
</ul>
</section>
</aside>
<main>
<h1>Body Copy Sample</h1>
<section id="headings_paragraphs" class="dev-lorem-ipsum">
<h1>Headline 1</h1>
<h2>Headline 2</h2>
<h3>Headline 3</h3>
<h4>Headline 4</h4>
<h5>Headline 5</h5>
<h6>Headline 6</h6>
<hr>
<h1>Headline 1</h1>
<p></p>
<h2>Headline 2</h2>
<p></p>
<h3>Headline 3</h3>
<p></p>
<h4>Headline 4</h4>
<p></p>
<h5>Headline 5</h5>
<p></p>
<h6>Headline 6</h6>
<p></p>
<p></p>
<p></p>
</section>
<section id="multiline_headings" class="dev-lorem-ipsum">
<h1>Headline 1 <br>with line break</h1>
<p></p>
<h2>Headline 2 <br>with line break</h2>
<p></p>
<h3>Headline 3 <br>with line break</h3>
<p></p>
<h4>Headline 4 <br>with line break</h4>
<p></p>
<h5>Headline 5 <br>with line break</h5>
<p></p>
<h6>Headline 6 <br>with line break</h6>
<p></p>
</section>
<section id="multiline_headings_2" class="dev-lorem-ipsum">
<h1>Headline 1 <br>with two <br>line breaks</h1>
<p></p>
<h2>Headline 2 <br>with two <br>line breaks</h2>
<p></p>
<h3>Headline 3 <br>with two <br>line breaks</h3>
<p></p>
<h4>Headline 4 <br>with two <br>line breaks</h4>
<p></p>
<h5>Headline 5 <br>with two <br>line breaks</h5>
<p></p>
<h6>Headline 6 <br>with two <br>line breaks</h6>
<p></p>
</section>
<section id="long_text_headings" class="dev-lorem-ipsum">
<h1>Long Headline 1 <span class="dev-lorem-ipsum"></span></h1>
<p></p>
<h2>Long Headline 2 <span class="dev-lorem-ipsum"></span></h2>
<p></p>
<h3>Long Headline 3 <span class="dev-lorem-ipsum"></span></h3>
<p></p>
<h4>Long Headline 4 <span class="dev-lorem-ipsum"></span></h4>
<p></p>
<h5>Long Headline 5 <span class="dev-lorem-ipsum"></span></h5>
<p></p>
<h6>Long Headline 6 <span class="dev-lorem-ipsum"></span></h6>
<p></p>
</section>
<section id="thematic_break" class="dev-lorem-ipsum">
<h2>Thematic Break</h2>
<p></p>
<hr>
<p></p>
</section>
<section id="text_level_semantics" class="dev-lorem-ipsum">
<h2>Text Level Semantics</h2>
<p>Normal text <small>small text</small> more normal text.<br>
Normal text <sup>superscript</sup> more normal text.<br>
Normal text <sub>subscript</sub> more normal text.<br>
Normal text <sub>subscript<sub>subsubscript<sub>subsubsubscript</sub></sub>subscript</sub> more normal text.<br>
Normal text <sup>superscript<sup>supersuperscript<sup>supersupersuperscript</sup></sup>superscript</sup> more
normal text.<br>
Normal text
<sup>superscript<sup>supersuperscript<sub>subsupersuperscript</sub></sup><sub>subsuperscript<sub>subsubsuperscript</sub></sub>superscript</sup>
more normal text.<br>
</p>
<p><strong>Some small print:</strong> <small class="dev-lorem-ipsum"></small></p>
<p><strong>Some code:</strong> <code>if (!true) return false;</code> <span class="dev-lorem-ipsum"></span></p>
<p><strong>Some kbd:</strong> <kbd>⇧</kbd> + <kbd>esc</kbd> <span class="dev-lorem-ipsum"></span></p>
<p><strong>Some samp:</strong>
<samp>“Lorem ipsum” is placeholder text.</samp>
<span class="dev-lorem-ipsum"></span>
</p>
</section>
</main>
<footer class="clr-alternate">
<section>
<p class="footer-copyright">© 2023 Simon Schrape</p>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/example/layout.html">Layout example</a></li>
<li><a href="/example/body-copy.html">Body copy example</a></li>
<li><a href="/example/color.html">Color table</a></li>
<li><a href="/example/elements-showcase.html">All elements showcase</a></li>
<li><a href="https://stylament.sim.ilitu.de/sassdoc/index.html">Documentation</a></li>
</ul>
</section>
</footer>
</body>
</html>