-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (66 loc) · 1.25 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
* {
box-sizing: border-box;
}
body {
margin: 0;
background-color: #0B2434;
padding: 20px;
font-family: 'Karla', sans-serif;
}
main {
background-color: #f5f5f5;
height: 100%;
max-width: 8000px;
border-radius: 5px;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.title {
font-size: 40px;
margin: 0;
}
.instructions {
font-family: 'Inter', sans-serif;
font-weight: 400px;
margin-top: 0;
text-align: center;
}
.dice-container {
display: grid;
grid-template: auto auto / repeat(5, 1fr);
gap: 20px;
margin-bottom: 40px;
}
.die-face {
height: 50px;
width: 50px;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.die-num {
font-size: 2rem;
}
.roll-dice {
height: 50px;
width: 150px;
border: none;
border-radius: 6px;
background-color: #5035FF;
color: white;
font-size: 1.2rem;
font-family: 'Karla', sans-serif;
cursor: pointer;
}
.roll-dice:focus {
outline: none;
}
.roll-dice:active {
box-shadow: inset 5px 5px 10px -3px rgba(0, 0, 0, 0.7);
}