-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
69 lines (69 loc) · 1.29 KB
/
index.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: hsl(218, 23%, 16%);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Manrope';
font-weight: 800;
flex-direction: column;
}
.advice_box{
width: 26rem;
background-color: hsl(217, 19%, 24%);
border-radius: 10px;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
padding-bottom: 9rem;
}
.title{
color: hsl(150, 100%, 66%);
margin: 2rem 0 1.5rem 0;
letter-spacing: .2rem;
font-size: .8rem;
}
.advice{
color: hsl(193, 38%, 86%);
font-size: 1.75rem;
text-align: center;
width: 20rem;
}
.divide{
position: absolute;
top: calc(50% + 5rem);
width: 20rem;
}
.dice{
width: 1rem;
height: 1rem;
}
.circle{
width: 2.5rem;
height: 2.5rem;
background-color: hsl(150, 100%, 66%);
border-radius: 20px;
display: flex;
align-content: center;
justify-content: center;
flex-wrap: wrap;
position: absolute;
top: 30rem;
transition: all .3s ease-in-out;
}
.circle:hover{
width: 3rem;
height: 3rem;
border-radius: 27px;
}
@media screen and (max-width: 450px) {
.advice_box{
width: 22rem;
}
}