-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
171 lines (168 loc) · 3.44 KB
/
Copy pathindex.html
File metadata and controls
171 lines (168 loc) · 3.44 KB
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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>OpenTechConf</title>
<meta name="description" content="OpenTechConf" />
<style>
:root {
--foreground-color: #f9ce4c;
--background-color: #fefde8;
}
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background: var(--background-color);
font-size: 16pt;
color: black;
}
blockquote {
position: relative;
text-align: center;
}
blockquote:before {
position: relative;
left: -28pt;
display: block;
content: '\201c';
color: #F3CB02;
font-size: 40px;
text-align: left;
line-height: 2px;
}
blockquote:after {
position: relative;
right: -28pt;
display: block;
content: '\201d';
color: #F3CB02;
font-size: 26pt;
text-align: right;
line-height: 2px;
}
a {
color: #F3CB02;
text-decoration: none;
transition: all 0.5s;
}
nav ul {
list-style-type: none;
padding: 0;
font-size: 16pt;
}
nav ul li {
display: inline;
}
nav ul li a {
display: block;
width: 100%;
text-align: center;
background-color: rgba(243, 203, 2, 0);
line-height: 2em;
}
nav ul li a:hover {
background-color: rgba(243, 203, 2, 0.1);
}
main {
width: 100%;
max-width: 600px;
margin: 0 auto;
}
.logo {
display: block;
background-image: url("/keyvisual.jpg");
background-size: contain;
background-position: center;
background-repeat: no-repeat;
color: rgba(243, 203, 2, 0);
height: 30vh;
margin: 0 auto;
font-size: 1pt;
}
.loading {
text-align: center;
height: 100vh;
width: 100%;
line-height: 100vh;
}
@-webkit-keyframes loading-indicator-spin {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@keyframes loading-indicator-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.loading-indicator {
display: inline-block;
position: relative;
border-radius: 50%;
border: solid 1px var(--foreground-color);
background-color: var(--foreground-color);
width: 3vh;
height: 3vh;
overflow: hidden;
-webkit-animation-name: loading-indicator-spin;
-webkit-animation-duration: 0.5s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-name: loading-indicator-spin;
animation-duration: 0.5s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
.loading-indicator:after {
display: block;
background-color: var(--background-color);
content: '';
width: 60%;
height: 60%;
position: absolute;
left: 50%;
top: 50%;
}
</style>
</head>
<body>
<main>
<noscript>
<!--
Fallback display for non-javascript browsers and search engines.
-->
<style>.loading { display: none; }</style>
<h1 class="logo">OpenTechConf</h1>
<blockquote>
Promotes and Supports Open Source Technology.
</blockquote>
<nav>
<ul>
<li><a href="/2025/" target="_blank">2025</a></li>
</ul>
</nav>
</noscript>
<!--
Redirect user to the latest conference year for user convenience.
Note to search engine: we are just being helpful. No monkey business here :-)
-->
<div class="loading"><span class="loading-indicator"></span></div>
<script>
// force HTTPS for non-localhost site
if (location.hostname != 'localhost' && location.protocol != 'https:') {
window.location.protocol = "https:";
window.location.reload();
}
// redirect to the latest year
window.location = "/2025/";
</script>
</main>
</body>
</html>