This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathngtyk.css
141 lines (122 loc) · 2.92 KB
/
ngtyk.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@-webkit-keyframes kurukuru {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes nijiiro {
0% { color: #f00; }
17% { color: #ff0; }
33% { color: #0f0; }
50% { color: #0ff; }
67% { color: #00f; }
83% { color: #f0f; }
100% { color: #f00; }
}
@-webkit-keyframes fadein {
0% { activity: 0; background-color: #fff; }
100% { activity: 1; }
}
* {
-webkit-animation-name: fadein;
-webkit-animation-duration: 5s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: 1;
}
body {
font-family: Helvetica, "Lucida Grande","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ", "MS Pゴシック","Lucida Sans Unicode",Arial,Verdana,sans-serif;
background-color: #aaa;
margin: 0;
padding: 0;
}
div#container {
background-color: #fff;
width: 90%;
margin: 0px auto;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
header {
display: -webkit-box;
-webkit-box-align: center;
width: 50%;
margin: 1em auto;
}
header h1 {
text-align: center;
font-size: 4em;
-webkit-box-flex: 1;
-webkit-animation-name: kurukuru, nijiiro;
-webkit-animation-duration: 3s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
}
header .portrait {
-webkit-box-reflect: below 5px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.8, transparent), to(rgba(0, 0, 0, 0.8)));
}
header .removed {
width: 240px;
height: 320px;
padding: 0.5em;
border: solid 12px white;
-webkit-box-shadow: 1px 1px 6px silver;
background-color: silver;
}
header .portrait img {
border: solid 12px white;
height: 320px;
-webkit-box-shadow: 1px 1px 6px silver;
}
section {
display: block;
width: 80%;
margin: 0px auto;
}
section h2 {
background-color: #33a2be;
color: #fff;
box-shadow: 3px 3px 2px #999;
-moz-box-shadow: 3px 3px 2px #999;
-webkit-box-shadow: 3px 3px 2px #999;
padding: 5px;
margin: 0px;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
section#twitter ul li {
-webkit-transition-propaty: all;
-webkit-transition-duration: 1s;
-webkit-transition-timing-function: ease-in-out;
list-style: none;
line-height: 1.5em;
border-bottom: 1px dotted #ccc;
}
section#twitter ul li:hover {
background-color: #33a2be;
}
.ribbon {
background-color: #a00;
overflow: hidden;
/* top left corner */
position: absolute;
left: -3em;
top: 2.5em;
/* 45 deg ccw rotation */
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
/* shadow */
-moz-box-shadow: 0 0 1em #888;
-webkit-box-shadow: 0 0 1em #888;
}
.ribbon a {
border: 1px solid #faa;
color: #fff;
display: block;
font: bold 81.25% 'Helvetiva Neue', Helvetica, Arial, sans-serif;
margin: 0.05em 0 0.075em 0;
padding: 0.5em 3.5em;
text-align: center;
text-decoration: none;
/* shadow */
text-shadow: 0 0 0.5em #444;
}