Recolor and p readjust

This commit is contained in:
infidel 2022-11-15 00:57:14 +07:00
parent b6f9e18e61
commit e6fdeb9d4f
7 changed files with 22 additions and 7 deletions

Binary file not shown.

View File

@ -20,9 +20,9 @@
html { html {
font-size: calc(1em + 0.25vw); font-size: calc(1em + 0.25vw);
font-family: Roboto, Arial, Helvetica Neue, sans-serif; font-family: Roboto, Arial, Helvetica Neue, sans-serif;
line-height: 1.5; line-height: 1.35;
color: #111; color: rgb(255, 255, 255);
background-color: #fefefe; background-color: #39424E;
} }
template { template {
display: none !important; display: none !important;
@ -119,6 +119,7 @@ h3,
h4 { h4 {
font-family: Miriam Libre, serif; font-family: Miriam Libre, serif;
line-height: 1.125; line-height: 1.125;
opacity: .6;
} }
h1 { h1 {
font-size: 2rem; font-size: 2rem;
@ -348,7 +349,11 @@ caption {
.logo img { .logo img {
width: 100%; width: 100%;
max-width: 12rem; max-width: 12rem;
-webkit-filter: white(100%); /* Safari 6.0 - 9.0 */
filter: white(100%);
} }
.library-desc { .library-desc {
margin-top: 0.5rem; margin-top: 0.5rem;
margin-left: auto; margin-left: auto;
@ -412,9 +417,9 @@ caption {
/* After */ /* After */
.pattern [aria-current] { .pattern [aria-current] {
background-color: #111; background-color: #efefef;
clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%); color: #39424E;
color: #fefefe; border-radius: 5px;
} }
/* Menu button */ /* Menu button */
@ -1118,3 +1123,12 @@ h1 svg {
background: rgba(0,0,0,.8); background: rgba(0,0,0,.8);
color: #fefefe; color: #fefefe;
} }
main p {
display: block;
margin-bottom: 1em;
line-height: 1.6;
letter-spacing: 1.2px;
opacity: 0.8;
}

Binary file not shown.

Binary file not shown.

View File

@ -12,6 +12,7 @@
<li class="pattern"> <li class="pattern">
{{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }} {{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }}
{{ $active = or $active (eq .Name $current.Title) }} {{ $active = or $active (eq .Name $current.Title) }}
{{ $active = or $active (and (eq .Name "Home") (eq $current.Section "")) }}
{{ $active = or $active (and (eq .Name "Blog") (eq $current.Section "post")) }} {{ $active = or $active (and (eq .Name "Blog") (eq $current.Section "post")) }}
{{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }} {{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
<a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}> <a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}>

Binary file not shown.