fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! restyle

This commit is contained in:
Sweetbread committed 2025-08-02 02:09:17 +03:00
1 parent 00b42e94eb
commit bbc135da25
3 files changed
+29 -6

No files matched your search

+23 -6
View File
@@ -1,5 +1,7 @@
@use "sass:color"; @use "sass:color";
// Palette: Catppuccin Mocha
// https://catppuccin.com/palette/
$base: #1e1e2e; $base: #1e1e2e;
$text: #cdd6f4; $text: #cdd6f4;
@@ -24,10 +26,13 @@ $blue: #89b4fa;
body { body {
display: flex;
flex-direction: column;
background-color: $base; background-color: $base;
font-family: Pixeloid; font-family: Pixeloid;
color: $text; color: $text;
width: 100%; width: 100%;
height: 100%;
margin: 0; margin: 0;
} }
@@ -35,6 +40,7 @@ main {
max-width: 45rem; max-width: 45rem;
margin-inline: auto; margin-inline: auto;
padding: 0 8px; padding: 0 8px;
flex: 1 0 auto;
} }
h1 { h1 {
@@ -62,8 +68,19 @@ header {
display: flex; display: flex;
flex-direction: row-reverse; flex-direction: row-reverse;
justify-content: space-between; justify-content: space-between;
background-color: $surface0; background-color: $mantle;
padding: 8px; padding: 8px;
}
footer {
display: flex;
justify-content: space-between;
background-color: $crust;
margin-top: 32px;
padding: 16px;
/* height: 100%; */
/* flex-shrink: 0; */
} }
.mono { .mono {
@@ -96,13 +113,13 @@ header {
} }
&.red { &.red {
background-color: color.mix($surface0, $red, 50%); background-color: color.mix($surface0, $red, 60%);
} }
&.orange { &.orange {
background-color: color.mix($surface0, $peach, 50%); background-color: color.mix($surface0, $peach, 60%);
} }
&.green { &.green {
background-color: color.mix($surface0, $green, 50%); background-color: color.mix($surface0, $green, 60%);
} }
& .header { & .header {
@@ -111,9 +128,9 @@ header {
font-size: x-large; font-size: x-large;
.icon { .icon {
margin-right: 4px; margin-right: 8px;
width: 48px; width: 48px;
border-radius: 6px; border-radius: 8px;
} }
} }
} }
+4
View File
@@ -0,0 +1,4 @@
<footer>
<div>codrs.ru</div>
<div>&#169; 2025</div>
</footer
+2
View File
@@ -14,5 +14,7 @@
<main> <main>
{% include 'services.tmpl' %} {% include 'services.tmpl' %}
</main> </main>
{% include 'footer.tmpl' %}
</body> </body>
</html> </html>