-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
105 lines (92 loc) · 1.76 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
/* Font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap');
/* Colors */
:root{
/* Primary */
--Light-Cyan: hsl(193, 38%, 86%);
--Neon-Green: #52ffa8;
/* Neutral */
--Grayish-Blue: #4e5d73;
--Dark-Grayish-Blue: #323a49;
}
/* Universal Selector */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Manrope", sans-serif;
}
/* Html, Body */
html,
body {
height: 100vh;
display: grid;
grid-template-rows: auto 0px;
}
body{
background-color: rgba(13, 12, 14, 0.95);
}
/* Main */
main{
display: flex;
flex-direction: column;
padding: 30px 50px;
border-radius: 10px;
text-align: center;
background-color: var(--Dark-Grayish-Blue);
max-width: 550px;
width: fit-content;
height: fit-content;
margin: auto 20px;
}
/* Advice Id */
.advice-id{
color: var(--Neon-Green);
text-transform: uppercase;
word-spacing: 10px;
}
/* Advice Text */
.advice-text{
margin: 20px auto 0;
font-size: 28px;
width: 100%;
color: var(--Light-Cyan);
}
/* Divider */
.divider{
margin: 20px 0 30px;
background-size: 100% 100%;
width: 100%;
}
#dice{
background-color: var(--Neon-Green);
border-radius: 50%;
padding: 15px 16px 12px;
border: 0;
cursor: pointer;
margin: 0 auto -50px;
}
#dice img{
width: 23px;
}
#dice:hover {
box-shadow: 0 0 40px var(--Neon-Green);
}
/* Attribution */
.attribution {
font-size: 0.8rem;
align-self: flex-end;
text-align: center;
background-color: var(--Dark-Grayish-Blue);
padding: 10px;
color: var(--Light-Cyan);
}
.attribution a {
color: var(--Neon-Green);
}
/* Media Query */
@media (min-width: 530px) {
main{
margin: auto;
}
}