-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
302 lines (254 loc) · 4.53 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
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
/*
Theme Name: Learn Wordpress Theme
Theme URI: https://github.com/omrobbie/learn-wordpress-theme.git
Author: omrobbie
Description: Tema responsive yang dibuat dengan bootstrap
Version: 1.0
License: GNU General Public Lcense v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: wordpress, bootstrap, responsive design
*/
@import "css/bootstrap.min.css";
body {
background: url('images/bg_primary.png');
}
.container {
background: #fff;
}
.title-image {
margin: 10px 0;
max-width: 400px;
}
/* buat tulisan merah diatas hitam */
.navbar {
background: #222;
border: none;
border-bottom: 3px solid #ff0000;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}
.navbar li:hover,
.navbar ul li.current_page_ancestor,
.navbar ul li.current_page_item {
background-color: #ff0000;
}
.navbar a {
text-transform: uppercase;
font-weight: bold;
}
/* untuk dropdown menu */
ul.nav ul {
display: none;
position: absolute;
list-style: none;
padding: 0;
background: #222;
width: 200px;
z-index: 100;
}
ul.nav li {
position: relative;
}
ul.nav li:hover > ul {
display: block;
}
ul.nav ul a {
display: block;
padding: 10px;
color: #fff;
}
ul.nav ul a:hover {
text-decoration: none;
background: #000;
}
ul.nav ul ul {
left: 200px;
top: 0;
}
@media screen and (max-width: 768px) {
ul.nav li ul {
position: relative;
display: block;
width: 100%;
left: 0;
padding-left: 20px;
}
}
/* untuk search di navbar */
.search-form .screen-reader-text,
.search-form .search-submit {
display: none;
}
.search-form .search-field {
background: #333 url('images/search-icon.png') no-repeat right;
background-size: 20px;
margin: 10px 0 -10px;
border: none;
width: 200px;
height: 30px;
color: #ccc;
padding-left: 10px;
}
/* untuk widget di sidebar */
.widget {
margin: 0 0 20px;
}
.widget .widget-title {
background: #222;
font-size: 15px;
font-weight: bold;
padding: 10px;
border-bottom: 2px solid #bc0000;
color: #fff;
}
.widget ul,
.widget ol {
list-style: none;
margin: 0;
padding: 0;
}
.widget li a {
display: block;
padding: 8px 10px;
border-bottom: 1px solid #eee;
}
.widget li a:hover {
background: #f8f8f8;
text-decoration: none;
}
/* modifikasi kalender */
#wp-calendar {
width: 100%;
}
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
text-align: center;
border: 1px solid #f7f7f7;
padding: 3px 0;
}
/* untuk tampilan fitur foto pada post */
article.post {
margin-top: 10px;
margin-bottom: 20px;
}
.entry-title {
margin: -15px 0 0 0;
}
header .entry-meta {
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
margin-bottom: 10px;
}
/* untuk pagination */
.pagination a,
.pagination .current {
display: inline-block;
border: 1px solid #ccc;
padding: 5px 10px;
}
.pagination a:hover,
.pagination .current {
background: #337ab7;
color: #fff;
text-decoration: none;
}
/* untuk carousel */
.carousel {
margin-bottom: 20px;
}
.carousel > ol {
list-style-type: none;
}
.carousel-inner > .item > a > img {
height: 400px;
}
.carousel-control {
background: #222;
color: #fff;
width: 50px;
height: 80px;
top: 150px;
z-index: 20;
}
.carousel-indicators {
top: 20px;
left: 40px;
}
.carousel-caption {
background: rgba(0,0,0,0.5);
bottom: 0;
left: 0;
right: 0;
text-align: left;
padding: 20px;
}
@media screen and (max-width: 768px) {
.carousel-inner > .item > a > img {
height: 300px;
}
.carousel-control {
height: 60px;
top: 120px;
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
top: 20px;
}
}
/* untuk tampilan komentar */
.comments-title {
border-bottom: 2px solid #ccc;
padding-bottom: 5px;
}
li.media {
border: 1px solid #eee;
padding: 15px;
margin-bottom: 10px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
li.media a {
color: #aaa;
}
li.media .reply-link {
float: right;
}
li.media .glyphicon-share-alt {
transform: scale(-1, 1);
-moz-transform: scale(-1, 1);
-webkit-transform: scale(-1, 1);
color: #aaa;
}
.comment-form .form-title {
border-bottom: 2px solid #ccc;
padding-bottom: 5px;
}
/* untuk tampilan galeri */
.gallery .gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 25%;
}
.gallery img {
border: 1px solid #cfcfcfcf;
padding: 5px;
}
.gallery .gallery-caption {
margin-left: 0;
}
.entry-header {
border-bottom: 3px solid #eee;
padding: 5px 10px;
margin: 20px 0;
}
/* untuk custom widget footer */
#footer-widget .container,
footer .container {
background: #ececec;
}