mirror of
https://gitlab.com/EternalWanderer/vugo.git
synced 2024-11-28 21:13:51 +01:00
Some cleaning and mobile support
This commit is contained in:
parent
0934cae834
commit
f5c6b310c1
|
@ -1,6 +1,6 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content -}}
|
||||
<div class="posts">
|
||||
<div class="posts">
|
||||
{{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "rambles") (eq (trim $.Site.Params.contentTypeName " ") "")) }}
|
||||
{{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "rambles" }}
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
|||
{{ end }}
|
||||
|
||||
{{ $paginator := .Paginate (where $PageContext.RegularPages "Type" $contentTypeName) }}
|
||||
<div class="posts">
|
||||
<table class="post-meta">
|
||||
{{ range .Paginator.Pages }}
|
||||
<tr>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@import "gruvbox.css";
|
||||
|
||||
:root{
|
||||
scrollbar-color: var(--ansi00-soft) var(--ansi00-hard);
|
||||
scrollbar-color: var(--ansi08) transparent;
|
||||
}
|
||||
:target{background-color: var(--ansi00-soft);}
|
||||
::selection{
|
||||
|
@ -76,8 +76,9 @@ header{text-transform: capitalize; text-align:center;border-bottom:2pt solid; fo
|
|||
-moz-animation: gay 8s ease-in-out infinite;
|
||||
-webkit-animation: gay 8s ease-in-out infinite;
|
||||
}
|
||||
table{color: var(--ansi07); margin-bottom: .5em; }
|
||||
.posts{ overflow-x: auto; }
|
||||
.post-meta{ width: 100%; background-color: var(--ansi00); border-radius: 1em; padding:.5em;}
|
||||
table{color: var(--ansi07); margin-bottom: .5em;}
|
||||
.post-meta a{text-decoration: none;}
|
||||
.post-tags a{ color:inherit;}
|
||||
.post-tags a:hover{text-decoration:none; color:var(--ansi15); background:inherit;}
|
||||
|
|
Loading…
Reference in a new issue