Skip to content

Commit 2ac2b71

Browse files
committed
Some more inline documentation, added social-preview.png
1 parent e14c88d commit 2ac2b71

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ author:
2525
email: [email protected] #optional
2626
website: https://maxvoltar.com
2727
description: >- # this means to ignore newlines until "baseurl:"
28-
@maxvoltar's minimalistic photo stream.
28+
@maxvoltar's minimalistic, self-hosted photo stream.
2929
baseurl: "" # the subpath of your site, e.g. /blog
3030
url: "https://maxvoltar.photo" # the base hostname & protocol for your site, e.g. http://example.com
3131
twitter_username: maxvoltar

css/master.scss

+8-12
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@
3131
-moz-backdrop-filter: blur(20px);
3232
backdrop-filter: blur(20px);
3333
background-color: rgba(200, 200, 200, .25);
34-
34+
// Disable until Safari supports `prefers-color-scheme` in SVG's
3535
// @include dark {
3636
// background-color: rgba(0, 0, 0, .25);
3737
// }
3838

3939
&:hover,
4040
&:focus {
4141
background-color: rgba(200, 200, 200, .5);
42-
42+
// Disable until Safari supports `prefers-color-scheme` in SVG's
4343
// @include dark {
4444
// background-color: rgba(0, 0, 0, .5);
4545
// }
4646
}
4747

4848
&:active {
4949
background-color: rgba(200, 200, 200, .25);
50-
50+
// Disable until Safari supports `prefers-color-scheme` in SVG's
5151
// @include dark {
5252
// background-color: rgba(0, 0, 0, .75);
5353
// }
@@ -162,7 +162,7 @@ body {
162162
&:focus {
163163
span {
164164
background-color: rgba(200, 200, 200, .5);
165-
165+
// Disable until Safari supports `prefers-color-scheme` in SVG's
166166
// @include dark {
167167
// background-color: rgba(0, 0, 0, .5);
168168
// }
@@ -172,7 +172,7 @@ body {
172172
&:active {
173173
span {
174174
background-color: rgba(200, 200, 200, .25);
175-
175+
// Disable until Safari supports `prefers-color-scheme` in SVG's
176176
// @include dark {
177177
// background-color: rgba(0, 0, 0, .75);
178178
// }
@@ -267,6 +267,7 @@ body {
267267
right: 24px;
268268
display: flex;
269269
flex-wrap: wrap;
270+
margin-left: 16px;
270271

271272
li {
272273
margin-left: 8px;
@@ -281,22 +282,17 @@ body {
281282
}
282283
}
283284

284-
&.twitter {
285+
&:not(.github) {
285286
a {
286287
text-indent: 0;
287288
width: auto;
288289
font-size: 13px;
289290
line-height: 32px;
290291
text-transform: uppercase;
291-
padding: 0 12px 0 28px;
292+
padding: 0 12px;
292293
color: rgba(0, 0, 0, .75);
293294
font-weight: 600;
294295
text-decoration: none;
295-
background-image: url(../img/icon-twitter.svg);
296-
297-
// @include dark {
298-
// color: #fff;
299-
// }
300296
}
301297
}
302298
}

index.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
{% endfor %}
1313
</ul>
1414
<ul class="links">
15+
<!-- You can add links (to your social media profiles for example) below -->
1516
<li class="github"><a rel="me" href="https://github.com/maxvoltar/photo-stream" title="Fork on Github">Github</a></li>
16-
<li class="twitter"><a rel="me" href="https://twitter.com/{{ site.twitter_username }}" title="@{{ site.twitter_username }} on Twitter">{{ site.twitter_username }}</a></li>
17+
<li><a rel="me" href="https://twitter.com/{{ site.twitter_username }}" title="@{{ site.twitter_username }} on Twitter">Twitter</a></li>
18+
<li><a rel="me" href="https://github.com/{{ site.github_username }}" title="@{{ site.github_username }} on Github">Github</a></li>
19+
<!-- <li><a rel="me" href="https://instagram.com/{{ site.instagram_username }}" title="@{{ site.instagram_username }} on Instagram">Instagram</a></li> -->
1720
</ul>
1821
{% include javascript.html %}
1922
</body>

social-preview.png

1.1 MB
Loading

0 commit comments

Comments
 (0)