From a5591d26a17c8d967db24f1071ae90734396e30e Mon Sep 17 00:00:00 2001 From: David Wu Date: Tue, 19 Dec 2017 10:35:23 +0100 Subject: [PATCH 01/37] fork alert --- static-parts/index-start.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static-parts/index-start.html b/static-parts/index-start.html index cc270b31f..09fdb25ac 100644 --- a/static-parts/index-start.html +++ b/static-parts/index-start.html @@ -21,6 +21,9 @@ +

 30 seconds of code From cf2ca395558bea09dfcff711ba7e193079949ce8 Mon Sep 17 00:00:00 2001 From: David Wu Date: Tue, 19 Dec 2017 10:39:17 +0100 Subject: [PATCH 02/37] Build site --- docs/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/index.html b/docs/index.html index d95229aa1..20531f201 100644 --- a/docs/index.html +++ b/docs/index.html @@ -21,6 +21,9 @@ +

 30 seconds of code From 9010f3c1418290b48dfd2f475b09c906e4cf9ec1 Mon Sep 17 00:00:00 2001 From: David Wu Date: Wed, 20 Dec 2017 00:54:07 +0100 Subject: [PATCH 03/37] first approach on search bar --- static-parts/index-start.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/static-parts/index-start.html b/static-parts/index-start.html index bcf5f8d17..af3b69717 100644 --- a/static-parts/index-start.html +++ b/static-parts/index-start.html @@ -19,6 +19,26 @@ code, kbd { font-size: 1em; } code { transform: scale(1); } /* Deals with the issue described in #243 */ pre { font-size: 1rem; border: 0.0625rem solid var(--secondary-border-color); border-radius: var(--universal-border-radius);} + #snippetList { /* Remove default list styling */ + list-style-type: none; + padding: 0; + margin: 0; + } + + #snippetList li a { + border: 1px solid #ddd; /* Add a border to all links */ + margin-top: -1px; /* Prevent double borders */ + background-color: #f6f6f6; /* Grey background color */ + padding: 12px; /* Add some padding */ + text-decoration: none; /* Remove default text underline */ + font-size: 18px; /* Increase the font-size */ + color: black; /* Add a black text color */ + display: block; /* Make it into a block element to fill the whole list */ + } + + #snippetList li a:hover:not(.header) { + background-color: #eee; /* Add a hover effect to all links, except for headers */ + } @@ -32,6 +52,18 @@

+ +

+ +