fixup! fixup! fixup! fixup! restyle

This commit is contained in:
2025-07-31 23:34:17 +03:00
parent a9f74daeac
commit f353aa9149
4 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ app.debug = True
os.system("sass static/scss/main.scss static/style/main.css")
@app.route("/")
def hello_world():
def index():
return render_template('index.html')
+9
View File
@@ -23,6 +23,7 @@ body {
font-family: Pixeloid;
color: $text;
width: fit-content;
margin: 0 8px;
}
h1 {
@@ -46,6 +47,14 @@ a {
}
}
header {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
background-color: $surface0;
padding: 8px;
}
.mono {
font-family: PixeloidMono, monospace;
background-color: $mantle;
+10
View File
@@ -0,0 +1,10 @@
<header>
<div class="header-links">
<a href="#">О нас</a>
<a href="#">О сервере</a>
</div>
{%- if request.path != url_for('index') %}
<a href="{{ url_for('index') }}">Coders Squad</a>
{% endif %}
</header>
+2
View File
@@ -6,6 +6,8 @@
<script src="/static/sript/copy-mono.js"> </script>
</head>
<body>
{% include 'header.tmpl' %}
<h1>Coders Squad</h1>
{% include 'services.tmpl' %}