-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
258 lines (248 loc) · 12.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>The No Hello Club - Just say what you need!</title>
<meta name="description" content="Don't open a conversation with an empty greeting, it wastes everyone's time." />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<style type="text/css">
* {box-sizing: border-box}
/* basic styles */
body {
font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
font-size: 110%;
max-width: 860px;
padding: 1em;
width: 100%;
margin: auto;
}
p.highlight {
font-weight: 600;
}
p.emphasis {
font-size: 120%;
font-style: oblique;
text-align: center;
}
.hash-bg {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlM/AC5N5wQAAAATSURBVAjXY2Cw/0AU/n+AgRgMACSCHU1ySAtSAAAAAElFTkSuQmCC');
border-radius: .5em;
}
.w-100 {
width: 100%;
height: auto;
}
.center-text {
text-align: center;
}
.one-third {
width: 32%;
}
.two-thirds {
width: 64%;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
/* chat stuff */
.chatbox {
padding: 1em;
background-color: antiquewhite;
border-radius: 1em;
position: relative;
box-shadow: 0 0 10px inset #8883;
max-width: 600px;
margin: auto;
}
.chat {
padding: 0.5em 1em;
border-radius: 0.5em;
width: fit-content;
max-width: 90%;
box-shadow: 0.5em 0.5em 1em #8888;
position: relative;
margin: 1em;
color: #111;
}
.chat::before {
content: "";
width: 0px;
height: 0px;
border: 0.5em solid transparent;
position: absolute;
}
.chat.right {
background-color: #baffd5;
margin: 1em 1em 1em auto;
text-align: right;
transform-origin: 100% 100%;
}
.chat.right::before {
right: -1em;
bottom: 0.3em;
border-left: 0.75em solid #baffd5;
}
.chat.left {
background-color: #c9c9ff;
margin: 1em auto 1em 1em;
transform-origin: 0% 0%;
}
.chat.left::before {
left: -1em;
top: 0.3em;
border-right: 0.75em solid #c9c9ff;
}
.chat .timestamp {
display: block;
font-size: 80%;
font-family: monospace;
color: darkslategrey;
margin-top: 6px;
}
/* animations */
@keyframes pop-in {
0% {transform: scale(0);}
100% {transform: scale(1)}
}
@media ( prefers-reduced-motion: no-preference) {
.animate-in {
transform: scale(0);
animation: 250ms cubic-bezier(0, 0, 0.25, 1.25) 0s 1 normal forwards running pop-in;
}
.to-animate {
transform: scale(0);
}
}
/* sticky footer */
footer {
position: relative;
width: 100%;
left: 0;
bottom: 0;
}
footer p {
width: 100%;
text-align: center;
}
/* overlay image */
.overlay-img {
position: fixed;
top: 1vw;
right: 1vw;
opacity: 0.2;
z-index: -1;
display: flex;
}
.overlay-img img {
object-fit: fill;
width: 20vw;
}
@media screen and (min-width: 1400px) {
.overlay-img {
opacity: 0.8;
}
}
/* dark theme */
@media (prefers-color-scheme: dark) {
body {
background-color: #272a2d;
color: #eee;
}
a, a:visited, a:active {
color: #fee;
}
}
</style>
<link rel="apple-touch-icon" sizes="57x57" href="icons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="icons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="icons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="icons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="icons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="icons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="icons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="icons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="icons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta property="og:title" content="The No Hello Club">
<meta property="og:description" content="Don't open a conversation with an empty greeting, it wastes everyone's time.">
<meta property="og:image" content="https://nohello.club/social.png">
<meta property="og:url" content="https://nohello.club/">
<meta name="twitter:card" content="summary_large_image">
</head>
<body>
<header>
<h1>The No Hello Club</h1>
</header>
<section id="intro">
<h2>Why?</h2>
<p>Unnecessary pleasantries waste time and effort in task-based conversations. In the No Hello Club we never start a request for information or help with a useless phrase like "Hello".</p>
<p>If someone has shared this with you or has this link in their profile, it means they won't be offended if you skip the pleasantries and get straight to the point. Do still be polite, and feel free to have social conversations!</p>
<p class="highlight">Consider this conversation:</p>
<div class="chatbox">
<p class="chat left animate-in" style="animation-delay: 1s">Hello<span class="timestamp">Monday 17:30 UTC</span></p>
<p class="chat right animate-in" style="animation-delay: 2s">Hey<span class="timestamp">Monday 17:35 UTC</span></p>
<p class="chat left animate-in" style="animation-delay: 3s">How are you?<span class="timestamp">Monday 17:40 UTC</span></p>
<p class="chat right animate-in" style="animation-delay: 4s">Fine thanks!<span class="timestamp">Monday 17:51 UTC</span></p>
<p class="chat left animate-in" style="animation-delay: 5s">Can I ask you a question?<span class="timestamp">Tuesday 09:30 UTC</span></p>
<p class="chat right animate-in" style="animation-delay: 6s">Sure<span class="timestamp">Tuesday 17:08 UTC</span></p>
<p class="chat left animate-in" style="animation-delay: 7s">Awesome! My question is ...<span class="timestamp">Tuesday 17:18 UTC</span></p>
<p class="chat right animate-in" style="animation-delay: 8s">This is the answer ...<span class="timestamp">Wednesday 16:41 UTC</span></p>
<p class="chat left animate-in" style="animation-delay: 9s">Aw jeez, so simple. Thanks!<span class="timestamp">Wednesday 16:54 UTC</span></p>
</div>
<p>To get the answer took nine messages. With each message adding significant delay thanks to context-switching.</p>
<p class="highlight">The most effective method of asking the question? Just ask the question!</p>
<div class="chatbox" id="to-animate">
<p class="chat left to-animate" style="animation-delay: 1s">Hello, I hope you are well!<br>I have a question, I hope you don't mind: the question ...<span class="timestamp">Monday 17:30 UTC</span></p>
<p class="chat right to-animate" style="animation-delay: 2s">Hey, I'm good thanks! Of course, the answer is ...<span class="timestamp">Monday 17:35 UTC</span></p>
<p class="chat left to-animate" style="animation-delay: 3s">Aw jeez, so simple. Thanks!<span class="timestamp">Monday 17:40 UTC</span></p>
</div>
<p class="emphasis">Being succinct and effective does not have to be rude,<br> it demonstrates respect for the other person's time.</p>
<section>
<h2>How do I join?</h2>
<p>Joining the no hello club is simple! Follow the guidelines above and never start a conversation with "Hello".<br>
Feel free to add a No Hello Club link and logo to your profile, website or as a custom Slack emoji:</>
<div style="overflow: auto;">
<div class="center-text two-thirds float-left"><p>640px png</p><a href="images/nohello_640_tr.png"><img class="hash-bg w-100" loading="lazy" src="images/nohello_640_tr.png" width="640" height="640"></a></div>
<div class="center-text one-third float-right"><p>320px png</p><a href="images/nohello_320_tr.png"><img class="hash-bg w-100" loading="lazy" src="images/nohello_320_tr.png" width="320" height="320"></a></div>
<div class="center-text two-thirds float-left"><p>640px white png</p><a href="images/nohello_640_tr_w.png"><img class="hash-bg w-100" loading="lazy" src="images/nohello_640_tr_w.png" width="640" height="640"></a></div>
<div class="center-text one-third float-right"><p>320px white png</p><a href="images/nohello_320_tr_w.png"><img class="hash-bg w-100" loading="lazy" src="images/nohello_320_tr_w.png" width="320" height="320"></a></div>
<div class="center-text two-thirds float-left"><p>640px filled png</p><a href="images/nohello_640_filled.png"><img class="hash-bg w-100" loading="lazy" src="images/nohello_640_filled.png" width="640" height="640"></a></div>
<div class="center-text one-third float-right"><p>320px filled png</p><a href="images/nohello_320_filled.png"><img class="hash-bg w-100" loading="lazy" src="images/nohello_320_filled.png" width="320" height="320"></a></div>
</div>
</section>
</section>
<footer>
<p><a href="https://github.com/simonhearne/nohello.club/">fork on GitHub</a></p>
</footer>
<picture class="overlay-img">
<source srcset="images/nohello_320_tr.png 1x, images/nohello_640_tr.png 2x" media="(prefers-color-scheme: light)">
<source srcset="images/nohello_320_tr_w.png 1x, images/nohello_640_tr_w.png 2x" media="(prefers-color-scheme: dark)">
<img src="images/nohello_320_tr.png">
</picture>
<script>
let observer = new IntersectionObserver(
(entries,observer) => {
entries.forEach(e => {
if (e.isIntersecting || e.isVisible) {
document.querySelectorAll('.to-animate').forEach(elem => elem.classList.add("animate-in"));
observer.disconnect();
}
})
}, {
threshold:0.5
}
);
setTimeout(() => { observer.observe(document.querySelector('#to-animate'))},10000)
</script>
</body>
</html>