-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
139 lines (129 loc) · 2.77 KB
/
styles.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
@font-face {
font-family: 'Robus';
src: url('docs/design_system/fonts/Robus-BWqOd.otf') format('opentype');
}
@font-face {
font-family: 'Warrior';
src: url('docs/design_system/fonts/KnightWarrior-w16n8.otf') format('opentype');
}
header{
text-align: center;
font-family: 'Robus', serif;
color: rgb(17, 141, 54);
font-size: xxx-large;
}
body {
background: black;
color: white;
}
.TwoColumns{
margin-top: 3rem;
display: flex;
flex-direction: row;
justify-content: center;
align-items: flex-start;
}
.gameColumn {
width: 40%;
padding: 5px;
margin-right: 5px;
}
.scoreColumn {
width: 300px;
padding: 20px;
margin-left: 5px;
align-items: center;
}
.savedDiceDisplay {
border: 3px solid rgb(17, 141, 54); /* Green border with 2px width */
padding: 10px; /* Padding inside the border */
min-height: 10px; /* Example minimum height; adjust as needed */
display: flex;
align-items: center;
justify-content: center;
gap:2%;
margin-top: auto;
}
.TitleButton{
display: flex;
justify-content: space-between;
}
.DisplayOfRolling{
border: 4px solid rgb(17, 141, 54); /* Green border with 2px width */
padding: 20px; /* Padding inside the border */
height: 40%;
min-height: 350px;
display: flex;
align-items: center;
justify-content: center;
gap:2%;
margin-top: auto;
}
.reroll-button {
background-color: rgb(17, 141, 54);
color: #ffffff;
border: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
border-radius: 4px;
margin:5px;
margin-bottom: 0px;
margin-right: 0px;
}
.reroll-button:hover {
background-color: rgb(181, 221, 193); /* Darker blue on hover */
color: black; /* White text on hover */
}
.cell {
display: table-cell;
border: 1px solid white; /* Black border */
padding: 8px; /* Adjust padding as needed */
width:100px;
color: white;
}
.headerCell{
align-items: center;
}
.dice {
max-width: 40px;
max-height: 40px;
border-radius: 10px;
transition: all 0.4s linear;
z-index: 1000;
}
.face {
width:100%;
height: 100%;
cursor: pointer;
transition: all 0.4s linear;
}
.face:hover {
transform: scale(1.1);
}
.cell:last-child {
cursor:pointer;
}
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: 20rem;
background-color: white;
padding: 20px;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 1000;
color: black;
}
.modal-close {
position: absolute;
top: 5px;
right: 10px;
cursor: pointer;
}