-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (84 loc) · 1.43 KB
/
Copy pathstyles.css
File metadata and controls
97 lines (84 loc) · 1.43 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
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Helvetica, Arial, sans-serif;
background-image: url(images/millie600.jpg);
background-size: cover;
background-position: center;
}
@media (min-width: 600px) {
body {
background-image: url(images/millie800.jpg);
}
}
@media (min-width: 800px) {
body {
background-image: url(images/millie1200.jpg);
}
}
@media (min-width: 1200px) {
body {
background-image: url(images/millie1600.jpg);
}
}
@media (min-width: 1600px) {
body {
background-image: url(images/millie.jpg);
}
}
img {
max-width: 100%;
}
.keys-wrapper {
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 90%;
max-width: 700px;
z-index: 2;
}
.key {
flex-basis: 70px;
margin: 2px;
padding: 10px;
background: rgba(0, 0, 0, 0.5);
border: solid 2px black;
border-radius: 2px;
color: white;
text-transform: uppercase;
cursor: pointer;
transition: all .1s;
-webkit-appearance: none;
}
.key:hover,
.key:focus {
border-color: rgba(255, 255, 255, 0.7);
outline: none;
}
.key.js-active {
transform: scale(1.3);
border-color: yellow;
}
.key-letter {
font-size: 2rem;
width: 100%;
}
.key-label {
display: block;
color: yellow;
font-size: 0.5rem;
}
.github-link {
position: fixed;
right: 0;
top: 0;
display: block;
width: 25%;
max-width: 200px;
}