-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
90 lines (90 loc) · 2.95 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
<!DOCTYPE html>
<html>
<head>
<title>C++ standards</title>
<style>
html, body {
margin: 0;
padding: 0;
overflow: hidden;
}
body {
width: 100vw;
height: 100vh;
overflow: hidden;
background: #282C34;
}
#content {
background: #fff;
font-family: sans-serif;
border-radius: 10px;
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
max-width: calc(min(800px, 80vw));
max-height: 80vh;
overflow: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 30px;
}
#logos {
font-size: 0; /* hack for whitespace between the img/div tags */
}
#logos .logo-wrapper {
width: 50%;
display: inline-block;
}
#logos .logo-wrapper img {
max-width: 100%;
}
#cpp {
transform: scale(0.9);
}
#content h1 {
text-align: center;
font-size: 3em;
}
#content ul {
padding: 0;
text-align: center;
margin-bottom: 0;
}
#content li {
list-style: none;
margin-top: 15px;
}
#content a {
color: #498df6;
font-size: 1.3em;
}
#content .doc {
color: #a6a6a6;
font-size: 1.3em;
font-style: italic;
}
</style>
</head>
<body>
<div id="content">
<div id="logos">
<div class="logo-wrapper">
<img src="https://pydong.org/assets/img/avatar.svg" />
</div>
<div class="logo-wrapper">
<img src="https://upload.wikimedia.org/wikipedia/commons/1/18/ISO_C%2B%2B_Logo.svg" id="cpp" />
</div>
</div>
<h1>C++ Standards</h1>
<em>Please note that these are unofficial self-hosted copies of the official drafts.</em>
<ul>
<li><a href="c++">Latest draft</a></li>
<li><a href="c++23">C++23</a> <span class="doc">(N4950)</span></li>
<li><a href="c++20">C++20</a> <span class="doc">(N4868)</span></li>
<li><a href="c++17">C++17</a> <span class="doc">(N4659)</span></li>
<li><a href="c++14">C++14</a> <span class="doc">(N4140)</span></li>
<li><a href="c++11">C++11</a> <span class="doc">(N3337)</span></li>
</ul>
</div>
</body>
</html>