diff --git a/htdocs/scss/app/head.scss b/htdocs/scss/app/head.scss index 59d2f08..34834fe 100644 --- a/htdocs/scss/app/head.scss +++ b/htdocs/scss/app/head.scss @@ -73,6 +73,7 @@ a.head-item { height: 18px; } } + &.is-download {display:none;} &:hover { border-radius: 4px; diff --git a/htdocs/scss/app/mobile.scss b/htdocs/scss/app/mobile.scss index a6ebcee..9fb2f9e 100644 --- a/htdocs/scss/app/mobile.scss +++ b/htdocs/scss/app/mobile.scss @@ -36,6 +36,9 @@ a.head-item:active { a.head-item:last-child > span { border-right: 0; } +a.head-item.is-download { + display: inline-block; +} // blog .blog-tags { diff --git a/skin/base.phps b/skin/base.phps index 3756682..c3cab92 100644 --- a/skin/base.phps +++ b/skin/base.phps @@ -187,7 +187,7 @@ function getStaticVersion(string $name): string { function renderHeader(SkinContext $ctx, string $theme): string { $items = [ - //['url' => '/articles/', 'label' => 'articles'], + ['url' => '/#download', 'label' => 'download', 'type' => 'download'], ['url' => 'https://files.4in1.ws', 'label' => 'materials'], ['url' => '/contacts/', 'label' => 'contacts'] ]; @@ -237,6 +237,8 @@ switch ($type) { case 'settings': $class = ' is-settings'; break; + case 'download': + $class = ' is-download'; } return <<{$unsafe_label}