-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
197 lines (164 loc) · 3.5 KB
/
style.css
File metadata and controls
197 lines (164 loc) · 3.5 KB
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
/*
Theme Name: WP Starter
Theme URI: https://waardwebstes.nl/themes/wp_starter
Author: robmon
Author URI: https://waardwebsites.nl
Description: This is a starter theme. This theme is intended to clone and edit to create your own theme. This theme is intended as a minimal yet complete blank start. Start building your own theme by reading the README.md file in the template folder. Please do not use this as if it is a regular theme.
Version: 1.0
Requires at least: 5.6.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-starter
Tags: theme-options
Domain Path: /languages
*/
:root {
--color-1: #000;
--color-2: #FFF;
--color-3: #119; /* accent color */
--font-1: 'Georgia', serif;
--font-2: 'Verdana', sans-serif;
}
.has-color-1-color {
color: --color-1;
}
.has-color-2-color {
color: --color-2;
}
.has-color-1-background-color {
background-color: --color-1;
}
.has-color-2-background-color {
background-color: --color-2;
}
.has-gradient-1-gradient-background {
background: linear-gradient( --color-1 33%, --color-1 100% );
}
.container {
max-width: 1000px;
padding: 1rem;
margin-left: auto;
margin-right: auto;
}
/* POST LIST */
ul.post-list {
display: flex;
padding: 0;
margin: auto;
list-style: none;
flex-wrap: wrap;
justify-content: center;
}
ul.post-list>li {
width: 400px;
margin: 1rem;
display: flex;
flex-direction: column;
background: var( --color-1);
color: var( --color-2);
border-top: 9px solid var( --color-2);
}
ul.post-list>li.sticky {
padding-top: 9px;
}
ul.post-list .wp-post-image {
object-fit: cover;
width: 100%;
aspect-ratio: 1;
}
ul.post-list h2 {
margin: 0;
padding: 2rem 1rem 0.5rem 1rem;
}
ul.post-list .the-excerpt {
flex: 1 0 auto;
margin: 0;
padding: 0.5rem 1rem;
text-align: center;
}
ul.post-list>li .bottom {
padding: 1rem 1rem 2rem 1rem;
margin: 0;
text-align: center;
}
ul.post-list>li h2 {
text-align: center;
}
ul.post-list>li .bottom a.read-more-btn {
display: inline-block;
padding: 1rem 1.5rem;
background: var( --color-2);
font-weight: bold;
color: var( --color-1);
text-decoration: none;
}
@media screen and (max-width: 700px) {
ul.post-list {
grid-template-columns: 1fr;
}
}
/* END POST LIST */
/* LIST NAVIGATION */
.pagination {
margin: 1rem 0;
color: var( --color-1);
}
.nav-links {
display: flex;
max-width: 1000px;
padding: 0.5rem 1rem;
margin: auto;
font-size: 1.3rem;
justify-content: center;
}
.nav-links a {
color: var( --color-1);
text-decoration: none;
}
.nav-links a:hover {
text-decoration: underline;
}
.nav-links .page-numbers, .nav-links .post-page-numbers {
display: flex;
flex-direction: column;
width: 2rem;
height: 2rem;
justify-content: center;
text-align: center;
}
.nav-links span.page-numbers.current, .nav-links span.post-page-numbers.current {
font-weight: bold;
}
/* END LIST NAVIGATION */
/* POST_META PARTIAL */
.meta {
margin-bottom: 1rem;
font-style: italic;
}
/* END POST_META PARTIAL */
.comments {
padding-top: 1rem;
border-top: 2px solid var( --color-1);
margin-top: 2rem;
}
/* FLEX LIST */
ul.flex-list {
display: flex;
padding: 0 2rem;
justify-content: flex-end;
gap: 2rem;
list-style: none;
overflow: hidden;
}
ul.flex-list>li a {
display: flex;
align-items: center;
padding: 0.5rem 0;
text-decoration: none;
}
ul.flex-list>li>a:hover, ul.flex-list>li>a:focus {
outline: none;
}
/* END FLEX LIST */