-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
217 lines (194 loc) · 6.42 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
/*!
Theme Name: HHGsun Starter Theme Generate
Theme URI: https://hhgsun.wordpress.com
Author: HHGsun
Author URI: https://hhgsun.wordpress.com
Description: hhgsun başlangıç teması
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hhgsun
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
HHGsun Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
*,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
b,
strong {
font-weight: bolder;
}
img {
max-width: 100%;
height: auto;
}
[hidden] { display: none; }
ul { list-style: none; }
li > ul { margin-bottom: 0; margin-left: 1.5em; }
a { text-decoration: none; }
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; }
.comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links { display: flex; }
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { flex: 1 0 50%; }
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { text-align: end; flex: 1 0 50%; }
/* Media ----------------------------------- */
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; }
/* Captions -------------------------------- */
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text { margin: 0.8075em 0; }
.wp-caption-text { text-align: center; }
/* Galleries -------------------------------- */
.gallery { margin-bottom: 1.5em; display: grid; grid-gap: 1.5em; }
.gallery-item { display: inline-block; text-align: center; width: 100%; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery-caption { display: block; }
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer { display: none; }
/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer { display: block; }
/* Accessibility ---------------------------- */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 0.875rem; font-weight: 700; height: auto;
left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
#primary[tabindex="-1"]:focus { outline: 0; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }
/*
****************************************
----------------------------------------
CUSTOM CSS *****************************
........................................
*/
/* HEADER */
header.site-header {
background-color: inherit;
}
.custom-logo {
max-width: 270px;
}
/* MAIN */
main {
background-color: inherit;
min-height: 50vh;
}
.container-half {
max-width: 800px;
}
.category .post-thumbnail,
.archive .post-thumbnail,
.search .post-thumbnail {
background-color: #212529;
border-radius: .25rem;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
outline: none;
}
.category .post-thumbnail img,
.archive .post-thumbnail img,
.search .post-thumbnail img {
max-height: 500px;
object-fit: contain;
}
/* FOOTER */
footer.site-footer {
background-color: inherit;
}
footer.site-footer ul {
padding-left: 0;
}
footer.site-footer a {
color: rgba(255,255,255,.55);
text-decoration: none;
}
footer.site-footer a:hover {
color: rgba(255,255,255,.75);
}
/* **** COMPONENTS *********************** */
/* *************************************** */
/* HERO SLIDER */
.hero-slides {
min-height: 50vh;
}
.hero-slides .owl-item {
display: flex;
align-items: center;
justify-content: center;
}
.hero-slides .owl-item article {
height: 100%;
}
.hero-slides .owl-dots {
position: absolute;
bottom: 60px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
justify-content: center;
}
.hero-slides .owl-dots button {
padding: 7px !important;
background-color: #888;
border-radius: 50%;
margin: 2px;
opacity: 0.5;
}
.hero-slides .owl-dots button.active {
opacity: 1;
}
/* FEATURES */
.section-features .card-img-top {
height: 250px;
object-fit: cover;
}
/* MEDIA QUERY */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}