-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
72 lines (65 loc) · 1.47 KB
/
main.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;800&display=swap");
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
main {
min-height: 100vh;
display: -ms-grid;
display: grid;
place-items: center;
font-family: "Manrope";
background-color: #202632;
}
.component {
padding: 2rem;
background-color: #313a49;
text-align: center;
position: relative;
border-radius: 18px;
width: 80%;
max-width: 500px;
min-width: 250px;
-webkit-box-shadow: 0px 0px 25px rgba(8, 8, 8, 0.2);
box-shadow: 0px 0px 25px rgba(8, 8, 8, 0.2);
}
.component .advice-id {
color: #52ffa8;
text-transform: uppercase;
font-weight: 600;
font-size: 0.6rem;
letter-spacing: 5px;
}
.component .advice {
font-size: 1.25rem;
color: #dfdfdf;
max-width: 500px;
margin: 2rem 0;
padding: 0 1rem;
}
.component img {
width: 100%;
margin-bottom: 1rem;
}
.component .btn-rand {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #52ffa8;
position: absolute;
-webkit-transform: translate(-50%);
transform: translate(-50%);
left: 50%;
bottom: -1.5rem;
background-image: url("images/icon-dice.svg");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
}
.component .btn-rand:hover {
-webkit-box-shadow: 0px 3px 15px rgba(82, 255, 168, 0.4);
box-shadow: 0px 3px 15px rgba(82, 255, 168, 0.4);
}
/*# sourceMappingURL=main.css.map */