-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
104 lines (104 loc) · 2.61 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
<!doctype html>
<title>Talk Blocks</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<body>
<style>
html, body {
padding: 0;
margin: 0;
font-family: "Roboto", sans-serif;
}
body > header,
body > main {
text-align: center;
}
body > header {
background: #F44336;
color: white;
}
body > header h1 {
font-size: 3.4em;
word-spacing: -0.2em;
margin: 0;
margin-top: 3rem;
margin-bottom: 0.6em;
}
body > header h2 {
font-size: 2.3em;
margin: 1rem 0;
}
h1 > span {
border-radius: 0.1em;
background: #FFD56A;
box-shadow: 0 0.3em #FFB032;
color: #270F00;
text-shadow: #FFFFFF 0 0.01em 0.01em;
/*color: rgba(0, 0, 0, 0.85);
text-shadow: 1px 4px 6px rgb(255, 213, 106), 0 0 0 black, 1px 4px 6px #FFD56A;*/
padding: 0.1em 0.2em;
padding-right: 0.1em;
font-weight: normal;
text-transform: lowercase;
}
.brain-block {
padding-left: 0;
}
.brain-block > img {
height: 0.9em;
-webkit-filter: drop-shadow(#FFFFFF 0 0.01em 0.01em);
filter: drop-shadow(#FFFFFF 0 0.01em 0.01em);
}
/*
.brain-block > button {
background: none;
border: 0;
font-family: inherit;
font-size: 1em;
}
*/
centered {
display: inline-block;
width: 100%;
max-width: 70rem;
box-sizing: border-box;
padding: 1em;
}
main article {
text-align: start;
}
</style>
<header>
<centered>
<h1><span>Talk</span> <span>Blocks</span> <span class="brain-block">.<img src="speech-bubble.svg"></span></h1>
<h2>Sentence blocks that talk</h2>
</centered>
</header>
<script>
(function(){
var el = document.querySelector("body > header > centered");
var update = function(){
document.body.style.fontSize = el.clientWidth / 35 + "px";
};
update();
window.addEventListener("resize", update);
}());
</script>
<main>
<centered>
<article>
<h1>Get the starter set</h1>
<img width="400" height="400" src="https://placeimg.com/400/400/nature">
<p>The 100 most common English words make a great starting point.</p>
<p>Just kidding, no they don't.
“You could say some [things], but not most, and not well, because these are only some, so they can only make some [sentences].”</p>
</article>
<article>
<h1>Add some custom blocks</h1>
<p>You can get blocks with custom words or names.</p>
<p>Maybe your family's really into fishing, so you want to get some words like “trout” and “rod”</p>
<p>Maybe you just want to see if we'll do “supercalifragilisticexpialidocious”</p>
</article>
</centered>
</main>
</body>