-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
115 lines (105 loc) · 1.94 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
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
@charset "UTF-8";
/* CSS Document */
* {margin: 0; padding: 0;}
*, *:after, *:before {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
.group:after {content: ""; display: table; clear: both;}
.clear {clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0;}
body {
font-family: 'Open Sans Condensed', sans-serif;
color: #464646;
}
/* CONTENT ELEMENTS */
#wrapper {
display: block;
width: 95%;
margin: 10px auto;
text-align: center;
}
#logo {
display: block;
text-align: center;
padding-bottom: 1em;
}
.content {
display: block;
width: 100%;
padding: 2%;
border: 1px solid #ebebeb;
}
/* FEED */
ul.feed {
width: 100%;
margin: 0;
list-style: none;
}
ul.feed li {
width: 31.3%;
float: left;
margin: 1%;
position: relative;
}
ul.feed li img {
display: block;
width: 100%;
height: auto;
}
/* IMAGE OVERLAY */
.overlay {
opacity: 0;
-webkit-transition: opacity 0.2s ease-in-out;
-moz-transition: opacity 0.2s ease-in-out;
-ms-transition: opacity 0.2s ease-in-out;
-o-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
padding: 25% 0;
background: rgba(0,0,0,0.85);
width: 75%;
height: auto;
text-align: center;
display: table;
}
.overlay:hover, .over:focus {
opacity: 1;
}
.overlay-inner {
width: 100%;
height: 100%;
display: table-cell;
vertical-align: middle;
}
/* STYLING ELEMENTS */
.likes {
color: #fff;
}
.likes i {
padding-right: 10px;
}
h1 {
font-family: 'Lobster', cursive;
}
h3 {
font-weight: 300;
}
.blue {
color: #2a5b83;
}
.paging{
display: inline-block;
text-align: center;
clear: both;
margin-top: 10px;
padding: 10px 20px;
cursor: pointer;
border: 1px solid #e1e1e1;
border-radius: 5px;
}
.paging:hover {
background: #2a5b83;
color: #fff;
}