From ea80b729a4f2782f8bd42159eba7e9b426502551 Mon Sep 17 00:00:00 2001 From: dd84ai Date: Sat, 20 Jan 2024 21:14:30 +0100 Subject: [PATCH] refactor: style fixes + remove fldarkstat since no mvp --- blog/about/about.templ | 2 ++ blog/common/static/common/common.css | 10 ++++++++++ blog/pet_projects/pet_projects.templ | 15 +++++---------- .../static/pet_projects/pet_projects.css | 5 ----- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/blog/about/about.templ b/blog/about/about.templ index 7231ce4..2b68d95 100644 --- a/blog/about/about.templ +++ b/blog/about/about.templ @@ -64,7 +64,9 @@ templ AboutT() { About } @Intro() +
@WhyThisSiteWasMade() +
@Contacts() } } diff --git a/blog/common/static/common/common.css b/blog/common/static/common/common.css index b349b1d..08313c8 100644 --- a/blog/common/static/common/common.css +++ b/blog/common/static/common/common.css @@ -5,6 +5,8 @@ body { h1, h2 { margin: 10px; + margin-top: 40px; + margin-bottom: 20px; font-weight: bold; } h1 { @@ -37,6 +39,11 @@ b { li { margin: 5px; } + +hr { + margin-top: 30px; + margin-bottom: 30px; +} /*My custom stuff*/ .blog_space { @@ -48,6 +55,9 @@ li { .blog_body { flex-basis: 800px; } + + margin-top: 10px; + margin-bottom: 100px; } .main_menu { diff --git a/blog/pet_projects/pet_projects.templ b/blog/pet_projects/pet_projects.templ index 0430086..f436487 100644 --- a/blog/pet_projects/pet_projects.templ +++ b/blog/pet_projects/pet_projects.templ @@ -13,9 +13,10 @@ templ pet_project(name string, url string) {

{ name }

{ children... } -
+ } + templ PetProjectsT() { @common.Html5(common.Title("Pet projects")) { @common.BlogFrame() { @@ -32,6 +33,7 @@ templ PetProjectsT() { Based on submitted commits brings generation of changelogs for releases and suggests next semantic version of a release. } } +
@pet_project_section("Discovery Freelancer community") @pet_project( "Fldarkbot - Discord bot to track game objects", @@ -44,6 +46,7 @@ templ PetProjectsT() { } } +
@pet_project( "Fldarklint - Linter for game configs", "https://github.com/darklab8/darklab_fldarklint", @@ -54,6 +57,7 @@ templ PetProjectsT() { } } +
@pet_project( "Flconfigs - ORM to access game data", "https://github.com/darklab8/darklab_fldarklint", @@ -63,15 +67,6 @@ templ PetProjectsT() { without need to write code for how to write to files. } } - @pet_project( - "FLdarkstat - web site to access game data in an online way", - "https://github.com/darklab8/darklab_fldarkstat", - ) { - @common.TextBlock(){ - It is in development to replace functionality of original flstat. - As its difference it can contains server side extra data not available for regular flstat. - } - } } } diff --git a/blog/pet_projects/static/pet_projects/pet_projects.css b/blog/pet_projects/static/pet_projects/pet_projects.css index c07fa2f..10fed31 100644 --- a/blog/pet_projects/static/pet_projects/pet_projects.css +++ b/blog/pet_projects/static/pet_projects/pet_projects.css @@ -1,9 +1,4 @@ .pet_project_section_header { - margin-top: 50px; color: gray; } - -.pet_project { - margin-top: 30px; -} \ No newline at end of file