Skip to content

Commit

Permalink
some style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Jul 1, 2023
1 parent 78f8c7e commit 7d113ba
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 118 deletions.
4 changes: 3 additions & 1 deletion public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<section class="section container-fluid mt-n3 pb-3">
Expand All @@ -175,6 +176,7 @@ <h1 class="text-center">Page not found :(</h1>
</div>
</div>

</div>



Expand Down
4 changes: 3 additions & 1 deletion public/authors/draganrakita/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand All @@ -209,6 +210,7 @@ <h1>draganrakita</h1>
</div>
</div>

</div>



Expand Down
4 changes: 3 additions & 1 deletion public/authors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand Down Expand Up @@ -195,6 +196,7 @@ <h2 class="h3"><a class="stretched-link text-body" href="https://rakita.github.i
</div>
</div>

</div>



Expand Down
4 changes: 3 additions & 1 deletion public/authors/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand All @@ -216,6 +217,7 @@ <h2 class="h3"><a class="stretched-link text-body" href="https:&#x2F;&#x2F;rakit
</div>
</div>

</div>



Expand Down
4 changes: 3 additions & 1 deletion public/authors/rustaceans/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand All @@ -216,6 +217,7 @@ <h2 class="h3"><a class="stretched-link text-body" href="https:&#x2F;&#x2F;rakit
</div>
</div>

</div>



Expand Down
4 changes: 3 additions & 1 deletion public/blog/2d-transformations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand Down Expand Up @@ -312,6 +313,7 @@ <h2 id="tldr">TLDR</h2>
</div>
</div>

</div>



Expand Down
4 changes: 3 additions & 1 deletion public/blog/hello-world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand Down Expand Up @@ -263,6 +264,7 @@ <h1>Hello World</h1>
</div>
</div>

</div>



Expand Down
4 changes: 3 additions & 1 deletion public/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand Down Expand Up @@ -205,6 +206,7 @@ <h2 class="h3"><a class="stretched-link text-body" href="https:&#x2F;&#x2F;rakit
</div>
</div>

</div>



Expand Down
19 changes: 3 additions & 16 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<section class="section container-fluid mt-n3 pb-3">
Expand All @@ -179,27 +180,13 @@ <h1 class="mt-0">Welcome to my blog!</h1>
</div>
</div>

<!-- <section class="section section-sm">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">Security aware</h2>
<p>Get A+ scores on <a href="https://observatory.mozilla.org/analyze/adidoks.org">Mozilla Observatory</a> out of the box. Easily change the default Security Headers to suit your needs.</p>
</div>
</div>
</div>
</section> -->

<section class="section section-sm container-fluid">
<div class="row justify-content-center text-center">
<div class="col-lg-9"></div>
</div>
</section>

</div>



Expand Down
2 changes: 1 addition & 1 deletion public/main.css

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion public/privacy-policy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@




<div class="main">

<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
Expand Down Expand Up @@ -198,6 +199,7 @@ <h2 id="contact-us">Contact us</h2>
</div>
</div>

</div>



Expand Down
51 changes: 0 additions & 51 deletions themes/adidoks/content/_index.fi.md

This file was deleted.

13 changes: 13 additions & 0 deletions themes/adidoks/sass/_custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
body{
min-height: 100vh;
display: flex;
flex-direction: column;
}

.footer{
margin-top: auto;
}

.main {
margin: auto 0;
}
4 changes: 3 additions & 1 deletion themes/adidoks/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
{{ macros_header::header(current_section="/") }}
{% endblock header %}

{% block content %}{% endblock content %}
<div class="main">
{% block content %}{% endblock content %}
</div>

{% block footer %}
{{ macros_footer::footer() }}
Expand Down
40 changes: 0 additions & 40 deletions themes/adidoks/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,46 +40,6 @@ <h1 class="mt-0">{{ section.title | default(value="Modern Documentation Theme")
</div>
</div>

<!-- <section class="section section-sm">
<div class="container">
<div class="row justify-content-center text-center">
{% if section.extra.list %}
{% for val in section.extra.list %}
<div class="col-lg-5">
<h2 class="h4">{{ val.title }}</h2>
<p>{{ val.content | safe }}</p>
</div>
{% endfor %}
{% else %}
<div class="col-lg-5">
<h2 class="h4">Security aware</h2>
<p>Get A+ scores on <a href="https://observatory.mozilla.org/analyze/doks.netlify.app">Mozilla Observatory</a> out of the box. Easily change the default Security Headers to suit your needs.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Fast by default ⚡️</h2>
<p>Get 100 scores on <a href="https://googlechrome.github.io/lighthouse/viewer/?gist=7731347bb8ce999eff7428a8e763b637">Google Lighthouse</a> by default. Doks removes unused css, prefetches links, and lazy loads images.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">SEO-ready</h2>
<p>Use sensible defaults for structured data, open graph, and Twitter cards. Or easily change the SEO settings to your liking.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Full text search</h2>
<p>Search your Doks site with FlexSearch. Easily customize index settings and search options to your liking.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Page layouts</h2>
<p>Build pages with a landing page, blog, or documentation layout. Add custom sections and components to suit your needs.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Dark mode</h2>
<p>Switch to a low-light UI with the click of a button. Change colors with variables to match your branding.</p>
</div>
{% endif %}
</div>
</div>
</section> -->

<section class="section section-sm container-fluid">
<div class="row justify-content-center text-center">
<div class="col-lg-9"></div>
Expand Down

0 comments on commit 7d113ba

Please sign in to comment.