-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (74 loc) · 1.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
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Random Band/Project/Product Name Generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="module" src="js/app.mjs"></script>
<link rel="stylesheet" href="css/utilities.css">
<link rel="stylesheet" href="css/colour.css">
<link rel="stylesheet" href="css/fonts/roboto-cabin.css">
<style>
/* TODO: move this CSS to an external stylesheet */
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
--lum-super-light: 95%;
--clr-hbg: hsl(var(--hue), var(--sat-muted), var(--lum-super-light));
--clr-h: hsl(var(--auto-hue2), var(--sat), var(--lum-very-dark));
--clr-border: hsl(var(--auto-hue4), var(--sat-washed), var(--lum-kinda-light));
margin: 0;
padding: 0 5vmin;
min-height: 85vh;
display: flex;
font-size: 8vmin; /* Ugh. IE, Safari... Safari!?! */
font-size: clamp(5vmin, 8vmin, 64px);
text-transform: capitalize;
}
main {
display: flex;
margin: auto;
}
.phrase {
font-variant: small-caps;
text-align: center;
font-weight: normal;
border-color: var(--clr-border);
background-color: var(--clr-hbg);
color: var(--clr-h);
margin: auto;
padding: 10vmin;
border-width: 2vmin;
border-style: solid;
}
.phrase h1 {
margin: 0;
}
form {
font-size: initial;
display: flex;
align-items: flex-end;
}
fieldset {
display: flex;
flex-direction: column-reverse;
}
div.wrapper {
display: flex;
flex-direction: column;
}
@media screen and (min-width: 960px) {
body {
min-height: 100vh;
}
}
</style>
</head>
<body data-clr-harmony="analog">
<main>
<div class="phrase">[band name]</div>
</main>
</body>
</html>