-
Notifications
You must be signed in to change notification settings - Fork 0
/
yahtzee.css
114 lines (113 loc) · 2.42 KB
/
yahtzee.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
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 16px;
}
/*Banner styling*/
.bannerCon {
display: grid;
grid-template-columns: min-content auto min-content;
background-color: #E12C2C;
}
.bannerCon, .bannerDie {
height: 150px;
}
.bannerImg {
-webkit-transform: rotate(45deg); /*Rotates the images in the banner*/
border-radius: 14px;
height: 100px;
width: 100px;
margin-top: 25px;
margin-left: 20px;
margin-right: 20px;
}
.bannerImg:hover {
-webkit-transform: rotate(90deg);
box-shadow: 10px 10px 10px 10px lightblue;
}
#bannerHead {
text-align: center;
color: ghostwhite;
text-shadow: 10px 10px 10px black;
font-size: 100px;
margin-top: 10px;
overflow: auto;
}
/*Table styling*/
#tableDiv {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
#leftTable {
width: 49.8%;
border: inset black;
background-color: lightblue;
color: black;
padding: 4px 4px 7px 4px;
margin-bottom: 4px;
}
#rightTable {
width: 49.8%;
border: inset black;
background-color: lightblue;
color: black;
padding: 4px 4px 4px 4px;
margin-bottom: 4px;
}
.scoreCol {
text-align: right;
}
#totalScoreTab {
margin-left: auto;
margin-right: auto;
margin-bottom: 3px;
}
#totalScoreDiv {
margin-left: auto;
margin-right: auto;
text-align: center;
}
td, th {
text-align: left;
border: ridge ghostwhite;
}
#totalScore {
text-align: center;
}
/*Dice picture section styling*/
.die {
height: 150px;
display: inline-block;
margin-left: 4px;
margin-top: 10px;
position: relative;
}
#dice {
width: 100%;
text-align: center;
}
/*Footer styling*/
footer {
text-align: center;
}
/*Button styling*/
.subButt {
width: 100%;
}
.subButt:hover {
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); /* https://www.w3schools.com/css/css3_buttons.asp */
}
.disabled {
background-color: white;
color: black;
border: 2px solid #4CAF50;
}
/*Random helpers*/
#info { /*Used top show/hide info paragraph with JS*/
display: none;
}
.keep { /*Used with JS to change the look of clicked images*/
border: solid;
border-color: green;
}