-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
309 lines (263 loc) Β· 12.1 KB
/
index.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!DOCTYPE html>
<html>
<head>
<title>Screen β CSS for desktops, tablets, & phones</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="CSS for desktops, tablets, and phones">
<meta name="keywords" content="css, screen, gduverger, stylesheet">
<link rel="shortcut icon" type="image/png" href="static/triangular-ruler.png">
<link rel="stylesheet" media="screen" href="screen-0.4.0.css">
<link rel="stylesheet" href="static/hljs.css">
</head>
<body>
<!-- GitHub Corners: http://tholman.com/github-corners/ -->
<a href="https://github.com/gduverger/screen" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
<h1>
<span class="xxbold">Screen</span>
—
CSS for desktops, tablets, and phones
</h1>
<p>
<img src="static/star.png" class="emoji">
<a href="https://github.com/gduverger/screen">Star</a> on GitHub.
<br>
<img src="static/bean.png" class="emoji">
<a href="https://cash.app/$gduverger">Donate</a> a coffee or two.
<br>
<img src="static/link.png" class="emoji">
<a href="screen-0.4.0.css">Download</a> 0.4.0 or link to it.
</p>
<code class="block small padding box info"><link rel="stylesheet" <span class="wide"><br> </span>media="screen" <span class="wide"><br> </span>href="<a href="https://screencss.com/screen-0.4.0.css">https://screencss.com/screen-0.4.0.css</a>"></code>
<div class="p">
Components:
<ul>
<li><a href="#typography">Typography</a></li>
<li><a href="#headings">Headings</a></li>
<li><a href="#rulers">Rulers</a></li>
<li><a href="#layout">Layout</a></li>
<li><a href="#lists">Lists</a></li>
<li><a href="#boxes">Boxes</a></li>
<li><a href="#forms">Forms</a></li>
<li><a href="#tables">Tables</a></li>
<li><a href="#responsive">Responsive</a></li>
</ul>
</div>
<div class="hr" id="typography">
<span class="bold">Typography</span>
</div>
<p>This is <b><b></b>, <span class="b">.b</span>, <span class="bold">.bold</span>, <strong><strong></strong>, and <span class="strong">.strong</span> (700).</p>
<p>This is <span class="xb">.xb</span> and <span class="xbold">.xbold</span> (800).
<p>This is <span class="xxb">.xxb</span>, <span class="xxbold">.xxbold</span>, and <span class="black">.black</span> (900).
<p>This is <i><i></i>, <span class="i">.i</span>, <em><em></em>, and <span class="em">.em</span>.</p>
<p>This is <s><s></s>, <span class="strike">.strike</span>, <del><del></del>, and <span class="del">.del</span>.</p>
<p>This is <span class="grey">.grey</span> and <span class="lightgrey">.lightgrey</span>.</p>
<p>This is <code><code></code>, <span class="code">.code</span>, and <span class="mono">.mono</span>.</p>
<p>This is <mark><mark></mark>, <span class="mark">.mark</span>, and <span class="highlight">.highlight</span>.</p>
<p>This is <a href="#"><a></a>, <a href="#" class="inherit"><a.inherit></a>, and <a href="#" class="grey"><a.grey></a>.</p>
<p>This is <sub><sub></sub>, <span class="sub">.sub</span>, <sup><sup></sup>, and <span class="sup">.sup</span>.</p>
<p>This is <span class="xs">.xs</span> and <span class="xsmall">.xsmall</span> (12px).</p>
<p>This is <small><small></small>, <span class="s">.s</span>, and <span class="small">.small</span> (14px).</p>
<p>This is <span class="m">.m</span> and <span class="medium">.medium</span> (16px).</p>
<p>This is <span class="l">.l</span> and <span class="large">.large</span> (18px).</p>
<p>This is <span class="xl">.xl</span> and <span class="xlarge">.xlarge</span> (24px).</p>
<p>This is <span class="xxl">.xxl</span> and <span class="xxlarge">.xxlarge</span> (48px).</p>
<div class="hr" id="headings">
<span class="bold">Headings</span>
</div>
<h1>This is <code><h1></code> and <code>.h1</code>.</h1>
<h2>This is <code><h2></code> and <code>.h2</code>.</h2>
<h3>This is <code><h3></code> and <code>.h3</code>.</h3>
<h4>This is <code><h4></code> and <code>.h4</code>.</h4>
<div class="hr" id="rulers">
<span class="bold">Rulers</span>
</div>
<div class="p">
This is <code><hr></code>:
<hr>
</div>
<div class="p">
This is <code>.hr</code>:
<div class="hr"></div>
</div>
<div class="p">
This is <code><div class="hr"><span>Foo</span></div></code>:
<div class="hr">
<span>Foo</span>
</div>
</div>
<div class="hr" id="layout">
<span class="bold">Layout</span>
</div>
<div class="p">
This is a <code><p></code> and <code>.p</code>.
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc at imperdiet sem. Nam a orci in ligula egestas rutrum non at mauris. Suspendisse luctus enim augue, non ullamcorper leo porta et. Praesent sit amet semper tortor.</p>
</div>
<div class="p">
This is <code>.left</code>:
<div class="left">Lorem ipsum dolor sit amet.</div>
</div>
<div class="p">
This is <code>.center</code>:
<div class="center">Lorem ipsum dolor sit amet.</div>
</div>
<div class="p">
This is <code>.right</code>:
<div class="right">Lorem ipsum dolor sit amet.</div>
</div>
<div class="hr" id="lists">
<span class="bold">Lists</span>
</div>
<div class="p">
This is <code><ul></code>:
<ul>
<li>This is <code><li></code>.</li>
<li>Etiam id ex ac elit volutpat interdum. Fusce sodales maximus tellus, nec egestas odio euismod pulvinar. Cras sed nunc vel massa interdum euismod nec a quam.</li>
</ul>
</div>
<div class="p">
This is <code><ol></code>:
<ol>
<li>This is <code><li></code>.</li>
<li>Etiam id ex ac elit volutpat interdum. Fusce sodales maximus tellus, nec egestas odio euismod pulvinar. Cras sed nunc vel massa interdum euismod nec a quam.</li>
</ol>
</div>
<div class="p">
This is <code><ol.nostyle></code>:
<ol class="nostyle">
<li>This is <code><li></code>.</li>
<li>Etiam id ex ac elit volutpat interdum. Fusce sodales maximus tellus, nec egestas odio euismod pulvinar. Cras sed nunc vel massa interdum euismod nec a quam.</li>
</ol>
</div>
<div class="hr" id="boxes">
<span class="bold">Boxes</span>
</div>
<p>Those are <code>.box</code>.</p>
<div class="p box action"><i>Hey!</i> This is <span class="mono">.box.action</span>. You should do something. <a href="">Link</a></div>
<div class="p box info"><i>Wait!</i> This is <span class="mono">.box.info</span>. You should know something. <a href="">Link</a></div>
<div class="p box error"><i>Oh, no!</i> This is <span class="mono">.box.error</span>. You should fix something. <a href="">Link</a></div>
<div class="p box success"><i>Yay!</i> This is <span class="mono">.box.success</span>. You did something. <a href="">Link</a></div>
<div class="hr" id="forms">
<span class="bold">Forms</span>
</div>
<form class="p">
<div>
This is <code>input</code>:
<input value="text">
</div>
<br>
<div>
This is <code>input[type="button"]</code>:
<input type="button" value="text">
</div>
<div>
This is <code>input[type="button"].primary</code>:
<input type="button" class="primary" value="text">
</div>
<div>
This is <code>input[type="button"].disabled</code>:
<input type="button" class="disabled" value="text" disabled="disabled">
</div>
<br>
<div>
This is <code>input[type="submit"]</code>:
<input type="submit" value="text">
</div>
<div>
This is <code>input[type="submit"].primary</code>:
<input type="submit" class="primary" value="text">
</div>
<div>
This is <code>input[type="submit"].disabled</code>:
<input type="submit" class="disabled" value="text" disabled="disabled">
</div>
<br>
<div>
This is <code>button</code>:
<button>text</button>
</div>
<div>
This is <code>button.primary</code>:
<button class="primary">text</button>
</div>
<div>
This is <code>button.disabled</code>:
<button class="disabled" disabled="disabled">text</button>
</div>
<br>
<div>
This is <code>textarea</code>:
<textarea>text</textarea>
</div>
</form>
<div class="hr" id="tables">
<span class="bold">Tables</span>
</div>
<table>
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
<tr>
<td>One</td>
<td>Two</td>
<td>Three</td>
</tr>
<tr class="nostyle">
<td>Four</td>
<td>Five</td>
<td>Six</td>
</tr>
</table>
<div class="hr" id="responsive">
<span class="bold">Responsive</span>
</div>
<h3><code>.wide</code></h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. ¶
<br class="wide">Vestibulum mollis semper porttitor. ¶
<br class="wide">Vestibulum tincidunt, dui ut cursus commodo, felis tellus aliquet neque, quis vulputate augue lacus ut ligula. ¶
<br class="wide">Proin eget aliquam neque. ¶
</p>
<h3><code>.narrow</code></h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. ¶
<br class="narrow">Vestibulum mollis semper porttitor. ¶
<br class="narrow">Vestibulum tincidunt, dui ut cursus commodo, felis tellus aliquet neque, quis vulputate augue lacus ut ligula. ¶
<br class="narrow">Proin eget aliquam neque. ¶
</p>
<hr>
<p class="grey xsmall center">
<a href="https://gduverger.com/">About</a>
·
<a href="https://app.usefathom.com/share/aaeevniz/screen">Analytics</a>
<br>
All emojis designed by <a href="https://openmoji.org/">OpenMoji</a> β the open-source emoji and icon project. License: <a href="CC BY-SA 4.0">CC BY-SA 4.0</a>
</p>
<!-- Fathom - simple website analytics - https://usefathom.com -->
<script>
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, 'https://cdn.usefathom.com/tracker.js', 'fathom');
fathom('set', 'siteId', 'AAEEVNIZ');
// fathom('trackPageview');
// DOC: https://usefathom.com/support/localhost
var fathomExcludeHostnames = [
'localhost',
'127.0.0.0',
'127.0.0.1'
];
if (fathomExcludeHostnames.indexOf(window.location.hostname) === -1) {
fathom('trackPageview');
}
</script>
<!-- / Fathom -->
</body>
</html>