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 {
font-size: calc(1em + 0.25vw);
font-family: Roboto, Arial, Helvetica Neue, sans-serif;
line-height: 1.5;
color: #111;
background-color: #fefefe;
line-height: 1.35;
color: rgb(255, 255, 255);
background-color: #39424E;
}
template {
display: none !important;
@ -119,6 +119,7 @@ h3,
h4 {
font-family: Miriam Libre, serif;
line-height: 1.125;
opacity: .6;
}
h1 {
font-size: 2rem;
@ -348,7 +349,11 @@ caption {
.logo img {
width: 100%;
max-width: 12rem;
-webkit-filter: white(100%); /* Safari 6.0 - 9.0 */
filter: white(100%);
}
.library-desc {
margin-top: 0.5rem;
margin-left: auto;
@ -412,9 +417,9 @@ caption {
/* After */
.pattern [aria-current] {
background-color: #111;
clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
color: #fefefe;
background-color: #efefef;
color: #39424E;
border-radius: 5px;
}
/* Menu button */
@ -1118,3 +1123,12 @@ h1 svg {
background: rgba(0,0,0,.8);
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">
{{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }}
{{ $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 "Tags") (eq $current.Section "tags")) }}
<a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}>
@ -23,4 +24,4 @@
</li>
{{ end }}
</ul>
</nav>
</nav>

Binary file not shown.