From 0720073a31fa1c278a5579f34291f42914e3644e Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Wed, 20 Dec 2017 13:29:59 +0200 Subject: [PATCH] Fix website navigation and styling discrepancies --- docs/index.html | 11 ++++++----- static-parts/index-start.html | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/docs/index.html b/docs/index.html index c103d8310..ad4060efb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -22,8 +22,9 @@ .group{position:relative;margin-top:2em;margin-bottom:-1em} .search{font-size:14px;margin-top:-.1em;display:block;width:100%;border:none;border-bottom:1px solid var(--nav-link-color)} .search:focus{outline:none} - label{color:var(--nav-link-color);font-size:18px;font-weight:400;position:absolute;pointer-events:none;left:5px;top:10px} - .search:focus ~ label,.search:valid ~ label{top:-20px;font-size:14px;color:var(--nav-link-color)} + label#search-label{color:var(--nav-link-color);font-size:18px;font-weight:400;position:absolute;left:5px;top:10px} + .search:focus ~ label#search-label,.search:valid ~ label#search-label{top:-20px;font-size:14px;color:var(--nav-link-color)} + label#menu-toggle { width: 3.4375rem;} @@ -38,9 +39,9 @@

 30 seconds of code - Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less. + Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.

- +
@@ -49,7 +50,7 @@ - +
diff --git a/static-parts/index-start.html b/static-parts/index-start.html index 0c828f195..5f1f3ff1a 100644 --- a/static-parts/index-start.html +++ b/static-parts/index-start.html @@ -22,8 +22,9 @@ .group{position:relative;margin-top:2em;margin-bottom:-1em} .search{font-size:14px;margin-top:-.1em;display:block;width:100%;border:none;border-bottom:1px solid var(--nav-link-color)} .search:focus{outline:none} - label{color:var(--nav-link-color);font-size:18px;font-weight:400;position:absolute;pointer-events:none;left:5px;top:10px} - .search:focus ~ label,.search:valid ~ label{top:-20px;font-size:14px;color:var(--nav-link-color)} + label#search-label{color:var(--nav-link-color);font-size:18px;font-weight:400;position:absolute;left:5px;top:10px} + .search:focus ~ label#search-label,.search:valid ~ label#search-label{top:-20px;font-size:14px;color:var(--nav-link-color)} + label#menu-toggle { width: 3.4375rem;} @@ -38,9 +39,9 @@

 30 seconds of code - Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less. + Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.

- +
@@ -49,6 +50,6 @@ - +