-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (79 loc) · 1.53 KB
/
style.css
File metadata and controls
90 lines (79 loc) · 1.53 KB
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
body {
background-image: url('https://images.unsplash.com/photo-1570303363992-7f95ee20ebdb?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTV8fGRpY2V8ZW58MHx8MHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60');
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
height: 100vh;
}
* {
margin: 0;
box-sizing: border-box;
padding: 0;
}
.container {
background: #121212;
opacity: 0.6;
width: 70%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
color: #e5e5e5;
}
h1 {
margin: 50px 0;
color: #e5e5e5;
font-size: 3rem;
}
.input-container {
display: flex;
width: 400px;
align-items: center;
justify-content: space-between;
margin: 20px 10px;
}
.input-container label {
font-size: 1.5rem;
}
#dices-count, #sides {
width: 100px;
padding: 10px;
border: 0;
cursor: pointer;
}
#dices-count:active, #sides:active, #dices-count:focus, #sides:focus {
outline: none;
}
#rolls-container {
display: flex;
flex-wrap: wrap;
min-width: 300px;
max-width: 800px;
margin-top: 40px;
}
#roll-btn {
padding: 15px 50px;
font-size: 2rem;
border-radius: 15px;
cursor: pointer;
transition: background-color 0.5s ease;
}
#roll-btn:hover {
background-color: #aaa;
}
.roll {
border: yellow 1px solid;
background-color: blue;
padding: 5px;
width: 70px;
height: 70px;
/* line-height: 30px;; */
text-align: center;
margin: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
font-weight: bold;
}