-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
97 lines (84 loc) · 1.64 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
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
margin: 0;
background: rgb(120,69,11);
background: linear-gradient(167deg, rgba(120,69,11,0.9914529914529915) 0%, rgba(255,187,0,1) 100%);
padding: 20px;
font-family: 'Karla', sans-serif;
}
main {
background-color: #1a954b;
height: 400px;
max-width: 800px;
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: 400;
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: #db930e;
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);
}
.game-stats{
display: flex;
justify-content: space-between;
}
.game-stats-current{
display: flex;
justify-content: space-around;
}
.roll-count{
color: rgb(0, 0, 0);
margin-right: 200px;
}
.time-track{
margin-left: 200px;
}