-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront-page.css
191 lines (139 loc) · 2.66 KB
/
front-page.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/** (C) Copyright Bobbing Wide 2016-2017
* Styling for the front-page and blog page
*/
.blog article,
.page-template-page_blog article {
float: left;
padding: 1px 0.5%;
margin: 2px 0.5% 15px 0.5%;
position: relative;
box-sizing: border-box;
border-top: 1px solid #e0e0e0;
}
.post-type-archive h2,
.post-type-archive-oik-plugins h2,
.post-type-archive-oik_request h2 {
font-size: 18px;
margin: 0px 0px 0px 0px;
}
.blog h2,
.page-template-page_blog h2 {
font-size: 20px;
font-weight: bold;
}
.page-template-page_blog .entry-content {
font-size: 16px;
}
/**
.post-type-archive .entry {
margin-bottom: 2px;
padding: 2px 20px;
}
*/
.post-type-archive p {
margin: 0px;
padding: 0px;
}
.archive .entry {
background-color: #f0f0f0;
}
.post-type-archive article:hover {
border: 1px solid grey;
background: #e2e2e2;
}
/* Enable images to appear to be the same height */
.post-type-archive-oik-themes article:after {
padding-top: 85%;
background-color: white;
}
article.oik-themes {
height: auto;
overflow: hidden;
margin-bottom: 10px;
position: relative;
/* border: 1px solid #ffffff; */
}
/*
article.oik-themes img {
position: absolute;
left: 0;
top: 40px;
width: 100%;
}
*/
article.oik-plugins a.entry-image-link {
width: 100%;
text-align: center;
display: block;
}
article.oik-plugins img {
margin: 0 auto;
}
.content .oik-themes.entry {
/* background-color: #cccccc; */
}
article.oik-themes:hover {
/* border: 1px solid grey; */
}
/**
h2.entry-title {
padding: 7px 5px 7px 10px;
}
*/
article header:hover {
/* background-color: #eeeeee; */
}
/* // (C) Copyright Bobbing Wide 2017
* Default styling for the oik-a2z pagination list
*
*/
div.a2z {
width: 100%;
}
ul.a2z {
display: block;
}
ul.a2z li a span.count {
display: none;
}
article:after {
padding-top: 0%;
display: block;
content: " ";
overflow: hidden;
}
@media screen and ( min-width: 480px ) {
.blog article,
.page-template-page_blog article {
width: 100%;
border: 1px solid #e0e0e0;
}
article.oik-plugins img {
width: 100%;
}
@media screen and ( min-width: 768px ) {
.blog article,
.page-template-page_blog article {
width: 49%;
}
.blog article:nth-of-type( 2n+1 ),
.page-template-page_blog article:nth-of-type( 2n+1 ) {
clear: both;
}
}
@media screen and ( min-width: 1024px ) {
.blog article,
.page-template-page_blog article,
.post-type-archive article {
width: 31.3333%;
}
.blog article:nth-of-type( 2n+1 ),
.page-template-page_blog article:nth-of-type( 2n+1 ) {
clear: none;
}
.blog article:nth-of-type(3n+1),
.page-template-page_blog article:nth-of-type(3n+1),
.post-type-archive article:nth-of-type(3n+1) {
clear: both;
}
}