- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
Latest commit
54 lines (53 loc) · 1.08 KB
/
Copy pathstyle.css
File metadata and controls
54 lines (53 loc) · 1.08 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
/* ROBOT.GIF from Giphy - https://giphy.com/gifs/robot-cinema-4d-eyedesyn-3o7abtn7DuREEpsyWY */
html {
box-sizing: border-box;
}
body {
margin:0;
background:#45badd;
}
.container {
height:100vh;
width:100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background:url('./robot.gif');
background-size: contain;
background-repeat: no-repeat;
background-position: right center;
}
button{
cursor: pointer;
outline: none;
width:200px;
height:50px;
font-family:'Courier New', Courier, monospace;
font-size:20px;
color:#ffffff;
background:#ff3482;
border: none;
border-radius:5px;
box-shadow:2px2px20px10pxrgba(0,0,0,0.2);
}
button:hover {
filter:brightness(95%);
}
button:active {
transform:scale(0.95);
}
button:disabled {
cursor: default;
filter:brightness(30%);
}
/* media query: tablet or smaller */
@media screen and (max-width:1000px){
.container {
background-size: cover;
background-position: center center;
}
button {
box-shadow:5px5px30px20pxrgba(0,0,0,0.5);
}
}