jekyll-indieweb 2.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.markdown +93 -0
- data/_includes/author.html +11 -0
- data/_includes/hcard.html +16 -0
- data/_includes/head.html +19 -0
- data/_includes/header.html +17 -0
- data/_includes/icons.html +70 -0
- data/_includes/icons_base.html +70 -0
- data/_includes/pagination.html +35 -0
- data/_includes/post-content.html +83 -0
- data/_includes/post-hcard.html +32 -0
- data/_includes/post-like.html +11 -0
- data/_includes/post.html +47 -0
- data/_includes/webmentions.html +10 -0
- data/_layouts/default.html +30 -0
- data/_layouts/header.html +17 -0
- data/_layouts/micropubpost.html +4 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +38 -0
- data/assets/css/_inc/article.css +142 -0
- data/assets/css/_inc/darkmode.css +39 -0
- data/assets/css/_inc/footer.css +12 -0
- data/assets/css/_inc/grid.css +63 -0
- data/assets/css/_inc/hcard.css +231 -0
- data/assets/css/_inc/header.css +50 -0
- data/assets/css/_inc/links.css +41 -0
- data/assets/css/_inc/main.css +27 -0
- data/assets/css/_inc/remedy.css +89 -0
- data/assets/css/_inc/variables.css +45 -0
- data/assets/css/main.css +729 -0
- data/assets/css/main.css.map +1 -0
- data/assets/images/favicon.png +0 -0
- data/assets/images/icons/facebook.svg +1 -0
- data/assets/images/icons/flickr.svg +1 -0
- data/assets/images/icons/foursquare.svg +1 -0
- data/assets/images/icons/github.svg +1 -0
- data/assets/images/icons/instagram.svg +1 -0
- data/assets/images/icons/linkedin.svg +1 -0
- data/assets/images/icons/mail.svg +1 -0
- data/assets/images/icons/rss.svg +1 -0
- data/assets/images/icons/tumblr.svg +1 -0
- data/assets/images/icons/twitter.svg +1 -0
- data/assets/images/profile.png +0 -0
- data/assets/images/social_preview.png +0 -0
- metadata +227 -0
@@ -0,0 +1,231 @@
|
|
1
|
+
/* Inspiration https://responsivemart.com/ui_design/css-user-profile-card/ */
|
2
|
+
|
3
|
+
.usercard-wrapper {
|
4
|
+
margin: 5em auto;
|
5
|
+
max-width: 1100px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.usercard-wrapper .row {
|
9
|
+
display: flex;
|
10
|
+
flex-direction: column;
|
11
|
+
}
|
12
|
+
|
13
|
+
.usercard-wrapper .row .col {
|
14
|
+
flex-grow: 1;
|
15
|
+
}
|
16
|
+
.usercard {
|
17
|
+
background: var(--gray);
|
18
|
+
display: flex;
|
19
|
+
flex-basis: 0;
|
20
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
21
|
+
overflow: hidden;
|
22
|
+
border-radius: 4px;
|
23
|
+
}
|
24
|
+
|
25
|
+
.profiles {
|
26
|
+
display: flex;
|
27
|
+
list-style-type: none;
|
28
|
+
flex-flow: row wrap;
|
29
|
+
justify-content: center;
|
30
|
+
margin: 1.5em 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
.profile svg {
|
34
|
+
width: 1em;
|
35
|
+
height: 1em;
|
36
|
+
border-radius: 50%;
|
37
|
+
border: none;
|
38
|
+
outline: none;
|
39
|
+
font-size: 3em;
|
40
|
+
cursor: pointer;
|
41
|
+
opacity: .9;
|
42
|
+
}
|
43
|
+
|
44
|
+
.profile .icon {
|
45
|
+
fill: var(--light);
|
46
|
+
}
|
47
|
+
|
48
|
+
.usercard-avatar {
|
49
|
+
position: relative;
|
50
|
+
width: 50%;
|
51
|
+
z-index: 49;
|
52
|
+
overflow: hidden;
|
53
|
+
}
|
54
|
+
|
55
|
+
.usercard-img {
|
56
|
+
width: 100%;
|
57
|
+
height: 100%;
|
58
|
+
object-fit: cover;
|
59
|
+
transition: .3s;
|
60
|
+
}
|
61
|
+
|
62
|
+
.usercard-body {
|
63
|
+
position: relative;
|
64
|
+
width: 60%;
|
65
|
+
padding: 3em 3em 2em;
|
66
|
+
background-color: var(--dark-gray);
|
67
|
+
color: var(--light);
|
68
|
+
text-align: center;
|
69
|
+
}
|
70
|
+
|
71
|
+
.usercard .title {
|
72
|
+
color: var(--very-light-gray);
|
73
|
+
font-size: 2.5rem;
|
74
|
+
margin-bottom: .4em;
|
75
|
+
|
76
|
+
}
|
77
|
+
|
78
|
+
.usercard:hover .usercard-img {
|
79
|
+
transform: scale(1.1) rotate(3deg);
|
80
|
+
}
|
81
|
+
|
82
|
+
@media (max-width: 550px) {
|
83
|
+
.usercard {
|
84
|
+
flex-direction: column;
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
.usercard-avatar {
|
89
|
+
width: 100%;
|
90
|
+
}
|
91
|
+
|
92
|
+
.usercard-body {
|
93
|
+
width: 100%;
|
94
|
+
};
|
95
|
+
}
|
96
|
+
|
97
|
+
@media (min-width: 550px) {
|
98
|
+
.usercard .usercard-avatar:after {
|
99
|
+
content: '';
|
100
|
+
position: absolute;
|
101
|
+
right: -16%;
|
102
|
+
top: 0;
|
103
|
+
transform: skewx(-10deg);
|
104
|
+
height: 100%;
|
105
|
+
width: 20%;
|
106
|
+
min-width: 90px;
|
107
|
+
background: var(--dark-gray);
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
/* ripped from Rachel Andrews https://gridbyexample.com/patterns/media-object/ */
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
.media {
|
116
|
+
margin-bottom: 2em;
|
117
|
+
padding: 10px;
|
118
|
+
}
|
119
|
+
|
120
|
+
.media > .media-title { grid-area: media-title; }
|
121
|
+
.media > .img { grid-area: img; }
|
122
|
+
.media > .media-content { grid-area: bd; }
|
123
|
+
.media > .media-footer { grid-area: ft; }
|
124
|
+
|
125
|
+
.media {
|
126
|
+
background: var(--gray);
|
127
|
+
display: grid;
|
128
|
+
grid-column-gap: 20px;
|
129
|
+
grid-template-areas:
|
130
|
+
"media-title"
|
131
|
+
"img"
|
132
|
+
"bd"
|
133
|
+
"ft";
|
134
|
+
}
|
135
|
+
|
136
|
+
|
137
|
+
@media (min-width: 600px) {
|
138
|
+
|
139
|
+
/* clearfix*/
|
140
|
+
.media:after {
|
141
|
+
content: "";
|
142
|
+
display: block;
|
143
|
+
clear: both;
|
144
|
+
}
|
145
|
+
|
146
|
+
.media > .media {
|
147
|
+
margin-left: 160px;
|
148
|
+
clear: both;
|
149
|
+
}
|
150
|
+
|
151
|
+
.media .img {
|
152
|
+
float: left;
|
153
|
+
margin: 0 10px 0 0;
|
154
|
+
width: 150px;
|
155
|
+
}
|
156
|
+
|
157
|
+
.media .media-footer {
|
158
|
+
background-color: var(--gray);
|
159
|
+
padding: 10px;
|
160
|
+
}
|
161
|
+
|
162
|
+
.media-footer .profiles {
|
163
|
+
padding: 0;
|
164
|
+
margin: 0;
|
165
|
+
}
|
166
|
+
|
167
|
+
.media.media-flip .img {
|
168
|
+
float: right;
|
169
|
+
margin: 0 0 0 10px;
|
170
|
+
}
|
171
|
+
|
172
|
+
.media > * {
|
173
|
+
margin: 0 0 0 160px;
|
174
|
+
}
|
175
|
+
|
176
|
+
.media.media-flip > * {
|
177
|
+
margin: 0 160px 0 0;
|
178
|
+
}
|
179
|
+
|
180
|
+
@supports(display: grid ) {
|
181
|
+
/* override */
|
182
|
+
.media > *,
|
183
|
+
.media.media-flip > * {
|
184
|
+
margin: 0;
|
185
|
+
}
|
186
|
+
.media .img,
|
187
|
+
.media.media-flip .img {
|
188
|
+
width: auto;
|
189
|
+
margin: 0;
|
190
|
+
}
|
191
|
+
.media:after {
|
192
|
+
content: none;
|
193
|
+
}
|
194
|
+
|
195
|
+
.media {
|
196
|
+
display: grid;
|
197
|
+
grid-column-gap: 20px;
|
198
|
+
grid-template-columns: 150px 3fr;
|
199
|
+
grid-template-rows: auto 1fr auto;
|
200
|
+
grid-template-areas:
|
201
|
+
"img media-title"
|
202
|
+
"img bd"
|
203
|
+
"ft ft";
|
204
|
+
}
|
205
|
+
|
206
|
+
.media.media-flip {
|
207
|
+
grid-template-columns: 3fr 150px ;
|
208
|
+
grid-template-areas:
|
209
|
+
"media-title img"
|
210
|
+
"bd img"
|
211
|
+
"ft ft";
|
212
|
+
}
|
213
|
+
|
214
|
+
.media.img-flexie {
|
215
|
+
grid-template-columns: minmax(150px, 1fr) 3fr;
|
216
|
+
}
|
217
|
+
|
218
|
+
.media.media-flip.img-flexie {
|
219
|
+
grid-template-columns: 3fr minmax(150px, 1fr);
|
220
|
+
}
|
221
|
+
|
222
|
+
/* nested */
|
223
|
+
.media > .media {
|
224
|
+
grid-column: 2 / -1 ;
|
225
|
+
margin: 0; /* override */
|
226
|
+
margin-top: 1em;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
|
231
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/*
|
2
|
+
Header
|
3
|
+
*/
|
4
|
+
|
5
|
+
.mainheader {
|
6
|
+
display: flex;
|
7
|
+
flex-direction: column;
|
8
|
+
align-items: center;
|
9
|
+
background-color: var(--very-dark-gray);
|
10
|
+
color: #fff;
|
11
|
+
}
|
12
|
+
|
13
|
+
.mainheader h1 {
|
14
|
+
font-size: 1.3rem;
|
15
|
+
}
|
16
|
+
|
17
|
+
.site-branding {
|
18
|
+
display: flex;
|
19
|
+
justify-content: space-around;
|
20
|
+
}
|
21
|
+
|
22
|
+
.site-branding img {
|
23
|
+
height: 3em;
|
24
|
+
width: 3em;
|
25
|
+
margin-right: 1em;
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
.mainnav {
|
30
|
+
width: auto;
|
31
|
+
display: flex;
|
32
|
+
flex-direction: row;
|
33
|
+
align-items: center;
|
34
|
+
font-size: 24px;
|
35
|
+
}
|
36
|
+
|
37
|
+
.mainnav a {
|
38
|
+
padding: .5em;
|
39
|
+
}
|
40
|
+
|
41
|
+
@media (min-width: 900px) {
|
42
|
+
.mainheader {
|
43
|
+
flex-direction: row;
|
44
|
+
justify-content: space-around;
|
45
|
+
}
|
46
|
+
|
47
|
+
.mainnav a {
|
48
|
+
padding: .5em .8em;
|
49
|
+
}
|
50
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
a {
|
2
|
+
outline : none;
|
3
|
+
text-decoration: none;
|
4
|
+
padding : 2px 1px 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
|
8
|
+
a:link {
|
9
|
+
color: var(--color3light);
|
10
|
+
}
|
11
|
+
|
12
|
+
a:visited {
|
13
|
+
color: var(--red);
|
14
|
+
}
|
15
|
+
|
16
|
+
a:focus {
|
17
|
+
border-bottom: 1px solid var(--red);
|
18
|
+
background: var(--yellow);
|
19
|
+
}
|
20
|
+
|
21
|
+
a:hover {
|
22
|
+
border-bottom: 1px solid;
|
23
|
+
background: var(--yellow);
|
24
|
+
}
|
25
|
+
|
26
|
+
.profiles a:hover {
|
27
|
+
border: none;
|
28
|
+
background: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
.tags a, .tags a:visited {
|
32
|
+
color: var(--very-light-gray)
|
33
|
+
}
|
34
|
+
|
35
|
+
.tags a:hover {
|
36
|
+
border: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
a:active {
|
40
|
+
color: var(--highlight);
|
41
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
@import "variables";
|
2
|
+
@import "remedy";
|
3
|
+
@import "grid.css";
|
4
|
+
@import "header.css";
|
5
|
+
@import "hcard.css";
|
6
|
+
@import "links.css";
|
7
|
+
@import "article.css";
|
8
|
+
@import"footer.css";
|
9
|
+
@import "darkmode.css";
|
10
|
+
|
11
|
+
html {
|
12
|
+
background: var(--bg);
|
13
|
+
color: var(--text);
|
14
|
+
}
|
15
|
+
|
16
|
+
.visuallyhidden {
|
17
|
+
border: 0;
|
18
|
+
clip: rect(0 0 0 0);
|
19
|
+
height: auto;
|
20
|
+
margin: 0;
|
21
|
+
overflow: hidden;
|
22
|
+
padding: 0;
|
23
|
+
position: absolute;
|
24
|
+
width: 1px;
|
25
|
+
white-space: nowrap;
|
26
|
+
}
|
27
|
+
|
@@ -0,0 +1,89 @@
|
|
1
|
+
/* Level the playing field some */
|
2
|
+
|
3
|
+
* { box-sizing: border-box; } /* Switch to border-box for box-sizing. */
|
4
|
+
|
5
|
+
/* Immediately jump any animation to the end point if the user has set their device to "prefers reduced motion". */
|
6
|
+
/* This could create bad unintended consequences. Remove as needed, and write your own appropriate code for prefers-reduced-motion. */
|
7
|
+
@media (prefers-reduced-motion: reduce) {
|
8
|
+
* {
|
9
|
+
animation-duration: 0.001s !important;
|
10
|
+
transition-duration: 0.001s !important;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
body {
|
15
|
+
margin: 0; /* Remove the tiny space around the edge of the page */
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Switch to using rem units for typography. Fix line-height on headlines. */
|
19
|
+
h1 {
|
20
|
+
font-size: 2rem; /* Make all H1 large, remove nested-shrinking sizes. */
|
21
|
+
margin: 0.67em 0;
|
22
|
+
}
|
23
|
+
h2 {
|
24
|
+
font-size: 1.5rem;
|
25
|
+
}
|
26
|
+
h3 {
|
27
|
+
font-size: 1.17rem;
|
28
|
+
}
|
29
|
+
h4 {
|
30
|
+
font-size: 1.00rem;
|
31
|
+
}
|
32
|
+
h5 {
|
33
|
+
font-size: 0.83rem;
|
34
|
+
}
|
35
|
+
h6 {
|
36
|
+
font-size: 0.67rem;
|
37
|
+
}
|
38
|
+
|
39
|
+
h2, h3, h4, h5, h6{
|
40
|
+
line-height: 1;
|
41
|
+
}
|
42
|
+
|
43
|
+
/* Improve readibility */
|
44
|
+
p {
|
45
|
+
line-height: 1.5;
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
pre {
|
50
|
+
white-space: pre-wrap; /* Overflow by default is bad. */
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
/* are browsers now consistent with margin & padding on lists?
|
55
|
+
See: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Consistent_list_indentation */
|
56
|
+
nav ul {
|
57
|
+
list-style: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
img {
|
62
|
+
border-style: none; /* Remove the border on images inside links in IE 10 and earlier. */
|
63
|
+
vertical-align: bottom; /* Fix problem with images having a tiny gap for a decender under them. */
|
64
|
+
display: block; /* Switch display mode to block, since that's what we usually want for images. */
|
65
|
+
max-width: 100%; /* Make images flexible by default. */
|
66
|
+
height: auto; /* ensure images maintain their aspect ratio when max-width comes into play. */
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
/* In English, when styling the <q> element, use curly quotes instead of straight quotes. */
|
71
|
+
|
72
|
+
/* Code for this is now in the quotes.css file */
|
73
|
+
|
74
|
+
|
75
|
+
/* Support upcoming properties that haven't been broadly implemented yet,
|
76
|
+
but for which the initial value and legacy behavior is not be the best behavior.
|
77
|
+
*/
|
78
|
+
|
79
|
+
/* Consistent line spacing, which does not unecessarily grow to accomodate things that would fit anyway */
|
80
|
+
:root {
|
81
|
+
line-sizing: normal;
|
82
|
+
}
|
83
|
+
|
84
|
+
/* Improve spacing of punctuation marks and at script changes in CJK languages */
|
85
|
+
:root {
|
86
|
+
text-spacing: trim-start allow-end trim-adjacent ideograph-alpha ideograph-numeric;
|
87
|
+
}
|
88
|
+
|
89
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
:root {
|
2
|
+
/* CityLights http://citylights.xyz */
|
3
|
+
--very-light-gray: #B7C5D3;
|
4
|
+
--light-gray: #718CA1;
|
5
|
+
--gray: #41505E;
|
6
|
+
--dark-gray: #333F4A;
|
7
|
+
--very-dark-gray: #1D252C;
|
8
|
+
|
9
|
+
--color1light: #70E1E8;
|
10
|
+
--color1medium: #33CED8;
|
11
|
+
--color1dark: #008B94;
|
12
|
+
|
13
|
+
--color2light: #5EC4FF;
|
14
|
+
--color2medium: #68A1F0;
|
15
|
+
--color2dark: #539AFC;
|
16
|
+
|
17
|
+
--color3light:#E27E8D;
|
18
|
+
--color3medium:#D95468;
|
19
|
+
--color3dark:#B62D65;
|
20
|
+
|
21
|
+
--color4light: #EBBF83;
|
22
|
+
--color4dark: #D98E48;
|
23
|
+
|
24
|
+
--color5light: #8BD49C;
|
25
|
+
|
26
|
+
--color6dark: #718CA1;
|
27
|
+
|
28
|
+
--color7light: #8BD49C;
|
29
|
+
|
30
|
+
|
31
|
+
--cyan: var(--color1light);
|
32
|
+
--blue: var(--color2light);
|
33
|
+
--purple: var(--color3dar)k;
|
34
|
+
--pink: var(--color3ligh)t;
|
35
|
+
--yellow: var(--color4light);
|
36
|
+
--green: var(--color5light);
|
37
|
+
--red: var(--color3medium);
|
38
|
+
--orange: var(--color4dark);
|
39
|
+
--light-orange: var(--color4light);
|
40
|
+
|
41
|
+
--bg: var(--very-light-gray);
|
42
|
+
--text: var(--dark-gray);
|
43
|
+
--highlight: #ecf285;
|
44
|
+
}
|
45
|
+
|