-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
57 lines (57 loc) · 922 Bytes
/
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
.wrapper {
width: 80%;
margin: 25px auto;
}
.pre-lorem, .post-lorem {
height: 500px;
background: #ccc;
}
.caption {
font-size: 1.25em;
font-weight: bold;
margin: 20px;
}
.logo {
border: 1px solid black;
width: 30px;
}
.board {
border-collapse: collapse;
table-layout: fixed;
border: 1px solid black;
~width: 90%;
margin: 25px auto;
overflow: hidden;
z-index: 0;
position: relative;
}
.board td {
position: relative;
padding: 5px 10px;
}
.board > tbody {
background-color: white;
}
.board > tbody > tr:nth-of-type(even) {
background-color: #eee;
}
.board > tbody > tr:hover{
background-color: lightgreen;
}
.board tr {
~transition-duration: 0.2s;
~transition-property: all;
}
td:hover::after {
position: absolute;
content: '';
width: 100%;
height: 10000000px;
background: lightgreen;
z-index: -1;
top: -5000000px;
left: 0;
}
.td_logo {
text-align: center;
}