readme changed, fix some css

This commit is contained in:
zzossig 2020-10-20 22:51:02 +09:00
parent 11e7081662
commit f09f6d8a1e
7 changed files with 22 additions and 1186 deletions

1188
README.md

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
margin: 2rem 0; margin: 2rem 0;
&__links { &__links {
height: auto; height: 30px;
border-top-left-radius: 0.25rem; border-top-left-radius: 0.25rem;
@include flexbox(); @include flexbox();
@ -27,6 +27,8 @@
@include themify($themes) { @include themify($themes) {
color: themed('navbar-title-color'); color: themed('navbar-title-color');
background-color: themed('body-background-color'); background-color: themed('body-background-color');
border: none;
border-bottom: 1px solid themed('hr-color');
&.active { &.active {
background-color: themed('body-background-color'); background-color: themed('body-background-color');

View File

@ -556,8 +556,7 @@ pre:not(.chroma) {
font-size: 13.8px; font-size: 13.8px;
font-family: $title-font; font-family: $title-font;
font-weight: bold; font-weight: bold;
display: inline-block; display: inline-block;
text-transform: capitalize;
content: attr(data-lang); content: attr(data-lang);
@include themify($codeblock) { @include themify($codeblock) {

View File

@ -19,7 +19,7 @@ $light: (
navbar-background-color: #eee, navbar-background-color: #eee,
navbar-mobile-background-color: #f1f1f1, navbar-mobile-background-color: #f1f1f1,
navbar-title-color: #555, navbar-title-color: #555,
navbar-title-hover-color: #607d8b, navbar-title-hover-color: #26a69a,
navbar-title-active-color: lighten(#607d8b, 5%), navbar-title-active-color: lighten(#607d8b, 5%),
navbar-menu-hover-background-color: lighten(#eeeeee, 3%), navbar-menu-hover-background-color: lighten(#eeeeee, 3%),
navbar-dropdown-item-hover-color: #607d8b, navbar-dropdown-item-hover-color: #607d8b,

View File

@ -479,7 +479,7 @@
metaThemeColor.setAttribute('content', '#eee8d5'); metaThemeColor.setAttribute('content', '#eee8d5');
metaMsapplicationNavbuttonColor.setAttribute('content', '#eee8d5'); metaMsapplicationNavbuttonColor.setAttribute('content', '#eee8d5');
metaAppleMobileWebAappStatusBarStyle.setAttribute('content', '#eee8d5'); metaAppleMobileWebAappStatusBarStyle.setAttribute('content', '#eee8d5');
} }
} }
if (localTheme) { if (localTheme) {

View File

@ -1,6 +1 @@
<div class="alert{{- " " -}}{{- if .IsNamedParams -}} <div class="alert {{ with .Get "theme" }}alert-{{.}}{{ end }}" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div>
{{- with .Get "theme" -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
{{- else -}}
{{- with .Get 0 -}}alert-{{.}}{{- else -}}alert-info{{- end -}}
{{- end -}}
" role="alert" data-dir="{{ with .Get "dir" }}{{.}}{{ else }}ltr{{ end }}">{{ .Inner | markdownify }}</div>

View File

@ -1,6 +1,6 @@
name = "Zzo" name = "Zzo"
description = "Hugo blog theme with rich features." description = "Hugo blog theme with rich features."
homepage = "https://zzodocs.netlify.com/docs" homepage = "https://zzo-docs.vercel.app/zzo"
license = "MIT" license = "MIT"
licenselink = "https://github.com/zzossig/hugo-theme-zzo/blob/master/LICENSE.md" licenselink = "https://github.com/zzossig/hugo-theme-zzo/blob/master/LICENSE.md"
tags = ["accessible", "multilingual", "responsive", "blog", "search", "simple", "light", "dark", "mobile", "gallery", "technical", "fast", "presentation"] tags = ["accessible", "multilingual", "responsive", "blog", "search", "simple", "light", "dark", "mobile", "gallery", "technical", "fast", "presentation"]