-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (95 loc) · 1.87 KB
/
style.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
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
98
99
100
101
102
103
104
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@800&family=Roboto:wght@100&display=swap");
html, body {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
}
body {
font-family: "Manrope", sans-serif;
background-color: hsl(218deg, 23%, 16%);
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card {
background-color: hsl(217deg, 19%, 24%);
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
text-align: center;
padding: 2% 2%;
border-radius: 15px;
box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}
@media (min-width: 768px) {
.card {
width: 500px;
height: 300px;
}
}
@media (max-width: 767px) {
.card {
width: 90%;
height: 350px;
}
}
.advice-card {
color: hsl(150deg, 100%, 66%);
letter-spacing: 2px;
font-size: 14px;
text-transform: uppercase;
}
.advice-quote {
color: hsl(193deg, 38%, 86%);
font-weight: 600;
font-size: 28px;
letter-spacing: 1px;
}
@media (max-width: 767px) {
.desktop {
display: none;
}
}
@media (min-width: 768px) {
.phone {
display: none;
}
}
.dice-button {
background-color: hsl(150deg, 100%, 66%);
padding: 20px;
border-radius: 50%;
position: absolute;
bottom: -11.5%;
cursor: pointer;
transition: all ease 0.3s;
}
.dice-button:hover {
box-shadow: 0px 1px 27px 3px hsl(150deg, 100%, 66%);
}
.author {
position: absolute;
bottom: 0;
text-align: center;
letter-spacing: 1px;
color: hsl(193deg, 38%, 86%);
line-height: 200%;
}
.author a {
text-decoration: underline;
color: initial;
color: hsl(150deg, 100%, 66%);
}
/*# sourceMappingURL=style.css.map */