Repos / hi.imnhan.com / ba6c4f83ed
commit ba6c4f83ed4f6d34fb4025163db8831b8acc8555
Author: Nhân <hi@imnhan.com>
Date: Tue Nov 28 21:06:10 2023 +0700
better spaced series-container
diff --git a/_s4g/theme/post.tmpl b/_s4g/theme/post.tmpl
index 15fa7c6..a5036c7 100644
--- a/_s4g/theme/post.tmpl
+++ b/_s4g/theme/post.tmpl
@@ -11,7 +11,6 @@
This post is part of
<a href="{{.Post.Parent.WebPath}}">{{.Post.Parent.Title}}</a>
</em>
-<hr>
{{- end }}
<h1>{{.Post.Title}}</h1>
@@ -29,7 +28,7 @@
{{- range .Post.Parent.Children }}
{{ if not .IsDraft -}}
<li><a href="{{.WebPath}}">{{.Title}}</a>
- {{- if eq $.Post.WebPath .WebPath }} (you are here) {{- end -}}
+ {{- if eq $.Post.WebPath .WebPath }} (you are here) {{- end -}}
</li>
{{- end -}}
{{ end }}
@@ -40,9 +39,16 @@
.series-container {
margin: 2rem 0;
padding: 0 1rem;
- border: 1px dashed #aaa;
+ border: 2px dashed #aaa;
+ border-radius: 0.3rem;
background-color: #eee;
}
+ .series-container li {
+ margin: 0.3rem;
+ }
+ .series-container p, .series-container ol {
+ margin: 0.8rem 0 1rem 0;
+ }
</style>
{{ end -}}
diff --git a/movie-streaming/gflick-fixed/index.html b/movie-streaming/gflick-fixed/index.html
index 09c848b..011cb66 100644
--- a/movie-streaming/gflick-fixed/index.html
+++ b/movie-streaming/gflick-fixed/index.html
@@ -43,7 +43,6 @@
This post is part of
<a href="/movie-streaming/">The movie streaming saga</a>
</em>
-<hr>
<h1>Streaming videos from Google Drive: a second attempt</h1>
@@ -151,7 +150,7 @@ <h2>In conclusion<a href="#In-conclusion" class="heading-link">#</a></h2>
<ol>
<li><a href="/movie-streaming/gflick/">Towards an acceptable video playing experience</a></li>
- <li><a href="/movie-streaming/gflick-fixed/">Streaming videos from Google Drive: a second attempt</a> (you are here)</li>
+ <li><a href="/movie-streaming/gflick-fixed/">Streaming videos from Google Drive: a second attempt</a> (you are here)</li>
<li><a href="/movie-streaming/put.io/">The video streaming finale, or why put.io is awesome</a></li>
</ol>
</div>
@@ -160,9 +159,16 @@ <h2>In conclusion<a href="#In-conclusion" class="heading-link">#</a></h2>
.series-container {
margin: 2rem 0;
padding: 0 1rem;
- border: 1px dashed #aaa;
+ border: 2px dashed #aaa;
+ border-radius: 0.3rem;
background-color: #eee;
}
+ .series-container li {
+ margin: 0.3rem;
+ }
+ .series-container p, .series-container ol {
+ margin: 0.8rem 0 1rem 0;
+ }
</style>
</main>
diff --git a/movie-streaming/gflick/index.html b/movie-streaming/gflick/index.html
index 16b22ba..26776dd 100644
--- a/movie-streaming/gflick/index.html
+++ b/movie-streaming/gflick/index.html
@@ -43,7 +43,6 @@
This post is part of
<a href="/movie-streaming/">The movie streaming saga</a>
</em>
-<hr>
<h1>Towards an acceptable video playing experience</h1>
@@ -183,7 +182,7 @@ <h2>Other failed attempts<a href="#Other-failed-attempts" class="heading-link">#
</p>
<ol>
- <li><a href="/movie-streaming/gflick/">Towards an acceptable video playing experience</a> (you are here)</li>
+ <li><a href="/movie-streaming/gflick/">Towards an acceptable video playing experience</a> (you are here)</li>
<li><a href="/movie-streaming/gflick-fixed/">Streaming videos from Google Drive: a second attempt</a></li>
<li><a href="/movie-streaming/put.io/">The video streaming finale, or why put.io is awesome</a></li>
</ol>
@@ -193,9 +192,16 @@ <h2>Other failed attempts<a href="#Other-failed-attempts" class="heading-link">#
.series-container {
margin: 2rem 0;
padding: 0 1rem;
- border: 1px dashed #aaa;
+ border: 2px dashed #aaa;
+ border-radius: 0.3rem;
background-color: #eee;
}
+ .series-container li {
+ margin: 0.3rem;
+ }
+ .series-container p, .series-container ol {
+ margin: 0.8rem 0 1rem 0;
+ }
</style>
</main>
diff --git a/movie-streaming/put.io/index.html b/movie-streaming/put.io/index.html
index 7b5f5cd..6ea12c5 100644
--- a/movie-streaming/put.io/index.html
+++ b/movie-streaming/put.io/index.html
@@ -43,7 +43,6 @@
This post is part of
<a href="/movie-streaming/">The movie streaming saga</a>
</em>
-<hr>
<h1>The video streaming finale, or why put.io is awesome</h1>
@@ -82,7 +81,7 @@ <h1>The video streaming finale, or why put.io is awesome</h1>
<ol>
<li><a href="/movie-streaming/gflick/">Towards an acceptable video playing experience</a></li>
<li><a href="/movie-streaming/gflick-fixed/">Streaming videos from Google Drive: a second attempt</a></li>
- <li><a href="/movie-streaming/put.io/">The video streaming finale, or why put.io is awesome</a> (you are here)</li>
+ <li><a href="/movie-streaming/put.io/">The video streaming finale, or why put.io is awesome</a> (you are here)</li>
</ol>
</div>
@@ -90,9 +89,16 @@ <h1>The video streaming finale, or why put.io is awesome</h1>
.series-container {
margin: 2rem 0;
padding: 0 1rem;
- border: 1px dashed #aaa;
+ border: 2px dashed #aaa;
+ border-radius: 0.3rem;
background-color: #eee;
}
+ .series-container li {
+ margin: 0.3rem;
+ }
+ .series-container p, .series-container ol {
+ margin: 0.8rem 0 1rem 0;
+ }
</style>
</main>