-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (92 loc) · 1.57 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
103
104
105
106
107
108
/* Using some CSS code from https://github.com/malikolabiyi/year-of-birth */
body {
font-size: 20px;
width: 50%;
margin: auto;
color: #1b1b1b;
text-align: center;
background-color: #efefef;
}
p {
font-size: 1em;
}
h1 {
font-size: 2em;
}
.button {
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
-webkit-transition-duration: 0.4s;
transition-duration: 0.4s;
cursor: pointer;
background-color: inherit;
color: black;
border: 2px solid #555555;
}
.button:hover {
background-color: #555555;
color: white;
}
@media (max-width: 768px) {
body {
width: 80%;
margin: 50% auto;
}
}
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 40%;
display: inline-block;
vertical-align: top;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.container {
padding: 2px 16px;
}
a[href] {
color: black;
}
a[href]:hover {
color: #008CBA;
}
div.spacer {
width: 3em;
display: inline-block;
}
/* To show dot in classic nim */
div.dot {
width: 2em;
height: 2em;
background-color: black;
border-radius: 2em;
}
div.empty {
border: 0.1em dotted black;
width: 1.9em;
height: 1.9em;
background-color: transparent;
}
/* End of dots */
/* To show stick in Fort Boyard's variant */
div.stick {
width: 0.75em;
height: 2em;
background-color: black;
}
div.removed {
border: 0.05em dotted black;
width: 0.65em;
height: 1.9em;
background-color: transparent;
}
/* End of sticks */
.centered {
margin: auto;
}