-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstructure.css
More file actions
93 lines (74 loc) · 1.68 KB
/
structure.css
File metadata and controls
93 lines (74 loc) · 1.68 KB
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
/* 1. Generic Browser Defaults
2. General Layout
3. Photo Loader
4. CSS3 Animation
**********************************************************************/
/* 1. Generic Browser Defaults
**********************************************************************/
html, body {
background-color: #eee;
border: 0;
color: #58585A;
font: normal small Arial, Verdana, sans-serif;
margin: 0;
padding: 0;
vertical-align: baseline;
}
p {
margin: 0 0 0.5em;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
/* 2. General Layout
**********************************************************************/
.container {
}
/* 3. Photo Loader
**********************************************************************/
#photo {
border:5px dotted #ccc;
padding:10px;
}
#photo,
#feeder {
/*Only for positioning purposes*/
margin:2% auto 0;
width:640px;
}
#feeder li {
display:inline-block;
margin-left:30px;
}
#feeder li:first-child {
margin:0;
}
/* 4. CSS3 Animation
**********************************************************************/
#photo img {
-webkit-transition:opacity 0.3s ease;
-moz-transition:opacity 0.3s ease;
-o-transition:opacity 0.3s ease;
transition:opacity 0.3s ease;
}
#photo.fadeOut img {
opacity:0;
}
#feeder img {
-webkit-transition:opacity 0.5s ease, -webkit-border-radius 0.3s ease;
-moz-transition:opacity 0.5s ease, -moz-border-radius 0.3s ease;
-o-transition:opacity 0.5s ease, -o-border-radius 0.3s ease;
transition:opacity 0.5s ease, border-radius 0.3s ease;
}
#feeder a:hover img,
#feeder a.active img {
opacity:0.7;
}
#feeder a.active img {
opacity:0.4;
-webkit-border-radius:2em;
-moz-border-radius:2em;
border-radius:2em;
}