-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
90 lines (77 loc) · 1.07 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
html,
body {
margin: 0;
padding: 0;
background-color: #eee;
font-family: sans-serif;
}
/* #loading {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
transition: .5s;
background-color: #fff;
z-index: 1000;
} */
h3 {
font-weight: normal;
font-size: 18px;
padding: 0 10px;
color: #999;
margin-bottom: 10px;
}
h3 small {
font-size: 18px;
}
h3 a {
text-decoration: none;
color: #666;
transition: .9s;
font-weight: bold;
}
h3 a:hover {
color: tomato;
}
h3 a span {
color: tomato;
transition: .5s;
}
h3 a:hover span {
color: #666;
}
#loading.hide {
opacity: 0;
}
#rss500px {
padding: 5px;
}
#rss500px:after {
content: '';
display: block;
clear: both;
}
#rss500px a {
border-radius: 5px;
margin: 5px;
width: calc(25% - 10px);
padding-bottom: 25%;
display: block;
overflow: hidden;
float: left;
position: relative;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
transition: .5s;
}
#rss500px a:hover {
transform: scale(1.05);
opacity: 0.8;
z-index: 1;
}
#rss500px a img {
position: absolute;
object-fit: cover;
width: 100%;
height: 100%;
}