-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathins.css
executable file
·153 lines (151 loc) · 2.88 KB
/
ins.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
141
142
143
144
145
146
147
148
149
150
151
152
153
#post-instagram{
padding: 30px;
}
figure {
margin: 0;
}
#post-instagram .article-entry{
padding-right: 0;
}
.instagram{
position: relative;
min-height: 500px;
}
.instagram img {
width: 100%;
}
.posts-expand .post-body img {
padding: 0;
border : 0;
}
.instagram .year {
font-size: 16px;
}
.instagram .open-ins{
padding: 10px 0;
color: #cdcdcd;
}
.instagram .open-ins:hover{
color: #657b83;
}
.instagram .year{
display: inline;
}
.instagram .thumb {
width: 25%;
height: 0;
padding-bottom: 25%;
position: relative;
display: inline-block;
text-align: center;
background: #ededed;
outline: 1px solid #ddd;
}
.instagram .thumb a {
position: relative;
}
.instagram .album h1 em{
font-style: normal;
font-size: 14px;
margin-left: 10px;
}
.instagram .album ul{
display: flex;
flex-wrap: wrap;
clear: both;
width: 100%;
text-align: left;
}
.instagram .album li{
list-style: none;
display: inline-block;
box-sizing: border-box;
padding: 0 5px;
margin-bottom: -10px;
height: 0;
width: 25%;
position: relative;
padding-bottom: 25%;
}
.instagram .album li:before{
display: none;
}
.instagram .album div.img-box{
position: absolute;
width: 90%;
height: 90%;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 1px 0 1px rgba(255,255,255,0.1);
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 1px 0 1px rgba(255,255,255,0.1);
box-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 1px 0 1px rgba(255,255,255,0.1);
}
.instagram .album div.img-box img{
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.instagram .album div.img-box .img-bg{
position: absolute;
top: 0;
left: 0;
bottom: 0px;
width: 100%;
margin: -5px;
padding: 5px;
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 1px 5px rgba(0,0,0,0.1);
-moz-box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 1px 5px rgba(0,0,0,0.1);
box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 1px 5px rgba(0,0,0,0.1);
-webkit-transition: all 0.15s ease-out 0.1s;
-moz-transition: all 0.15s ease-out 0.1s;
-o-transition: all 0.15s ease-out 0.1s;
transition: all 0.15s ease-out 0.1s;
opacity: 0.2;
cursor: pointer;
display: block;
z-index: 3;
}
.instagram .album div.img-box .icon {
font-size: 14px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -7px;
margin-top: -7px;
color: #999;
z-index: 1;
}
.instagram .album div.img-box .img-bg:hover{
opacity: 0;
}
.photos-btn-wrap {
border-bottom: 1px solid #e5e5e5;
margin-bottom: 20px;
}
.photos-btn {
font-size: 16px;
color: #333;
margin-bottom: -4px;
padding: 5px 8px 3px;
}
.photos-btn.active {
color: #08c;
border: 1px solid #e5e5e5;
border-bottom: 5px solid #fff;
}
@media screen and (max-width:600px) {
.instagram .thumb {
width: 50%;
padding-bottom: 50%;
}
.instagram .album li {
width: 100%;
position: relative;
padding-bottom: 100%;
text-align: center;
}
.instagram .album div.img-box{
margin: 0;
width: 90%;
height: 90%;
}
}