From d3b85577975b6b1cc691921ec74c740675041ffd Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Sat, 7 Mar 2020 20:04:45 +1000 Subject: [PATCH] added projects page --- Gemfile.lock | 10 ---------- _config.yml | 7 ++++++- _layouts/default.html | 6 +++--- _projects/fedibooks.md | 2 +- assets/style.css | 37 ++++++++++++++++++++++++++++++++----- projects.html | 14 +++++++++++++- 6 files changed, 55 insertions(+), 21 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4b1d5ec..49ac9a3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -29,12 +29,8 @@ GEM rouge (~> 3.0) safe_yaml (~> 1.0) terminal-table (~> 1.8) - jekyll-feed (0.13.0) - jekyll (>= 3.7, < 5.0) jekyll-sass-converter (2.1.0) sassc (> 2.0.1, < 3.0) - jekyll-seo-tag (2.6.1) - jekyll (>= 3.3, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.1.0) @@ -45,10 +41,6 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - minima (2.5.1) - jekyll (>= 3.5, < 5.0) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (4.0.3) @@ -74,8 +66,6 @@ PLATFORMS DEPENDENCIES jekyll (~> 4.0.0) - jekyll-feed (~> 0.12) - minima (~> 2.5) tzinfo (~> 1.2) tzinfo-data wdm (~> 0.1.1) diff --git a/_config.yml b/_config.yml index 91c93e2..235c885 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1,6 @@ -url: "https://lynnesbian.space/" \ No newline at end of file +url: "https://lynnesbian.space/" + +collections: + projects: + output: true + permalink: "/:collection/:name" diff --git a/_layouts/default.html b/_layouts/default.html index 5839252..28b8a0f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,7 @@ - + {{ page.title | default: "lynnesbian dot space" }} @@ -11,8 +11,8 @@
{{ content }}
- + {% include footer.html %} - \ No newline at end of file + diff --git a/_projects/fedibooks.md b/_projects/fedibooks.md index 3c491cf..5fd120f 100644 --- a/_projects/fedibooks.md +++ b/_projects/fedibooks.md @@ -1,4 +1,4 @@ --- name: Fedibooks -description: Example +description: A web UI for creating "ebooks bots"; bots that learn from your posts and use Markov chains to generate similar posts --- \ No newline at end of file diff --git a/assets/style.css b/assets/style.css index 647ac10..ec245e6 100644 --- a/assets/style.css +++ b/assets/style.css @@ -27,7 +27,7 @@ h1, h2, h3, h4, h5, h6 { #bune { height:200px; min-height: 15vh; - margin: 50px auto; + margin: 50px auto 0; display: block; } @@ -50,6 +50,35 @@ a { text-decoration: none; } +#projects { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-around; +} +.project { + flex: 1 0 400px; + background: linear-gradient(to bottom, #0dd, mediumpurple) no-repeat; + background-size: 2px; + padding: 10px; + margin: 10px; + position: relative; +} +.project::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + content: ""; + z-index: -1; + position: absolute; + background: linear-gradient(to bottom right, #00000003, #0000000c); + +} +.project h2 { + margin-top: 0; +} + footer { text-align: center; color: grey; @@ -58,6 +87,7 @@ footer { } footer p { font-size: unset; + margin: 5px; } footer a:not(:last-child)::after { content: " - " @@ -70,10 +100,7 @@ footer a:not(:last-child)::after { p, footer, ul { line-height: 1.6em; } - #bune { - margin-bottom: 0; - } h1 { margin-top: 0; } -} \ No newline at end of file +} diff --git a/projects.html b/projects.html index 421ad84..86657ee 100644 --- a/projects.html +++ b/projects.html @@ -8,7 +8,19 @@ layout: default These are some of my personal projects that I've worked on. This is not an extensive list, it's more focused on the stuff I'm proud of or find otherwise noteworthy.

+
+ {% for project in site.projects %} +
+

{{ project.name }}

+

+ {{ project.description }} +

+ Read more +
+ {% endfor %} +
+

You can find more of my public projects on my Gitea and Github pages.

- \ No newline at end of file +