-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (96 loc) · 1.95 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
98
99
100
101
102
*, *:before, *:after {
box-sizing: border-box;
}
body {
background-color: #1f666e;
display: flex;
flex-flow: column nowrap;
}
.container {
padding-top: 1em;
max-width: 70%;
margin: 0 auto;
}
.board {
margin: 0 auto;
display: flex;
flex-flow: column nowrap;
background-color: rgba(255,255,255,.8);
width: 100%;
height: 550px;
}
.row {
display: flex;
flex-flow: row nowrap;
}
.cell {
text-align: center;
border: 1px solid #ccc;
background-color: rgba(255,255,255,.8);
}
.cell:first-child, .cell:nth-child(1n + 2) {
border-right: none;
border-bottom: none;
}
.cell:last-child {
border-right: 1px solid #ccc;
}
.cell:hover {
cursor: default;
}
.cell[data-color='default'] {
border-color: #000;
}
.cell[data-color='random'] {
border-color: rgb(255,255,255,.2);
}
.buttons {
margin: 0 auto 1em auto;
display: flex;
flex: row wrap;
justify-content: space-between;
width: 100%;
}
.buttons button {
cursor: pointer;
flex: 0 1 15%;
height: 15%;
font-weight: bold;
text-transform: uppercase;
text-align: center;
letter-spacing: .15em;
background-color: #f8f8f8;
padding: .5em .5em;
box-shadow: 1px 1px 4px #000;
color: #fff;
}
.buttons button.reset {
background-color: #990000;
color: #fff;
border: 1px solid #990000;
}
.buttons button.reset:hover {
text-shadow: 0 0 2px #fff;
background-color: #bb0000;
}
.buttons button:active {
border: none;
box-shadow: 1px 1px 2px inset #000, -1px -1px 2px inset #000;
}
.buttons button.rainbow {
border-width: 1px;
border-color: #222;
border-right-color: #000055;
border-left-color: #550000;
color: #ddd;
background: linear-gradient(to right, #550000, #005500, #000055);
}
.buttons button.rainbow[data-rainbow='enabled'] {
color: #fff;
text-shadow: 0 0 4px #fff;
background: linear-gradient(to right, #bb0000, #00bb00, #0000bb);
}
.buttons button.rainbow:hover {
color: #fff;
background: linear-gradient(to right, #bb0000, #00bb00, #0000bb);
}