forked from bartaz/bartaz.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (91 loc) · 2.55 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
109
110
html {margin:0;padding:0;border:0;}
body, span, h1, h2, section {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
section {display:block;}
body {
line-height: 1.4;
background: #FFF:
}
#wrapper {
min-height: 390px;
width: 960px;
margin: 100px auto 20px;
background: url(me.png) no-repeat 110% 0;
font-family: 'IM Fell DW Pica', times, serif;
}
h1 {
line-height: 1.4;
font-size: 130px;
text-transform: lowercase;
margin: 0 10px;
}
h1 .firstname { color: #777; }
h1 .lastname { color: #000; }
h1 .nbsp, h1 .firstname .sz { display: none; }
.firstname:hover .sz { display: inline }
span.firstname:hover ~ .nbsp ~ span.lastname > span.sz { display: none }
@media screen and (-webkit-min-device-pixel-ratio:0) {
h1:hover .firstname .sz { display: inline }
h1:hover .lastname .sz { display: none }
}
h2 {
font-size: 41px;
margin: 0 10px;
}
.js h1, .js h2 { display: none }
span.lastname > .sz {
-webkit-animation: neon 5s infinite alternate;
-moz-animation: neon 5s infinite alternate;
-ms-animation: neon 5s infinite alternate;
-o-animation: neon 5s infinite alternate;
animation: neon 5s infinite alternate;
}
@-webkit-keyframes neon {
0%, 19% { color: #000 }
20%, 29% { color: #777 }
30%, 34% { color: #000 }
35%, 44% { color: #777 }
45%, 59% { color: #000 }
60%, 79% { color: #777 }
80%, 89% { color: #000 }
90%,100% { color: #777 }
}
@-moz-keyframes neon {
0%, 19% { color: #000 }
20%, 29% { color: #777 }
30%, 34% { color: #000 }
35%, 44% { color: #777 }
45%, 59% { color: #000 }
60%, 79% { color: #777 }
80%, 89% { color: #000 }
90%,100% { color: #777 }
}
@-ms-keyframes neon {
0%, 19% { color: #000 }
20%, 29% { color: #777 }
30%, 34% { color: #000 }
35%, 44% { color: #777 }
45%, 59% { color: #000 }
60%, 79% { color: #777 }
80%, 89% { color: #000 }
90%,100% { color: #777 }
}
@-o-keyframes neon {
0%, 19% { color: #000 }
20%, 29% { color: #777 }
30%, 34% { color: #000 }
35%, 44% { color: #777 }
45%, 59% { color: #000 }
60%, 79% { color: #777 }
80%, 89% { color: #000 }
90%,100% { color: #777 }
}
@-ms-keyframes neon {
0%, 19% { color: #000 }
20%, 29% { color: #777 }
30%, 34% { color: #000 }
35%, 44% { color: #777 }
45%, 59% { color: #000 }
60%, 79% { color: #777 }
80%, 89% { color: #000 }
90%,100% { color: #777 }
}