From 2147f0e26933f578cb1d1e23bf7be7ac618ad6e3 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 29 Feb 2020 20:37:27 +1000 Subject: [PATCH] render link list, restructure layout --- .gitignore | 2 +- .vscode/settings.json | 5 +++++ _includes/links.html | 5 +++++ _includes/status.html | 0 _layouts/default.html | 10 +--------- index-sample.html | 4 ---- index.html | 14 ++++++++++++++ style.css | 7 +++++-- 8 files changed, 31 insertions(+), 16 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 _includes/links.html create mode 100644 _includes/status.html delete mode 100644 index-sample.html create mode 100644 index.html diff --git a/.gitignore b/.gitignore index 0b0ccaf..c6d2c78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -index.html _site/ .jekyll-cache/ +_data/*.yml diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ac39e4f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "*.html": "jekyll", + } +} diff --git a/_includes/links.html b/_includes/links.html new file mode 100644 index 0000000..a96f00f --- /dev/null +++ b/_includes/links.html @@ -0,0 +1,5 @@ + diff --git a/_includes/status.html b/_includes/status.html new file mode 100644 index 0000000..e69de29 diff --git a/_layouts/default.html b/_layouts/default.html index 2ae4486..e7a743f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -9,15 +9,7 @@

{{ page.title }}

-
-
-

Status

-
- -
-

Links

-
-
+ {{ content }} diff --git a/index-sample.html b/index-sample.html deleted file mode 100644 index 159f77f..0000000 --- a/index-sample.html +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: default -title: New Tab ---- diff --git a/index.html b/index.html new file mode 100644 index 0000000..a44efa8 --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ +--- +layout: default +title: New Tab +--- +
+
+

Status

+
+ +
+

Links

+ {% include links.html %} +
+
diff --git a/style.css b/style.css index cfd449e..29bc9b2 100644 --- a/style.css +++ b/style.css @@ -23,7 +23,6 @@ h1 { p, footer, ul { width: 80%; - margin: 20px auto; line-height: 1.3em; } p, ul { @@ -33,7 +32,8 @@ li { margin-top: 3px; } ul { - list-style-type: "– "; + padding: 0; + list-style-type: none; } a { @@ -54,6 +54,9 @@ a { display: inline-block; background: transparent; transition: 0.2s all linear; + text-align: left; + vertical-align: top; + padding: 0 15px; } .box:hover { background: #00000011;