Incomplete redesign.

This commit is contained in:
天クマ 2025-10-26 21:51:13 -03:00
commit 25ea17f0f8
3 changed files with 36 additions and 26 deletions

View file

@ -1,26 +1,28 @@
---
layout: "skeleton.njk"
---
<div id="projectHeader">
{% if logo %}
<img src="{{ page.dir }}{{ logo }}">
{% endif %}
<div id="projectTitleSubtitle">
<div id="projectTitleAuthor">
<h1 id="projectTitle">{{ name }}</h1>
<p id="projectAuthor">by <a href="/authors/{{ author }}">{{ author }}</a></p>
<div>
<div id="projectHeader">
{% if logo %}
<img src="{{ page.dir }}{{ logo }}">
{% endif %}
<div id="projectTitleSubtitle">
<div id="projectTitleAuthor">
<h1 id="projectTitle">{{ name }}</h1>
<p id="projectAuthor">by <a href="/authors/{{ author }}">{{ author }}</a></p>
</div>
<p id="projectSubtitle">{{ subtitle }}</p>
</div>
<p id="projectSubtitle">{{ subtitle }}</p>
<a id="downloadLink" href="{{ downloadLink }}"><button id="downloadButton">{% if downloadLink %}Download{% else %}Unavailable{% endif %}</button></a>
</div>
<a id="downloadLink" href="{{ downloadLink }}"><button id="downloadButton">{% if downloadLink %}Download{% else %}Unavailable{% endif %}</button></a>
</div>
{% include "project_image.njk" %}
<main id="projectDescription">
{% if content %}
{{ content | safe }}
{% else %}
<h2>Oopsie! :<</h2>
<p>Seems like we don't have a description for this project.</p>
<p class="errorQuote"><i>"If only the clockworks could speak<br>I wouldn't be so alone"</i></p>
{% endif %}
</main>
{% include "project_image.njk" %}
<main id="projectDescription">
{% if content %}
{{ content | safe }}
{% else %}
<h2>Oopsie! :<</h2>
<p>Seems like we don't have a description for this project.</p>
<p class="errorQuote"><i>"If only the clockworks could speak<br>I wouldn't be so alone"</i></p>
{% endif %}
</main>
</div>

View file

@ -8,7 +8,9 @@
</head>
<body>
<div id="everythingHelper">
{% include "header.njk" %}
<aside>
{% include "header.njk" %}
</aside>
{{ content | safe }}
</div>
</body>

View file

@ -25,6 +25,11 @@ header {
display: flex;
}
aside {
width: fit-content;
min-width: 20vw;
}
a {
text-decoration: none;
color: var(--accent-color);
@ -53,13 +58,10 @@ button:hover {
code {
background-color: darkslategray;
color: var(--accent-color);
/* outline: 1px solid white; */
padding-left: .2em;
padding-right: .2em;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
border-radius: 2px;
/* margin-left: 2px;
margin-right: 2px; */
display: inline-block;
}
@ -80,6 +82,7 @@ img {
#linksBox {
padding: 10px;
display: flex;
flex-direction: column;
width: 100%;
background-color: black;
outline: 2px solid gray;
@ -94,9 +97,11 @@ img {
}
#everythingHelper {
max-width: 60%;
max-width: 80%;
margin: auto;
transform: .2s;
display: flex;
gap: 3em;
}
#headerLinks {
@ -107,6 +112,7 @@ img {
#title {
margin-top: auto;
margin-bottom: auto;
text-align: center;
}
.searchItemImage {