-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
127 lines (123 loc) · 3.31 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#000000">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link href="https://www.vertexshaderart.com/static/resources/images/vertexshaderart-icon.png" rel="shortcut icon" type="image/png">
<link href="https://www.vertexshaderart.com/static/resources/images/vs57.png" rel="apple-touch-icon" />
<link href="https://www.vertexshaderart.com/static/resources/images/vs76.png" rel="apple-touch-icon" sizes="76x76" />
<link href="https://www.vertexshaderart.com/static/resources/images/vs120.png" rel="apple-touch-icon" sizes="120x120" />
<link href="https://www.vertexshaderart.com/static/resources/images/vs152.png" rel="apple-touch-icon" sizes="152x152" />
<link href="https://www.vertexshaderart.com/static/resources/images/vs180.png" rel="apple-touch-icon" sizes="180x180" />
<link href="https://www.vertexshaderart.com/static/resources/images/vs192.png" rel="icon" sizes="192x192" />
<link href="https://www.vertexshaderart.com/static/resources/images/vs128.png" rel="icon" sizes="128x128" />
<title>vertexshaderart</title>
<style>
:root {
color-scheme: dark;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
html, body {
background-color: #000;
color: #fff;
font-family: monospace;
}
#banner {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
font-size: x-large;
align-items: center;
margin-bottom: 5px;
}
#banner>div {
display: flex;
align-items: center;
gap: 5px;
}
#banner a {
border: 1px solid #888;
padding: 0.25em;
border-radius: 0.25em;
font-size: medium;
}
#search {
display: flex;
width: 100%;
}
#search>div {
display: flex;
align-items: center;
}
#text {
flex: 1 1 auto;
}
a {
text-decoration: none;
color: white;
}
input {
flex: 1 1 auto;
width: 100%;
background-color: #222;
border: none;
padding: 0.25em;
}
#toc {
display: flex;
flex-wrap: wrap;
justify-content: center; /* Centers the items in the container */
width: 100%; /* Set to the desired width or keep it fluid */
max-width: 100%;
}
#toc>div {
display: inline-block;
width: 400px;
max-width: 100%;
padding: 5px;
}
.thumbnail {
width: 400px;
max-width: 100%;
height: 240px;
display: block;
background-size: cover;
background-position: 50% 50%;
}
.meta {
display: flex;
justify-content: space-between;
width: 100%;
}
.meta a {
text-overflow: ellipsis;
overflow: hidden;
}
</style>
<script defer type="module" src="src/js/browser.js"></script>
</head>
<body>
<div id="banner">
<div>
<div>vertexshaderart.com</div>
</div>
<div id="links">
<a href="src">new</a>
<a target="_blank" href="https://www.youtube.com/channel/UC6IqL5vkMJpqBG_bFDjsaxw">lessons</a>
<a href="https://github.com/greggman/vertexshaderart.com">github</a>
</div>
</div>
<div id="search">
<div id="text"><input type="text" placeholder="?"></div>
</div>
<div id="toc"></div>
</body>
</html>