Compare commits
5 Commits
274b1c55ef
...
19d4b525c0
| Author | SHA1 | Date | |
|---|---|---|---|
| 19d4b525c0 | |||
| 9feff97a17 | |||
|
|
5366ec3509 | ||
|
|
1a31c8ad9b | ||
|
|
a5c4591bc9 |
@@ -4,3 +4,47 @@
|
|||||||
* and place all your CSS inside it.
|
* and place all your CSS inside it.
|
||||||
* You should not modify this file.
|
* You should not modify this file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
color: #eee;
|
||||||
|
background: #121212;
|
||||||
|
}
|
||||||
|
|
||||||
|
body a {
|
||||||
|
color: #809fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
background: #121212;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-container {
|
||||||
|
background: #121212;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-container {
|
||||||
|
color: white;
|
||||||
|
background: #121212;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-header {
|
||||||
|
background: #121212;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-text{
|
||||||
|
background: #121212;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog-card {
|
||||||
|
background: #121212;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog-card h2{
|
||||||
|
background: #121212;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
70
assets/css/print.css
Normal file
70
assets/css/print.css
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
/**
|
||||||
|
* Print stylesheet for the blogotheme theme.
|
||||||
|
* @version 1.0
|
||||||
|
* @lastmodified 2021-01-03
|
||||||
|
*/
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
body {
|
||||||
|
word-break: keep-all;
|
||||||
|
font-size: 1em;
|
||||||
|
font-family: serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, p, hr {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post{
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-bar {
|
||||||
|
max-width: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
border: none;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu {
|
||||||
|
display: none;
|
||||||
|
float: left;
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
text-align: justify;
|
||||||
|
margin: 0;
|
||||||
|
max-width: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.side-text-padding {
|
||||||
|
padding-left: 0rem !important;
|
||||||
|
padding-right: 0rem !important;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.end-nav {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
padding: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
color: black;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer::after {
|
||||||
|
content: "Printed from https://n07070.xyz"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -55,7 +55,7 @@ p {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 1.2rem;
|
border-radius: 1.2rem;
|
||||||
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.1);
|
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
.home-faceshot {
|
.home-faceshot {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -168,7 +168,7 @@ p {
|
|||||||
/* border-radius: 1.2rem; */
|
/* border-radius: 1.2rem; */
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
|
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
|
||||||
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.1);
|
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
.list-header {
|
.list-header {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
@@ -204,7 +204,7 @@ p {
|
|||||||
/* border-radius: 1.2rem; */
|
/* border-radius: 1.2rem; */
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
|
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
|
||||||
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.1);
|
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
.home-card {
|
.home-card {
|
||||||
padding: 0.8em;
|
padding: 0.8em;
|
||||||
@@ -303,7 +303,7 @@ p {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1);
|
transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1);
|
||||||
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.1);
|
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
.button:hover {
|
.button:hover {
|
||||||
box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24);
|
box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24);
|
||||||
@@ -437,10 +437,11 @@ footer {
|
|||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
color: white;
|
|
||||||
background-position: 40% 0%;
|
background-position: 40% 0%;
|
||||||
background-size: 50rem;
|
background-size: 50rem;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-link {
|
.footer-link {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,16 +2,34 @@
|
|||||||
<channel>
|
<channel>
|
||||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}{{ end }}</title>
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Thanks for using RSS !</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
<generator>A special machine that prints octects into text</generator>
|
||||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
{{ with .Site.LanguageCode }}
|
||||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
<language>{{.}}</language>
|
||||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
{{end}}
|
||||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
|
||||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
{{ with .Site.Author.email }}
|
||||||
|
<managingEditor>
|
||||||
|
{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}
|
||||||
|
</managingEditor>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{ with .Site.Author.email }}
|
||||||
|
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{ with .Site.Copyright }}
|
||||||
|
<copyright>{{.}}</copyright>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{ if not .Date.IsZero }}
|
||||||
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ with .OutputFormats.Get "RSS" }}
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) -}}
|
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) -}}
|
||||||
{{- range $paginator.Pages -}}
|
{{- range $paginator.Pages -}}
|
||||||
<item>
|
<item>
|
||||||
@@ -20,7 +38,9 @@
|
|||||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ if (isset .Params "description") }}{{ index .Params "description" | html }}{{ else }}{{ .Summary | html }}{{ end }}</description>
|
<description>
|
||||||
|
{{ $.Content | html }}
|
||||||
|
</description>
|
||||||
</item>
|
</item>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</channel>
|
</channel>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<footer class="side-padding" >
|
<footer class="content card card-container side-padding " >
|
||||||
The Octet Press, N07070's blog. Self-hosted, low-tech, no JS and static, as it should be.
|
<h3>The Octet Press, N07070's blog. Self-hosted, low-tech, no JS and static, as it should be.</h3>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -28,7 +28,8 @@
|
|||||||
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
|
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
|
||||||
{{ $mainStyle := resources.Get "css/style.css" }}
|
{{ $mainStyle := resources.Get "css/style.css" }}
|
||||||
{{ $overrideStyle := resources.Get "css/override.css" }}
|
{{ $overrideStyle := resources.Get "css/override.css" }}
|
||||||
{{ $style := slice $normalizeStyle $mainStyle $overrideStyle | resources.Concat "css/concated.css" | minify }}
|
{{ $printStyle := resources.Get "css/print.css" }}
|
||||||
|
{{ $style := slice $normalizeStyle $mainStyle $overrideStyle $printStyle | resources.Concat "css/concated.css" | minify }}
|
||||||
<link href="{{ $style.Permalink }}" rel="stylesheet">
|
<link href="{{ $style.Permalink }}" rel="stylesheet">
|
||||||
{{ range .AlternativeOutputFormats -}}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
|
|||||||
Reference in New Issue
Block a user