-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
92 lines (84 loc) · 1.92 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
<!DOCTYPE html>
<html>
<head>
<title>techspeak</title>
<meta
name="description"
content="Generate random sentences with tech terms"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style type="text/css">
#result:first-letter {
text-transform: capitalize;
}
.container {
flex: 3;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.header {
flex: 1;
}
.footer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex: 1;
}
@media only screen and (max-width: 768px) {
/* For mobile phones: */
p#result {
min-height: 3rem;
}
}
p#result {
max-width: 91%;
font-weight: bold;
font-size: 1.2rem;
}
button {
font-size: 1rem;
height: 32px;
border-color: black;
border-radius: 6px;
}
button:hover {
background-color: #f8f8f8;
}
button:focus {
background-color: #f8f8f8;
outline: 0;
}
body,
html {
font-size: 1rem;
display: flex;
flex-direction: column;
margin: 0;
height: 100%;
text-align: center;
font-family: sans-serif;
}
</style>
</head>
<body>
<div class="header">
<h1>techspeak</h1>
<p>Generate random sentences with tech terms</p>
</div>
<div class="container">
<p id="result"></p>
<button id="refresh">Get a new sentence</button>
</div>
<div class="footer">
<div>
<span style="padding-right: 2px;">made by paradite</span>
<a href="https://github.com/paradite/techspeak">github</a>
</div>
</div>
<script src="dist/main.js"></script>
</body>
</html>