-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.scss
62 lines (59 loc) · 1.26 KB
/
main.scss
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
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;800&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
main {
min-height: 100vh;
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;
box-shadow: 0px 0px 25px rgba($color: #080808, $alpha: 0.2);
.advice-id {
color: hsl(150, 100%, 66%);
text-transform: uppercase;
font-weight: 600;
font-size: 0.6rem;
letter-spacing: 5px;
}
.advice {
font-size: 1.25rem;
color: rgb(223, 223, 223);
max-width: 500px;
margin: 2rem 0;
padding: 0 1rem;
}
img {
width: 100%;
margin-bottom: 1rem;
}
.btn-rand {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #52ffa8;
position: absolute;
transform: translate(-50%);
left: 50%;
bottom: -1.5rem;
background-image: url("images/icon-dice.svg");
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
&:hover {
box-shadow: 0px 3px 15px rgba($color: #52ffa8, $alpha: 0.4);
}
}
}