-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
109 lines (99 loc) · 2.71 KB
/
index.html
File metadata and controls
109 lines (99 loc) · 2.71 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
<!DOCTYPE html>
<!-- served with <3, Robbie -->
<meta charset="UTF-8"/>
<link rel="shortcut icon" href="./favicon.png">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="bundle.css"/>
<link href='https://code.cdn.mozilla.net/fonts/fira.css' rel='stylesheet' type='text/css'>
<title>Work Together---Melon</title>
<body>
<style>
body {
margin: 20px;
font: normal 20px 'Fira Sans', sans-serif;
color: #ecf0f1;
background-color: #2c3e50;
}
h1 {
font-weight: 500;
}
input, button {
margin: 6px;
outline: 0;
}
input {
padding: 12px 24px;
color: #2c3e50;
background-color: #ecf0f1;
border: 0;
border-top: 4px solid rgba(0,0,0,0.3);
font: inherit;
font-family: 'Fira Mono', monospace;
font-weight: 700;
letter-spacing: 3px;
transition: border-top-color 100ms;
}
input:focus {
border-top-color: rgba(0,0,0,0.4);
}
button {
padding: 12px 24px;
border: 0;
background-color: #34495e;
color: #ecf0f1;
font: inherit;
font-size: 26px;
font-weight: 700;
text-transform: uppercase;
position: relative;
text-shadow: 0 -2px 0 rgba(0,0,0,0.3);
cursor: pointer;
transition: top 100ms;
}
button::after {
content: ''; display: block;
background-color: inherit;
background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
position: absolute;
left: 0; right: 0;
transition: bottom 100ms, height 100ms;
}
button { top: -4px; }
button::after { bottom: -4px; height: 4px; }
button:hover { top: -7px; }
button:hover::after { bottom: -7px; height: 7px; }
button:active { top: -2px; transition: none; }
button:active::after { bottom: -2px; height: 2px; transition: none; }
button.flat { top: 0; }
button.flat::after { bottom: 0; height: 0; }
button.flat:hover { top: -8px; }
button.flat:hover::after { bottom: -8px; height: 8px; }
button.flat:active { top: 4px; transition: none; }
button.flat:active::after { top: -4px; height: 4px; transition: none; }
.shadow button.flat { top: 0; }
.shadow button.flat::after { bottom: 0; height: 0; }
.shadow:hover+button.flat { top: -8px; }
.shadow:hover+button.flat::after { bottom: -8px; height: 8px; }
.shadow:active+button.flat { top: 4px; transition: none; }
.shadow:active+button.flat::after { top: -4px; height: 4px; transition: none; }
.green {
background-color: #2ecc71;
}
.red {
background-color: #c0392b;
}
.overlay {
position: fixed;
top: 0; bottom: 0;
left: 0; right: 0;
background-color: #000;
z-index: 9;
visibility: collapse;
transition: visibility 0ms 1s;
}
.overlay.open {
visibility: visible;
transition: none;
}
</style>
<script src="./bundle.js"></script>