Skip to content

Commit

Permalink
fix resource subpage formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jasm1nii committed Oct 30, 2023
1 parent 7108cad commit 81ab4a1
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 30 deletions.
21 changes: 13 additions & 8 deletions public_html/_assets/stylesheets/content_A2.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public_html/_assets/stylesheets/content_A2.css.map

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions resources/content/resources/categories/art-design.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<article>
<section>

## illustration programs

Expand All @@ -20,9 +20,9 @@

- [pixilart](https://www.pixilart.com/) - runs in the browser

</article>
</section>

<article>
<section>

## reference tools

Expand All @@ -38,9 +38,9 @@

create nets of 3D objects - ideal for foldable paper crafts and related projects

</article>
</section>

<article>
<section>

## graphic assets

Expand Down Expand Up @@ -84,9 +84,9 @@

hi-res stock photos and textures - all free to use.

</article>
</section>

<article>
<section>

## miscellaneous

Expand All @@ -100,12 +100,12 @@
you're gonna need a LOT of bandwidth for this; the initial installer is nearly **3 GB** in size, with 4 GB of additional resources that need to be downloaded on the first launch.
</details>

</article>
</section>

<article>
<section>

## more resources

- ["awesome design tools" on github](https://github.com/goabstract/Awesome-Design-Tools)

</article>
</section>
11 changes: 7 additions & 4 deletions resources/layouts/resources/resources_subpage_1.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
<div id="layout">
<header>
<hgroup>
<h1>{{ title }}</h1>
<p>jasmine's resources</p>
{% if parent_name is defined %}
<p id="parent-category-name">{{ parent_name }}</p>
{% endif %}
<p>jasmine's resources</p>
</p>
<h1>{{ title }}</h1>
<p>
last updated:
<time datetime="{{ updated|date() }}">{{ updated|format_date(pattern="d MMMM Y")|lower }}</time>
Expand All @@ -45,8 +46,10 @@
{% endapply %}
</details>
</aside>
{% block content %}
{% endblock %}
<article>
{% block content %}
{% endblock %}
</article>
</main>
</div>
<footer>
Expand Down
20 changes: 13 additions & 7 deletions resources/scss/content_A2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ header {

#parent-category-name {
font-size: larger;
font-weight: 500;
margin: 0;
}

section, #legend, main nav {
Expand Down Expand Up @@ -237,7 +239,10 @@ footer {
margin-right: auto;
margin-top: 5%;
position: relative;
text-align: center;
text-align: right;
& nav {
text-align: left;
}
& nav li {
display: inline;
margin-right: .5em;
Expand All @@ -247,18 +252,19 @@ footer {
}
}
}
#themeToggle {
height: fit-content;
margin-bottom: 1em;
}
#layout {
margin-top: 0;
flex-direction: column;
}
main {
margin-top: 15%;
margin-right: 1em;
margin-left: 1em;
}
section {
border-right: none;
border-left: none;
}
#legend, main nav {
margin: 5vh 5vw;
}
footer {
text-align: center;
Expand Down

0 comments on commit 81ab4a1

Please sign in to comment.