Skip to content

Commit

Permalink
refactor: style fixes + remove fldarkstat since no mvp
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Jan 20, 2024
1 parent ee94036 commit ea80b72
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
2 changes: 2 additions & 0 deletions blog/about/about.templ
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ templ AboutT() {
About
}
@Intro()
<hr/>
@WhyThisSiteWasMade()
<hr/>
@Contacts()
}
}
Expand Down
10 changes: 10 additions & 0 deletions blog/common/static/common/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ body {

h1, h2 {
margin: 10px;
margin-top: 40px;
margin-bottom: 20px;
font-weight: bold;
}
h1 {
Expand Down Expand Up @@ -37,6 +39,11 @@ b {
li {
margin: 5px;
}

hr {
margin-top: 30px;
margin-bottom: 30px;
}
/*My custom stuff*/

.blog_space {
Expand All @@ -48,6 +55,9 @@ li {
.blog_body {
flex-basis: 800px;
}

margin-top: 10px;
margin-bottom: 100px;
}

.main_menu {
Expand Down
15 changes: 5 additions & 10 deletions blog/pet_projects/pet_projects.templ
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ templ pet_project(name string, url string) {
<div class="pet_project">
<a class="pet_project_header" href={ templ.URL(url) }><h2>{ name }</h2></a>
{ children... }
</div>
</div>
}


templ PetProjectsT() {
@common.Html5(common.Title("Pet projects")) {
@common.BlogFrame() {
Expand All @@ -32,6 +33,7 @@ templ PetProjectsT() {
Based on submitted commits brings generation of changelogs for releases and suggests next semantic version of a release.
}
}
<hr/>
@pet_project_section("Discovery Freelancer community")
@pet_project(
"Fldarkbot - Discord bot to track game objects",
Expand All @@ -44,6 +46,7 @@ templ PetProjectsT() {
}
<img src="https://github.com/darklab8/darklab_fldarkbot/raw/master/docs/index_assets/base_render2.png" />
}
<hr/>
@pet_project(
"Fldarklint - Linter for game configs",
"https://github.com/darklab8/darklab_fldarklint",
Expand All @@ -54,6 +57,7 @@ templ PetProjectsT() {
}
<img style="max-width: 100%;" src="https://github.com/darklab8/darklab_fldarklint/raw/master/docs/assets/diff_example.png" />
}
<hr/>
@pet_project(
"Flconfigs - ORM to access game data",
"https://github.com/darklab8/darklab_fldarklint",
Expand All @@ -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 <a href="https://discoverygc.com/forums/showthread.php?tid=115254">flstat</a>.
As its difference it can contains server side extra data not available for regular flstat.
}
}
</div>
}
}
Expand Down
5 changes: 0 additions & 5 deletions blog/pet_projects/static/pet_projects/pet_projects.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

.pet_project_section_header {
margin-top: 50px;
color: gray;
}

.pet_project {
margin-top: 30px;
}

0 comments on commit ea80b72

Please sign in to comment.