-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathigs.css
110 lines (92 loc) · 1.61 KB
/
igs.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
109
110
.pure-g > div {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-clip:content-box;
padding: .1em;
}
.l-box {
padding: .1em;
}
.header {
max-width: 650px;
margin: 0 auto;
padding: .1em;
text-align: center;
letter-spacing: 0.05em;
font-family: garamond, arial;
}
.header > h1 {
font-weight: bold;
margin: 0;
font-size: 400%;
}
.header > h2 {
font-weight: 100;
margin: 0;
font-size: 280%;
}
.content {
max-width: 610px;
margin: 0 auto;
}
.year-parent {
position:relative;
width: 300px;
}
.year {
margin: auto;
display: block;
}
.year-link:link, .year-link:visited {
color: black;
text-decoration: none;
}
.year-link:hover, .year-link:active {
background-color: lightblue;
text-decoration: none;
}
.year-parent:hover .year {
animation: .3s fadeIn;
animation-fill-mode: forwards;
opacity: .2;
-webkit-transition: opacity .5s;
}
.year-parent:focus .year {
animation: .5s fadeIn;
animation-fill-mode: forwards;
opacity: .2;
-webkit-transition: opacity .5s;
}
.year-parent:hover .year-text {
animation: .3s fadeIn;
animation-fill-mode: forwards;
opacity: 1;
-webkit-transition: opacity .5s;
/*
visibility: visible;
*/
}
.year-parent:focus .year-text {
animation: .5s fadeIn;
animation-fill-mode: forwards;
opacity: 1;
-webkit-transition: opacity .5s;
}
.year-text {
position:absolute;
top: 0px;
left: 30px;
font-size: 140%;
font-weight: bold;
color: black;
visibility: hidden;
opacity: 0;
}
@keyframes fadeIn {
60% {
visibility: hidden;
}
100% {
visibility: visible;
}