-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (118 loc) · 2.5 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: hsl(218, 23%, 16%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Manrope', sans-serif;
flex-direction: column;
text-align: center;
}
.contentContainer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: hsl(217, 19%, 24%);
height: auto;
max-width: 500px;
margin: auto;
border-radius: 10px;
padding: 20px;
box-shadow: rgba(188, 105, 105, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.advice-id {
color: hsl(150, 100%, 66%);
font-size: 16px;
text-transform: uppercase;
letter-spacing: 3px;
margin: 0px 0px 20px 0px;
}
.advice-text {
color: hsl(193, 38%, 86%);
font-size: 24px;
margin: 30px 0px 20px 0px;
max-width: 100%;
line-height: 1.5;
font-weight: 700;
text-align: center !important;
}
.divider {
position: relative;
width: 100%;
display: flex;
justify-content: center;
margin: 20px 0px 20px 0px;
}
.dividerMobile {
display: none;
}
.dividerDesktop {
display: block;
}
.circle {
width: 60px;
height: 60px;
background-color: hsl(150, 100%, 66%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
margin: 10px 0px -50px 0px;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.circle:hover {
box-shadow: 0 0 30px hsl(150, 100%, 76%);
background-color: hsl(150, 100%, 76%);
}
.dice-img {
cursor: pointer;
}
.circle,
.dice-img {
transition: transform 0.5s ease;
cursor: pointer;
}
.attribution {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
margin: 0;
text-align: center;
color: #999999;
font-size: 14px;
padding: 10px;
background-color: hsl(217, 19%, 24%);
border-top: 1px solid hsl(217, 19%, 24%);
}
.attribution a {
color: #3b5998;
text-decoration: none;
font-weight: bold;
}
.attribution a:hover {
text-decoration: none;
color: aquamarine;
}
@media only screen and (max-width: 767px) {
.contentContainer {
max-width: 90%;
}
.dividerMobile {
display: block;
}
.dividerDesktop {
display: none;
}
.attribution {
font-size: 10px;
padding: 5px;
}
}