jk
4 years ago
15 changed files with 1017 additions and 394 deletions
-
8config.toml
-
4data/bookmarks/brewers-friend-home-brewed-beer-calculators.yml
-
4data/bookmarks/how-scotland-lost-her-parliament.yaml
-
4data/bookmarks/vegan-richa.yaml
-
55layouts/_default/section.html
-
10themes/nipponalba/layouts/_default/baseof.html
-
29themes/nipponalba/layouts/_default/list.html
-
34themes/nipponalba/layouts/_default/list.jp.html
-
101themes/nipponalba/layouts/_default/single.html
-
46themes/nipponalba/layouts/index.html
-
10themes/nipponalba/layouts/partials/footer.html
-
17themes/nipponalba/layouts/partials/navbar.html
-
10themes/nipponalba/layouts/partials/webmention.html
-
686themes/nipponalba/static/css/backup_style.css
-
359themes/nipponalba/static/css/style.css
@ -1,26 +1,27 @@ |
|||
{{ define "main" }} |
|||
<div class="archive"> |
|||
<div class="list-title">{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}{{if eq .Name "Blog"}}All Blogs{{ end }} <a href="{{ .Permalink }}/index.xml"><i class="fa fa-rss fa-2x fa-fw" aria-hidden="true" title="{{ .Name }} RSS feed"></i></a></div> |
|||
<section class="archive"> |
|||
<span class="list-title">{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}{{if eq .Name "Blog"}}All Blogs{{ end }} <a href="{{ .Permalink }}index.xml"><i class="fa fa-rss fa-2x fa-fw" aria-hidden="true" title="{{ .Name }} RSS feed"></i></a></span> |
|||
<ul class="list-with-title"> |
|||
{{ if eq .Type "article" "blog"}}{{ range .Data.Pages.GroupByDate "2006" }} |
|||
<div class="listing-title">{{ .Key }}</div> |
|||
<span class="listing-title">{{ .Key }}</span> |
|||
{{ range .Pages }} |
|||
<ul class="listing"> |
|||
<div class="listing-item"> |
|||
<li class="listing-item"> |
|||
{{ if eq .Type "article" "blog"}} |
|||
<div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> |
|||
<div class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></div> |
|||
</div> |
|||
<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> |
|||
<time class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></time> |
|||
</span> |
|||
{{end}} |
|||
</div> |
|||
</li> |
|||
</ul>{{ end }}{{end}}{{else}} |
|||
{{ range .Pages }} |
|||
<ul class="listing"> |
|||
<div class="listing-item"> |
|||
{{ if not (eq .Type "note" "photo") }}<div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</div>{{else}} |
|||
<div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Summary }}"><b>{{ humanize .Type }}:</b> {{ .Summary }}</div>{{end}} |
|||
</div> |
|||
<li class="listing-item"> |
|||
{{ if not (eq .Type "note" "photo") }}<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</span>{{else}} |
|||
<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Summary }}"><b>{{ humanize .Type }}:</b> {{ .Summary }}</span>{{end}} |
|||
</li> |
|||
</ul>{{ end }} |
|||
{{ end }}</ul> |
|||
</div> |
|||
{{ end }} |
|||
</ul> |
|||
</section> |
|||
{{ end }} |
@ -1,19 +1,27 @@ |
|||
{{ define "main" }} |
|||
<div class="archive"> |
|||
<div class="list-title">{{if not (eq .Name "Blog" "Categories" "Tags") }}{{ .Name }}{{ end }}{{if eq .Name "Blog"}}全部のブログ{{ end }}{{if eq .Name "Categories"}}カテゴリー{{ end }}{{if eq .Name "Tags"}}タグ{{ end }} |
|||
<a href="{{ .Permalink }}/index.xml"><i class="fa fa-rss fa-2x fa-fw" aria-hidden="true" title="{{ .Name }} RSSフィード"></i></a></div> |
|||
<section class="archive"> |
|||
<span class="list-title">{{if not (eq .Name "Blog" "Categories" "Tags") }}{{ .Name }}{{ end }}{{if eq .Name "Blog"}}全部のブログ{{ end }}{{if eq .Name "Categories"}}カテゴリー{{ end }}{{if eq .Name "Tags"}}タグ{{ end }} <a href="{{ .Permalink }}index.xml"><i class="fa fa-rss fa-2x fa-fw" aria-hidden="true" title="{{ .Name }} RSS feed"></i></a></span> |
|||
<ul class="list-with-title"> |
|||
{{ range .Data.Pages.GroupByDate "2006" }} |
|||
<div class="listing-title">{{ .Key }}</div> |
|||
{{ if eq .Type "article" "blog"}}{{ range .Data.Pages.GroupByDate "2006" }} |
|||
<span class="listing-title">{{ .Key }}</span> |
|||
{{ range .Pages }} |
|||
<ul class="listing"> |
|||
<div class="listing-item"> |
|||
<div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> |
|||
<div class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></div> |
|||
</div> |
|||
</div> |
|||
<li class="listing-item"> |
|||
{{ if eq .Type "article" "blog"}} |
|||
<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> |
|||
<time class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></time> |
|||
</span> |
|||
{{end}} |
|||
</li> |
|||
</ul>{{ end }}{{end}}{{else}} |
|||
{{ range .Pages }} |
|||
<ul class="listing"> |
|||
<li class="listing-item"> |
|||
{{ if not (eq .Type "note" "photo") }}<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</span>{{else}} |
|||
<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Summary }}"><b>{{ humanize .Type }}:</b> {{ .Summary }}</span>{{end}} |
|||
</li> |
|||
</ul>{{ end }} |
|||
{{ end }} |
|||
</ul> |
|||
</section> |
|||
{{ end }} |
|||
{{ end }}</ul> |
|||
</div> |
|||
{{ end }} |
@ -1,106 +1,99 @@ |
|||
{{ define "main" }} |
|||
{{ if not (eq .Type "response" "bookmarkof")}} |
|||
<article class="post h-entry entry contents"> |
|||
<div class="author" style="display:none;"> |
|||
<section class="author" style="display:none;"> |
|||
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a> |
|||
</div> |
|||
</section> |
|||
{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="p-name entry-title">{{ .Title }}</h3><b>{{ .Description }}</b> |
|||
<aside> |
|||
{{ if eq .Type "article" }}<div class="info"> |
|||
{{ with .Page.Params.Blog }}Blog: {{ partial "taxonomy/blog.html" . }}{{ end }}<span id="info-date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></span><br/> |
|||
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}<span class="reading-time">{{ .ReadingTime }}-minute read</span><br/> |
|||
{{ with .Page.Params.tag }}Tags: {{ partial "taxonomy/tags.html" . }}{{ end }} |
|||
</div>{{ end }} |
|||
|
|||
<div class="e-content"> |
|||
{{ if eq .Type "article" }}<section class="info"> |
|||
<span class="blogs_span">{{ with .Page.Params.Blog }}Blog: {{ partial "taxonomy/blog.html" . }}{{ end }}</span><span class="info-date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></span><br/> |
|||
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="reading-time">{{ .ReadingTime }}-minute read</span><br/> |
|||
<span class="tags_span">{{ with .Page.Params.tag }}Tags: {{ partial "taxonomy/tags.html" . }}{{ end }}</span> |
|||
</section>{{ end }} |
|||
<section class="e-content"> |
|||
{{ .Content }} |
|||
{{ if eq .Type "photo"}} |
|||
<div class="photogrid"> |
|||
<section class="photogrid"> |
|||
{{ range .Page.Params.Photo }} |
|||
<a href="{{ . }}"><img class="u-photo thumb" src="{{ replace . "800." "300."}}"/></a> |
|||
{{end}} |
|||
</div> |
|||
</section> |
|||
{{end}} |
|||
{{ if eq .Type "article" }}<div class="p-summary" style="display:none"> |
|||
{{ if eq .Type "article" }}<section class="p-summary" style="display:none"> |
|||
{{ .Page.Params.summary }}<br/> |
|||
</div> |
|||
</section> |
|||
{{ end }}<br/> |
|||
</div> |
|||
{{ if not (eq .Type "article") }}<div class="info"> |
|||
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }} |
|||
</div>{{ end }} |
|||
</section> |
|||
<section class="info"> |
|||
{{ if not (eq .Type "article") }}<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span>{{ end }} |
|||
{{ $pathJSON := (print .Permalink "bridgy.json") }} |
|||
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }} |
|||
{{ if fileExists $relpathJSON }} |
|||
<span class="syndication"> |
|||
{{ $mJSON := getJSON $pathJSON }} |
|||
Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a> |
|||
</span><span id="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span> |
|||
{{ end }} |
|||
Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a></span>{{ end }} |
|||
<span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span></section> |
|||
<a href="https://brid.gy/publish/mastodon"></a> |
|||
<div class="interactions"><h4>Interactions</h4></div> |
|||
<div class="webmention-form"> |
|||
<section id="interactions"><h4>Interactions</h4> |
|||
<section id="webmention-form"> |
|||
<form action="https://webmention.io/jk.nipponalba.scot/webmention" method="post"> |
|||
<label>Did you mention this {{ .Type }} on your website? Put the URL of your post here:</label><br/> |
|||
<input name="source" type="url"/> |
|||
<input name="target" value="{{ .Permalink }}" type="hidden"/> |
|||
<input value="Send Webmention" type="submit"/> |
|||
</form> |
|||
</div> |
|||
</section> |
|||
{{ $mention_ids := index $.Site.Data.index .RelPermalink }} |
|||
{{ if isset $mention_ids 1}} |
|||
{{ $mentions := apply $mention_ids "index" $.Site.Data.mentions "." }} |
|||
{{ $mentions := sort $mentions "wm-received" }} |
|||
<div class="webmentions"> |
|||
<div class="like interaction"><h4>Likes</h4>{{ range $mentions }}{{ if eq (index . "wm-property") "like-of" }} |
|||
<section id="webmentions"> |
|||
<section class="like interaction"><h4>Likes</h4>{{ range $mentions }}{{ if eq (index . "wm-property") "like-of" }} |
|||
<a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo }}" title="{{ .author.name }}" alt="{{ .author.name }}" /></a>{{ end}} |
|||
{{ end }}</div> |
|||
<div class="share interaction"><h4>Shares</h4>{{ range $mentions }}{{ if eq (index . "wm-property") "repost-of" }} |
|||
{{ end }}</section> |
|||
<section class="share interaction"><h4>Shares</h4>{{ range $mentions }}{{ if eq (index . "wm-property") "repost-of" }} |
|||
<a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo }}" title="{{ .author.name }}" alt="{{ .author.name }}" /></a>{{ end}} |
|||
{{ end }}</div> |
|||
{{ end }}</section> |
|||
<h4>Comments & Replies</h4>{{ partial "webmention.html" $mentions }} |
|||
</div>{{ end }} |
|||
|
|||
</aside> |
|||
</section>{{ end }}</section> |
|||
</article> |
|||
{{ else if eq .Type "bookmarkof" }} |
|||
{{ $cats := slice }} |
|||
<section class="bookmarks">{{ $cats := slice }} |
|||
{{ range .Site.Data.bookmarks }} |
|||
{{ $cats = $cats | append .category }} |
|||
{{ end }} |
|||
{{ $cats = uniq $cats | sort }} |
|||
{{ range $cats }} |
|||
{{ $cat := . }} |
|||
<section id="{{ $cat }}"> |
|||
<h4>{{ $cat }}</h4> |
|||
{{ range $.Site.Data.bookmarks }} |
|||
{{ if eq .category $cat }} |
|||
<section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> |
|||
<div class="author" style="display:none"> |
|||
<article data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> |
|||
<section class="author" style="display:none"> |
|||
<a rel="author" class="p-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> |
|||
</div> |
|||
<aside> |
|||
<article class="h-cite"> |
|||
<a href="{{ .bookmarkof | absURL }}" class="u-bookmark-of" target="_blank">{{ .name }}</a> - <div class="p-name p-content">{{ .content | markdownify }}</div> |
|||
</article> |
|||
</aside> |
|||
</section> |
|||
{{ end }} |
|||
</section> |
|||
<section class="h-cite"> |
|||
<a href="{{ (index . "bookmark-of") | absURL }}" class="u-bookmark-of" target="_blank">{{ .name }}</a> - <div class="p-name p-content">{{ .content | markdownify }}</div> |
|||
</section> |
|||
</article></section> |
|||
{{ end }} |
|||
{{ end }} |
|||
{{ end }}</section> |
|||
{{ else }} |
|||
<article class="h-entry" id="response"> |
|||
<div class="author"> |
|||
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> |
|||
</div> |
|||
<div> |
|||
{{ if .Params.likeof }}<p>Liked <a href="{{ .Params.likeof }}" class="u-url u-like-of"> {{ .Params.likeof }}</a>{{ end }} |
|||
{{ if .Params.inreplyto }}<p>Replied to <a href="{{ .Params.inreplyto }}" class="u-url u-in-reply-to"> {{ .Params.inreplyto }}</a>{{ end }} |
|||
{{ if .Params.repostof }}<p>Shared <a href="{{ .Params.repostof }}" class="u-url u-repost-of"> {{ .Params.repostof }}</a>{{ end }}</p> |
|||
<section class="author" style="display:none;"> |
|||
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><span class="title">{{ .Site.Params.Title }}</span></a> |
|||
</section> |
|||
<section id="response-details"><br/> |
|||
{{ if .Params.likeof }}<p>{{ .Site.Params.Title }} liked <a href="{{ .Params.likeof }}" class="u-url u-like-of"> {{ .Params.likeof }}</a>{{ end }} |
|||
{{ if .Params.inreplyto }}<p>{{ .Site.Params.Title }} replied to <a href="{{ .Params.inreplyto }}" class="u-url u-in-reply-to"> {{ .Params.inreplyto }}</a>{{ end }} |
|||
{{ if .Params.repostof }}<p>{{ .Site.Params.Title }} shared <a href="{{ .Params.repostof }}" class="u-url u-repost-of"> {{ .Params.repostof }}</a>{{ end }}</p> |
|||
{{ if .Content }}<div class="p-name p-content"><p>{{ .Content }}</p></div> {{end}} |
|||
</div> |
|||
{{ if not (eq .Type "article") }}<div class="info"> |
|||
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}<span id="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span><br/> |
|||
</div>{{ end }} |
|||
</section> |
|||
{{ if not (eq .Type "article") }}<section class="info"> |
|||
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span><br/> |
|||
</section>{{ end }} |
|||
{{end}} |
|||
|
|||
{{end}} |
@ -1,16 +1,16 @@ |
|||
{{ range sort . "published" "asc" }} |
|||
<br/> |
|||
{{ if eq (index . "wm-property") "mention" }} |
|||
<div class="mention interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></div><div class="intcontent"><div class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> mentioned this post in <a href="{{ .url }}">the post {{ .title }}</a></div> |
|||
<section class="mention interaction"><span class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></span><section class="intcontent"><span class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> mentioned this post in <a href="{{ .url }}">the post {{ .title }}</a></span> |
|||
<p>{{ .content.text | safeHTML }}</p> |
|||
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></div></div> |
|||
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section> |
|||
{{ end }} |
|||
{{ if eq (index . "wm-property") "in-reply-to" }} |
|||
<div class="reply interaction"><div class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></div><div class="intcontent"><div class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> replied to this post <a href="{{ .url }}">here</a><br/></div> |
|||
<section class="reply interaction"><span class="remote_profile"><a href="{{ .author.url }}"><img src="{{ .author.photo }}" /></a></span><section class="intcontent"><span class="intactivity"><a href="{{ .author.url }}">{{ .author.name }}</a> replied to this post <a href="{{ .url }}">here</a><br/></span> |
|||
<p>{{ .content.text | safeHTML }}</p> |
|||
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></div></div> |
|||
<time>{{ dateFormat "02/01/2006 15:04 GMT" ( time .published ) }}</time></section></section> |
|||
{{ end }} |
|||
{{ if eq (index . "wm-property") "bookmark" }} |
|||
<div class="bookmark interaction"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> bookmarked this post</div> |
|||
<section class="bookmark interaction"><a href="{{ .author.url }}"><img class="remote_profile" src="{{ .author.photo }}" /></a><a href="{{ .author.url }}">{{ .author.name }}</a> bookmarked this post</section> |
|||
{{ end }} |
|||
{{ end }} |
@ -0,0 +1,686 @@ |
|||
@charset "UTF-8"; |
|||
@import url('https://rsms.me/inter/inter.css'); |
|||
html { font-family: 'Inter', sans-serif;} |
|||
@supports (font-variation-settings: normal) { |
|||
html { font-family: 'Inter var', sans-serif; } |
|||
} |
|||
:root { |
|||
--dark-link:#59ABE3; |
|||
--dark-text:#e8e8e8; |
|||
--dark-bg:#2b2b2b; |
|||
--dark-opacity: 0.75; |
|||
--light-text:#2b2b2b; |
|||
--light-bg:#e8e8e8; |
|||
--light-link:#0065BF; |
|||
--light-opacity:1; |
|||
|
|||
--text-colour: var(--dark-text); |
|||
--bg-colour: var(--dark-bg); |
|||
--link-colour: var(--dark-link); |
|||
--opacity-img: var(--dark-opacity); |
|||
} |
|||
|
|||
@media (prefers-color-scheme: light) { |
|||
--text-colour: var(--light-text); |
|||
--bg-colour: var(--light-bg); |
|||
--link-colour: var(--light-link); |
|||
--opacity-img: var(--light-opacity); |
|||
|
|||
} |
|||
[data-theme="light"]{ |
|||
--text-colour: var(--light-text); |
|||
--bg-colour: var(--light-bg); |
|||
--link-colour: var(--light-link); |
|||
--opacity-img: var(--light-opacity); |
|||
} |
|||
|
|||
/* Switched mode */ |
|||
.theme-switch:checked ~ *, |
|||
.theme-switch:checked + *, |
|||
.theme-switch:checked + * + * |
|||
.theme-switch:checked + * + *{ |
|||
--text-colour:var(--light-text); |
|||
--bg-colour:var(--light-bg); |
|||
--link-colour:var(--light-link); |
|||
--opacity-img: var(--light-opacity); |
|||
} |
|||
|
|||
.theme-switch{ |
|||
display:none; |
|||
} |
|||
|
|||
.light{ |
|||
display:inline; |
|||
float:right; |
|||
color:var(--text-colour); |
|||
} |
|||
|
|||
html { |
|||
-webkit-animation-fill-mode: forwards; |
|||
height:100%;display:block; |
|||
} |
|||
|
|||
body { |
|||
color: var(--text-colour); |
|||
font-size: 15px; |
|||
width: 100%; |
|||
margin: 0 auto 30px auto; |
|||
background: var(--bg-colour); |
|||
min-height: 100%; |
|||
height:100%; |
|||
overflow:hidden; |
|||
} |
|||
p { |
|||
line-height: 1.9em; |
|||
font-weight: 400; |
|||
font-size: 15px; |
|||
} |
|||
a { |
|||
text-decoration: none; |
|||
color: var(--link-colour); |
|||
} |
|||
a:link, a:visited { |
|||
opacity: 1; |
|||
-webkit-transition: all .15s linear; |
|||
-moz-transition: all .15s linear; |
|||
-o-transition: all .15s linear; |
|||
-ms-transition: all .15s linear; |
|||
transition: all .15s linear; |
|||
color: var(--link-colour); |
|||
} |
|||
a:hover, a:active { |
|||
color: var(--text-colour); |
|||
} |
|||
img { |
|||
opacity: var(--opacity-img); |
|||
transition: opacity .5s ease-in-out; |
|||
} |
|||
img:hover { |
|||
opacity: 1 |
|||
} |
|||
table { |
|||
border-collapse:collapse; |
|||
} |
|||
table, td, th{ |
|||
border: 1px dotted var(--text-colour); |
|||
padding:15px; |
|||
} |
|||
h3 { |
|||
color: var(--text-colour); |
|||
font-size: 22px; |
|||
font-weight: 600; |
|||
line-height: 1.6; |
|||
} |
|||
h4 { |
|||
color: var(--text-colour); |
|||
font-size: 16px; |
|||
} |
|||
pre { |
|||
background: var(--bg-colour); |
|||
padding: 5px; |
|||
} |
|||
#page{ |
|||
color: var(--text-colour); |
|||
background: var(--bg-colour); |
|||
width: 100%; |
|||
height:100%; |
|||
display:block; |
|||
} |
|||
|
|||
.main { |
|||
margin:0; |
|||
padding:0; |
|||
width:80%; |
|||
max-width: 1000px; |
|||
margin: 0 auto; |
|||
background: var(--bg-colour); |
|||
height:100%; |
|||
min-height:100%; |
|||
display:block; |
|||
} |
|||
|
|||
.page-top { |
|||
width: 80%; |
|||
max-width: 1000px; |
|||
display:block; |
|||
z-index: 3; |
|||
height: 60px; |
|||
border-bottom: 1px solid var(--text-colour); |
|||
background: var(--bg-colour); |
|||
margin: 0 auto; |
|||
} |
|||
.page-top a { |
|||
color: var(--text-colour); |
|||
} |
|||
.page-top a:hover { |
|||
color: var(--link-colour); |
|||
} |
|||
nav { |
|||
width:80%; |
|||
list-style: none; |
|||
padding: 18px 0px; |
|||
float: left; |
|||
font-size: 14px; |
|||
display:inline-block; |
|||
} |
|||
nav li{ |
|||
position: relative; |
|||
display: initial; |
|||
padding-right: 20px; |
|||
} |
|||
.selectors{ |
|||
width:130px; |
|||
float:right; |
|||
display:inline-block; |
|||
vertical-align:middle; |
|||
padding: 10px 0px; |
|||
} |
|||
.selectors i{ |
|||
margin:0; |
|||
padding-left:10px;; |
|||
} |
|||
.language-selector { |
|||
position:relative; |
|||
display:inline-block; |
|||
float:right; |
|||
padding:0px 10px;padding:0; |
|||
margin:0; |
|||
} |
|||
.language-selector ul{ |
|||
list-style:none; |
|||
padding:0; |
|||
margin:0; |
|||
} |
|||
.theme-selector{ |
|||
margin:0; |
|||
padding:0; |
|||
} |
|||
.content { |
|||
height: 95%; |
|||
overflow:auto; |
|||
-ms-overflow-style: none; |
|||
scrollbar-width:none; |
|||
} |
|||
.content::-webkit-scrollbar{ |
|||
display:none; |
|||
} |
|||
.about .post{ |
|||
border: 1px dotted var(--text-colour); |
|||
padding: 10px; |
|||
display:block; |
|||
margin:0; |
|||
vertical-align:top; |
|||
} |
|||
.profile{ |
|||
width:85% !important; |
|||
display:block; |
|||
margin: 0 auto; |
|||
padding-top:30px; |
|||
} |
|||
.profile-left{ |
|||
width:20% !important; |
|||
min-width: 200px; |
|||
padding:0; |
|||
margin:0; |
|||
display:inline-block; |
|||
vertical-align:middle; |
|||
} |
|||
.profile-right{ |
|||
vertical-align:top; |
|||
width:75%; |
|||
display:inline-block; |
|||
padding:0; |
|||
margin:0; |
|||
text-align:justify; |
|||
} |
|||
.profile-right a{ |
|||
color: var(--text-colour); |
|||
} |
|||
.profile-right a:hover{ |
|||
color: var(--link-colour); |
|||
} |
|||
.profile img{ |
|||
width:165px; |
|||
border-radius: 5%; |
|||
margin-right: 40px; |
|||
} |
|||
.profile .title{ |
|||
text-transform: uppercase; |
|||
font-size: 1.8rem; |
|||
font-weight: bold; |
|||
letter-spacing: 1.5px; |
|||
line-height: 1; |
|||
display:inline-block; |
|||
padding-left:10px; |
|||
} |
|||
.social-links { |
|||
list-style: none; |
|||
padding: 0; |
|||
} |
|||
.social-links i { |
|||
margin-right: 3px; |
|||
} |
|||
.social-links li { |
|||
display: inline; |
|||
} |
|||
.social-links a { |
|||
color: var(--text-colour); |
|||
} |
|||
.social-links a:hover { |
|||
color: var(--link-colour); |
|||
} |
|||
.info i{ |
|||
opacity: 0.5; |
|||
margin-right: 5px; |
|||
} |
|||
.info{ |
|||
padding: 30px 0; |
|||
font-size:13px; |
|||
} |
|||
#info-date{ |
|||
float:right; |
|||
} |
|||
#info-date .dt-published{ |
|||
font-size:13px; |
|||
} |
|||
.category, .blog, .tag, #info-date { |
|||
display: inline-block; |
|||
font-size: 13px; |
|||
line-height: 1.5; |
|||
} |
|||
.categories, .tags{ |
|||
display:inline; |
|||
margin:0; |
|||
padding:0; |
|||
} |
|||
.categories li, .tags li{ |
|||
list-style:none; |
|||
display:inline; |
|||
} |
|||
.tag::before { |
|||
content: "#"; |
|||
opacity: .75; |
|||
} |
|||
.categories li::after, .tags li::after{ |
|||
content: ", "; |
|||
} |
|||
.categories li:last-child:after, .tags li:last-child:after{ |
|||
content: ""; |
|||
} |
|||
.reading-time{ |
|||
display:inline; |
|||
float:right; |
|||
font-weight:bold; |
|||
} |
|||
.stream{ |
|||
padding-bottom:150px; |
|||
} |
|||
.post{ |
|||
margin: 30px 0; |
|||
} |
|||
.index_content{ |
|||
text-align:justify; |
|||
width:100%; |
|||
} |
|||
.banner{ |
|||
width:90%; |
|||
max-height: 300px; |
|||
object-fit:scale-down; |
|||
object-position:top; |
|||
} |
|||
.h-entry p a { |
|||
text-decoration: none; |
|||
color: var(--link-colour); |
|||
} |
|||
.h-entry a:hover { |
|||
color: var(--link-colour); |
|||
} |
|||
.h-entry img { |
|||
text-align: center; |
|||
max-width: 800px; |
|||
margin: 0 auto; |
|||
display:block; |
|||
padding:10px; |
|||
} |
|||
#syndication{ |
|||
display:inline-block; |
|||
float:left; |
|||
font-size:13px; |
|||
margin:0; |
|||
} |
|||
#interactions{ |
|||
margin:20px 0 10px 0; |
|||
padding:0; |
|||
display:inline-flex; |
|||
float:left; |
|||
height:30px; |
|||
width:100%; |
|||
border-top:1px dotted var(--text-colour); |
|||
} |
|||
#webmention-form{ |
|||
display:inline-flex; |
|||
margin-top:20px; |
|||
width: 100%; |
|||
} |
|||
#webmention-form label{ |
|||
display:inline; |
|||
float:left; |
|||
margin-bottom:10px; |
|||
} |
|||
#webmention-form input[type=url]{ |
|||
width:60%; |
|||
} |
|||
#webmentions{ |
|||
display:block; |
|||
margin-top: 0 20px 0 0 ; |
|||
padding: 0 0 200px 0; |
|||
} |
|||
.remote_profile{ |
|||
height: 100%; |
|||
width: 70px; |
|||
display:inline-block; |
|||
vertical-align:top; |
|||
} |
|||
.remote_profile img{ |
|||
width: 50px; |
|||
border-radius: 50%; |
|||
display:inline; |
|||
float:left; |
|||
border:0; |
|||
padding:0; |
|||
} |
|||
.interaction{ |
|||
border:1px dotted var(--text-colour); |
|||
padding: 10px; |
|||
display:block; |
|||
margin:0; |
|||
min-height:60px; |
|||
vertical-align:top; |
|||
} |
|||
.interaction .intactivity{ |
|||
font-size:13px; |
|||
font-style:italic; |
|||
line-height:18px; |
|||
} |
|||
.interaction .intcontent{ |
|||
display:inline-block; |
|||
font-size:15px; |
|||
vertical-align:top; |
|||
max-width: 90%; |
|||
} |
|||
.interaction time{ |
|||
font-size:12px; |
|||
} |
|||
.interaction h4{ |
|||
line-height:15px; |
|||
padding:0; |
|||
margin:0; |
|||
display:block; |
|||
} |
|||
.interaction.like, .interaction.share{ |
|||
border:0; |
|||
color: var(--text-colour); |
|||
padding:2px; |
|||
margin:30px 0 0 0; |
|||
display:flex; |
|||
width:100%; |
|||
min-height:30px; |
|||
} |
|||
.interaction.like img,.interaction.share img{ |
|||
display:inline-flex; |
|||
float:left; |
|||
width:30px; |
|||
height:30px; |
|||
margin:0; |
|||
border-radius: 50%; |
|||
} |
|||
footer { |
|||
clear: both; |
|||
text-align: center; |
|||
font-size: 14px; |
|||
position:fixed; |
|||
bottom:0; |
|||
margin: 0 auto; |
|||
width: 100%; |
|||
padding:20px 0; |
|||
background: var(--bg-colour); |
|||
} |
|||
footer a { |
|||
color: var(--text-colour); |
|||
} |
|||
footer a:hover { |
|||
color: var(--link-colour); |
|||
} |
|||
footer img{ |
|||
max-height:40px; |
|||
margin-top:10px; |
|||
} |
|||
|
|||
/*for archive*/ |
|||
.description { |
|||
color: var(--text-colour); |
|||
} |
|||
.list-title{ |
|||
margin:30px 0; |
|||
font-size:30px; |
|||
font-weight:bold; |
|||
color: var(--text-colour); |
|||
} |
|||
|
|||
.list-title i{ |
|||
font-size:22px; |
|||
vertical-align:middle; |
|||
color: var(--text-colour); |
|||
} |
|||
|
|||
.list-with-title { |
|||
font-size: 14px; |
|||
margin: 30px 0; |
|||
padding: 0; |
|||
} |
|||
.list-with-title li { |
|||
list-style-type: none; |
|||
padding: 0; |
|||
} |
|||
.list-with-title .listing-title { |
|||
font-size: 24px; |
|||
color: var(--text-colour); |
|||
font-weight: 600; |
|||
line-height: 2.2em; |
|||
} |
|||
.list-with-title .listing { |
|||
padding: 0; |
|||
} |
|||
.list-with-title .listing .listing-post { |
|||
padding-bottom: 5px; |
|||
} |
|||
.list-with-title .listing .listing-post .post-time { |
|||
float: right; |
|||
color: var(--text-colour); |
|||
} |
|||
.list-with-title .listing .listing-post a { |
|||
color: var(--text-colour); |
|||
} |
|||
.list-with-title .listing .listing-post a:hover { |
|||
color: var(--link-colour); |
|||
} |
|||
|
|||
.readmore { |
|||
font-size: 14px; |
|||
text-align:left; |
|||
padding:0; |
|||
text-decoration:underline; |
|||
} |
|||
|
|||
.page_404 { |
|||
text-align: center; |
|||
padding-top: 50px; |
|||
} |
|||
|
|||
.pixelfed_embed { |
|||
margin:0 auto; |
|||
display:block; |
|||
} |
|||
hr { |
|||
color: var(--text-colour); |
|||
} |
|||
|
|||
.author .title{ |
|||
display:none; |
|||
} |
|||
|
|||
#response .h-cite{ |
|||
width:100%; |
|||
display:inline-block; |
|||
vertical-align:top; |
|||
padding:0; |
|||
} |
|||
#response p{ |
|||
margin:0; |
|||
} |
|||
time{ |
|||
font-size:13px; |
|||
} |
|||
.bookmark .p-content{ |
|||
display:inline; |
|||
margin:0; |
|||
padding:0; |
|||
} |
|||
.photo{ |
|||
display:flex; |
|||
width:100%; |
|||
} |
|||
.photogrid{ |
|||
display:block; |
|||
width:100%; |
|||
float:left; |
|||
min-width:100%; |
|||
margin-bottom:10px; |
|||
} |
|||
img.thumb{ |
|||
width:300px; |
|||
float:left; |
|||
display:inline; |
|||
padding: 0px; |
|||
margin:10px; |
|||
border: 1px solid var(--text-colour); |
|||
} |
|||
hr{ |
|||
border-top:1px dotted var(--text-colour); |
|||
border-bottom:0; |
|||
} |
|||
.pagination { |
|||
list-style:none; |
|||
margin: 0 auto; |
|||
border:0px; |
|||
padding-top:20px; |
|||
display:block; |
|||
max-width: 600px; |
|||
width:100%; |
|||
} |
|||
.pagination li{ |
|||
display:inline-block; |
|||
padding:10px 50px; |
|||
font-weight:bold; |
|||
} |
|||
.pagination-bottom{ |
|||
padding-bottom:100px; |
|||
} |
|||
.pagination a { |
|||
color: var(--text-colour); |
|||
} |
|||
.pagination a:hover { |
|||
color: var(--link-colour); |
|||
} |
|||
.anchor { |
|||
display:none; |
|||
} |
|||
|
|||
.anchor:target { |
|||
display:block; |
|||
} |
|||
|
|||
@media screen and (max-width: 760px) { |
|||
.content { |
|||
width:100%; |
|||
z-index: 2; |
|||
position: absolute; |
|||
left:0; |
|||
} |
|||
.about, .post, .archive, .stream{ |
|||
width:95%; |
|||
margin:0 auto; |
|||
} |
|||
.profile{ |
|||
width:100%; |
|||
margin:0 auto; |
|||
padding:0; |
|||
text-align:center; |
|||
display:block; |
|||
} |
|||
.profile-left{ |
|||
display:block; |
|||
margin:0 auto; |
|||
padding: 0; |
|||
width:100%; |
|||
text-align:center; |
|||
float:none; |
|||
} |
|||
.profile-left img{ |
|||
padding: 0px; |
|||
margin: 10px; |
|||
} |
|||
.profile-right{ |
|||
display:block; |
|||
width:100%; |
|||
text-align:center; |
|||
float:none; |
|||
margin:0 auto; |
|||
} |
|||
.page-top { |
|||
width: 95%; |
|||
padding: 10px 0; |
|||
} |
|||
.page-top nav{ |
|||
width: 70%; |
|||
} |
|||
.page-top nav #Bookmarks{ |
|||
display:none; |
|||
} |
|||
.page-top nav li{ |
|||
padding-right: 10px; |
|||
} |
|||
.page-top .selectors{ |
|||
width:130px; |
|||
} |
|||
.page-top .language-selector i{ |
|||
padding:0 5px; |
|||
} |
|||
|
|||
.content img, .post img{ |
|||
width: 95%; |
|||
text-align:center; |
|||
float:none; |
|||
} |
|||
.interactions{ |
|||
padding-bottom: 100px; |
|||
} |
|||
.remote_profile{ |
|||
width: 50px; |
|||
} |
|||
.remote_profile img{ |
|||
width: 30px; |
|||
} |
|||
|
|||
.pagination li{ |
|||
display:inline-block; |
|||
padding:0px 20px; |
|||
height: 30px; |
|||
} |
|||
.pagination-bottom{ |
|||
margin-bottom:0px; |
|||
} |
|||
footer{ |
|||
display:none; |
|||
} |
|||
} |
Reference in new issue