fixup! fixup! fixup! fixup! restyle
This commit is contained in:
1 parent
a9f74daeac
commit
f353aa9149
4 files changed
+22
-1
No files matched your search
@@ -9,5 +9,5 @@ app.debug = True
|
|||||||
os.system("sass static/scss/main.scss static/style/main.css")
|
os.system("sass static/scss/main.scss static/style/main.css")
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def hello_world():
|
def index():
|
||||||
return render_template('index.html')
|
return render_template('index.html')
|
||||||
@@ -23,6 +23,7 @@ body {
|
|||||||
font-family: Pixeloid;
|
font-family: Pixeloid;
|
||||||
color: $text;
|
color: $text;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
margin: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@@ -46,6 +47,14 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
justify-content: space-between;
|
||||||
|
background-color: $surface0;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.mono {
|
.mono {
|
||||||
font-family: PixeloidMono, monospace;
|
font-family: PixeloidMono, monospace;
|
||||||
background-color: $mantle;
|
background-color: $mantle;
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -6,6 +6,8 @@
|
|||||||
<script src="/static/sript/copy-mono.js"> </script>
|
<script src="/static/sript/copy-mono.js"> </script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
{% include 'header.tmpl' %}
|
||||||
|
|
||||||
<h1>Coders Squad</h1>
|
<h1>Coders Squad</h1>
|
||||||
|
|
||||||
{% include 'services.tmpl' %}
|
{% include 'services.tmpl' %}
|
||||||
|
|||||||
Reference in new issue
Block a user