-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (82 loc) · 1.31 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
*{
font-family: 'Kosugi', sans-serif;
}
body {
width: 100%;
display: flex;
justify-content: center;
margin: 32px 0;
}
main {
position: relative;
}
.header-image {
transform: scaleX(-1);
width: 100%;
}
.event-image {
max-width: 600px;
}
.header {
display: grid;
grid-template-columns: auto 1fr;
}
main {
width: 100%;
max-width: 600px;
}
h2 {
display: flex;
margin-block-start: 1.75em;
}
h2:after {
content: '';
flex: 1;
margin: auto .5em;
height: 0;
}
table {
width: 100%;
}
section {
position: relative;
}
td:last-child {
text-align: right;
}
/* Produces images on hover for each event heading */
.image-container {
position: relative;
text-align: center;
}
.event-heading, &:visited {
color: inherit;
text-underline-offset: .3em;
cursor: cell;
}
.event-heading:hover {
color: blue;
text-decoration-color: blue;
transition: 160ms linear all;
}
.event-image {
position: absolute;
display: none;
left: 1em;
bottom: -10em;
width: auto;
height: auto;
}
/* No horizontal overflow on mobile */
@media (max-width: 600px) {
main {
padding: 0 16px;
}
.event-image {
bottom: 4rem;
left: 0;
right: 0;
margin: auto;
width: 100%;
}
}