-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
92 lines (80 loc) · 1.38 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
@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,700&display=swap');
/* For demo purposes only, don't do this in a real world application :) */
* {
font-family: Ubuntu;
font-weight: bold;
}
#board {
width: 600px;
height: 600px;
margin: 0 auto;
}
.panel {
float: left;
padding: 0 20px;
}
.panel-section {
padding: 0 0 30px;
}
.tile {
position: relative;
float: left;
width: 30px;
height: 30px;
line-height: 30px;
box-sizing: border-box;
background-image: url('./assets/5-in-a-row-tile.svg');
text-align: center;
cursor: pointer;
}
.tile > img {
display: inline-block;
width: 20px;
height: 20px;
vertical-align: sub;
animation: show 0.5s ease;
}
.alert-box {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
line-height: 50px;
border: 1px solid #ddd;
opacity: 0;
visibility: hidden;
background-color: white;
text-align: center;
transition: opacity 150ms ease;
}
.alert-box.active {
opacity: 1;
visibility: visible;
transition: opacity 150ms ease;
}
.btn {
padding: 10px 20px;
background-color: aliceblue;
cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
.title {
margin-bottom: 5px;
}
@keyframes show {
0% {
opacity: 0;
visibility: hidden;
transform: skewX(-20deg);
}
30% {
opacity: 1;
visibility: visible;
}
100% {
transform: skewX(0deg);
}
}