restyle
This commit is contained in:
@@ -4,3 +4,5 @@ __pycache__/
|
|||||||
*.py[cod]
|
*.py[cod]
|
||||||
*$py.class
|
*$py.class
|
||||||
.python-version
|
.python-version
|
||||||
|
|
||||||
|
static/style/
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
|
import os
|
||||||
|
from os import system as console
|
||||||
from flask import Flask, render_template
|
from flask import Flask, render_template
|
||||||
|
from flask_scss import Scss
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
app.debug = True
|
||||||
|
# if not os.path.exists("static/css/main.css"):
|
||||||
|
os.system("sass static/scss/main.scss static/style/main.css")
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def hello_world():
|
def hello_world():
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
Flask==3.1.1
|
Flask==3.1.1
|
||||||
|
Flask-Scss
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ pkgs.mkShell {
|
|||||||
buildInputs = with pypkgs; [
|
buildInputs = with pypkgs; [
|
||||||
python
|
python
|
||||||
virtualenv
|
virtualenv
|
||||||
|
# pkgs.nodejs
|
||||||
|
pkgs.nodePackages.sass
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,92 @@
|
|||||||
|
Copyright © 2020-2023 GGBotNet (https://ggbot.net/fonts/), with Reserved Font Name "Pixeloid".
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
Monocraft: https://idreesinc.itch.io/monocraft
|
||||||
|
Pixeloid: https://ggbot.itch.io/pixeloid-font
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
body {
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
font-family: Pixeloid;
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: unset;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: #89b4fa;
|
||||||
|
text-underline-offset: 1px;
|
||||||
|
transition: text-underline-offset 0.3s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-underline-offset: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
display: inline-block;
|
||||||
|
transform: scale(.98);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mono {
|
||||||
|
font-family: "Monocraft", monospace;
|
||||||
|
color: #9399b2;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Monocraft;
|
||||||
|
src: url("/static/font/Monocraft.ttc");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Pixeloid;
|
||||||
|
src:
|
||||||
|
url("/static/font/Pixeloid/woff/Sans.woff2") format("woff2"),
|
||||||
|
url("/static/font/Pixeloid/otf/Sans.otf") format("opentype");
|
||||||
|
}
|
||||||
+4
-19
@@ -1,28 +1,13 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Coders Squad</title>
|
<title>Coders Squad</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/static/style/main.css">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Coders Squad</h1>
|
<h1>Coders Squad</h1>
|
||||||
|
|
||||||
<h2>Сервисы</h2>
|
{% include 'services.tmpl' %}
|
||||||
|
|
||||||
<h3>Сайты</h3>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="http://b.codrs.ru">Sharkey</a>
|
|
||||||
— федеративная соц. сеть
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="http://g.codrs.ru">Gitea</a>
|
|
||||||
— хостинг репозиториев
|
|
||||||
</li>
|
|
||||||
<li>Peertube — федеративный хостинг видео</li>
|
|
||||||
<li>
|
|
||||||
<a href="http://s.codrs.ru">4get</a>
|
|
||||||
— прокси-поисковик
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
<div class="services-1">
|
||||||
|
<div>
|
||||||
|
<p><a href="https://b.codrs.ru"><strong>Sharkey</strong></a></p>
|
||||||
|
<p>Федеративная микроблогинговая система поверх протокола ActivityPub</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p><a href="https://g.codrs.ru"><strong>Gitea</strong></a></p>
|
||||||
|
<p>Selhosted хранилище git-репозиториев со свободным исходным кодом</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="services-2">
|
||||||
|
<p><a href="https://m.codrs.ru"><strong>Matrix</strong></a> — федеративный мессанджер</p>
|
||||||
|
<p><a href="https://c.codrs.ru"><strong>Copyparty</strong></a> — облочное хранилище файлов</p>
|
||||||
|
<p><a href="https://s.codrs.ru"><strong>4get</strong></a> — прокси-поисковик</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="services-3">
|
||||||
|
<div>
|
||||||
|
DNS:
|
||||||
|
<ul>
|
||||||
|
<li><span class="mono">193.222.99.172</span></li>
|
||||||
|
<li>DoT: <span class="mono">...</span></li>
|
||||||
|
<li>DoH: <span class="mono">...</span></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
Yggdrasil:
|
||||||
|
<span class="mono">200:ee1:bad2:1732:4b91:c3e3:2f08:29b3</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="services-4">
|
||||||
|
Ещё у нас есть <a href="https://bug.codrs.ru">GlitchTip</a> и <a href="https://dav.codrs.ru">Baikal</a> для участников нашей группы!
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user