-
Notifications
You must be signed in to change notification settings - Fork 1
/
instagrid.css
107 lines (96 loc) · 1.89 KB
/
instagrid.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
body {
background-color: #fafafa;
}
#instagram-feed {
margin: auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
a.animation {
height: 200px;
width: 200px;
/*! float: left; */
overflow: hidden;
margin: 10px;
}
a.animation:hover {
opacity: 0.6;
}
#instagram-feed a img {
width: 100%;
height: 100%;
object-fit: cover;
}
#article {
margin: 0 auto;
width: 100%;
}
h1 {
text-align: center;
font-family: sans-serif;
color: #2f2f2f;
font-weight: 900;
font-size: 60px;
letter-spacing: 10px;
margin: 50px auto 50px;
background: rgba(255, 253, 160, 1);
background: -webkit-linear-gradient(
left,
#00ffff 0%,
#97fba0 25%,
#97b1fb 50%,
#00ffff 100%
)
repeat;
-webkit-background-clip: text;
-ms-background-clip: text;
-moz-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
-ms-text-fill-color: transparent;
-moz-text-fill-color: transparent;
text-fill-color: transparent;
-webkit-animation-name: masked-animation;
-webkit-animation-duration: 50s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-name: masked-animation;
animation-duration: 50s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
span {
cursor: default;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
/* Styles */
h1 {
font-size: 20px;
letter-spacing: 5px;
margin: 20px 0;
}
#instagram-feed {
width: 100%;
margin: 0 auto;
}
a.animation {
height: 150px;
width: 150px;
float: left;
overflow: hidden;
margin: 2px;
}
a.animation:hover {
}
#instagram-feed a img {
width: 150px;
height: 150px;
object-fit: cover;
}
#article {
width: 100%;
margin: 0;
}
}