-
Notifications
You must be signed in to change notification settings - Fork 1
/
master.css
49 lines (40 loc) · 818 Bytes
/
master.css
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
/* Optional: Makes the sample page fill the window. */
html, body {
font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
height: 100%;
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
position: relative;
}
/* My stuff */
a:hover {
cursor: pointer;
}
p.master {
display: inline-block;
width: 35vw;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3em;
font-weight: 100;
text-align: center;
}
p.master a {
text-decoration: none;
display: inline-block;
background-color: #000;
color: #FFF;
padding: 0 .35em 0.15em;
margin: .2em 0;
box-shadow: 5px 5px 0 #888;
transition: box-shadow .25s, transform .25s;
}
p.master a:hover {
box-shadow: 15px 15px 0 #888;
transform: translate(-5px, -5px);
}