fixup! fixup! fixup! fixup! restyle
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
</head>
|
||||
<body>
|
||||
{% include 'header.tmpl' %}
|
||||
|
||||
<h1>Coders Squad</h1>
|
||||
|
||||
{% include 'services.tmpl' %}
|
||||
|
||||
Reference in New Issue
Block a user