-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a2831ad
Showing
23 changed files
with
1,083 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[flake8] | ||
ignore = E501, E265, F811, PT001, DJ05, D100, D105, D104, W504, W292 | ||
max-line-length = 79 | ||
paths = | ||
./yacut | ||
max-complexity = 10 | ||
exclude = | ||
tests | ||
migrations | ||
per-file-ignores = | ||
__init__.py: F401, E402 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
pip-wheel-metadata/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow | ||
__pypackages__/ | ||
|
||
# Celery stuff | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Клонировать репозиторий и перейти в него в командной строке: | ||
|
||
``` | ||
git clone | ||
``` | ||
|
||
``` | ||
cd yacut | ||
``` | ||
|
||
Cоздать и активировать виртуальное окружение: | ||
|
||
``` | ||
python3 -m venv venv | ||
``` | ||
|
||
* Если у вас Linux/macOS | ||
|
||
``` | ||
source venv/bin/activate | ||
``` | ||
* Если у вас windows | ||
``` | ||
source venv/scripts/activate | ||
``` | ||
Установить зависимости из файла requirements.txt: | ||
``` | ||
python3 -m pip install --upgrade pip | ||
``` | ||
``` | ||
pip install -r requirements.txt | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
/* GLOBAL STYLES | ||
-------------------------------------------------- */ | ||
/* Padding below the footer and lighter body text */ | ||
|
||
body { | ||
padding-top: 3rem; | ||
padding-bottom: 3rem; | ||
color: #5a5a5a; | ||
} | ||
|
||
|
||
/* CUSTOMIZE THE CAROUSEL | ||
-------------------------------------------------- */ | ||
|
||
/* Carousel base class */ | ||
.carousel { | ||
margin-bottom: 4rem; | ||
} | ||
/* Since positioning the image, we need to help out the caption */ | ||
.carousel-caption { | ||
bottom: 3rem; | ||
z-index: 10; | ||
} | ||
|
||
/* Declare heights because of positioning of img element */ | ||
.carousel-item { | ||
height: 32rem; | ||
} | ||
.carousel-item > img { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
min-width: 100%; | ||
height: 32rem; | ||
} | ||
|
||
|
||
/* MARKETING CONTENT | ||
-------------------------------------------------- */ | ||
|
||
/* Center align the text within the three columns below the carousel */ | ||
.marketing .col-lg-4 { | ||
margin-bottom: 1.5rem; | ||
text-align: center; | ||
} | ||
.marketing h2 { | ||
font-weight: 400; | ||
} | ||
/* rtl:begin:ignore */ | ||
.marketing .col-lg-4 p { | ||
margin-right: .75rem; | ||
margin-left: .75rem; | ||
} | ||
/* rtl:end:ignore */ | ||
|
||
|
||
/* Featurettes | ||
------------------------- */ | ||
|
||
.featurette-divider { | ||
margin: 5rem 0; /* Space out the Bootstrap <hr> more */ | ||
} | ||
|
||
/* Thin out the marketing headings */ | ||
.featurette-heading { | ||
font-weight: 300; | ||
line-height: 1; | ||
/* rtl:remove */ | ||
letter-spacing: -.05rem; | ||
} | ||
|
||
|
||
/* RESPONSIVE CSS | ||
-------------------------------------------------- */ | ||
|
||
@media (min-width: 40em) { | ||
/* Bump up size of carousel content */ | ||
.carousel-caption p { | ||
margin-bottom: 1.25rem; | ||
font-size: 1.25rem; | ||
line-height: 1.4; | ||
} | ||
|
||
.featurette-heading { | ||
font-size: 50px; | ||
} | ||
} | ||
|
||
@media (min-width: 62em) { | ||
.featurette-heading { | ||
margin-top: 7rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
/* Основной Цвет: #13629E | ||
#285576 | ||
#063D67 | ||
#4693CF | ||
#6BA3CF | ||
Вторичный Цвет A: | ||
#2222AC | ||
#343481 | ||
#0B0B70 | ||
#5555D5 | ||
#7878D5 | ||
Вторичный Цвет B: | ||
#0AA864 | ||
#257E58 | ||
#036D40 | ||
#3ED494 | ||
#66D4A5 */ | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;500;700&display=swap'); | ||
|
||
|
||
body { | ||
font-family: Inter,Arial,Lucida Grande,sans-serif; | ||
padding-top: 1rem; | ||
color: #4b4f54; | ||
font-size: 1.15vw; | ||
font-weight: 200; | ||
} | ||
@media (max-width: 768px) { | ||
body { | ||
font-size: 1.5rem; | ||
} | ||
body small { | ||
font-size: .5rem; | ||
} | ||
.nav { | ||
display: block; | ||
} | ||
} | ||
main { | ||
padding-top: 5em; | ||
} | ||
|
||
|
||
|
||
body p { | ||
line-height: 1.2; | ||
} | ||
.btn-primary { | ||
color: #fff; | ||
background-color: #13629E; | ||
border-color: #13629E; | ||
} | ||
.btn-primary:hover { | ||
color: #fff; | ||
background-color: #063D67; | ||
border-color: #13629E; | ||
} | ||
|
||
|
||
.bd-placeholder-img { | ||
font-size: 1.125rem; | ||
text-anchor: middle; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
user-select: none; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.bd-placeholder-img-lg { | ||
font-size: 3.5rem; | ||
} | ||
} | ||
a.nav-link { | ||
transition: opacity .3s ease,color .3s ease; | ||
color: #063D67; | ||
font-weight: 500; | ||
/* font-size: 1.1vw; */ | ||
line-height: 1em; | ||
text-transform: uppercase; | ||
} | ||
|
||
a.nav-link:hover { | ||
color: #13629E; | ||
text-decoration: underline; | ||
} | ||
|
||
.main-subtitle { | ||
font-weight: 700; | ||
text-transform: uppercase; | ||
line-height: 1.1; | ||
} | ||
.main-subtitle strong{ | ||
color: #0AA864; | ||
} | ||
|
||
a.regular-link{ | ||
text-decoration: none; | ||
transition: opacity .3s ease,color .3s ease; | ||
color: #063D67; | ||
font-weight: 700; | ||
} | ||
|
||
a.regular-link:hover { | ||
color: #13629E; | ||
text-decoration: underline; | ||
} | ||
|
||
.objects .card-header { | ||
padding: .5rem 1rem; | ||
margin-bottom: .5rem; | ||
background-color: rgba(0,0,0,.03); | ||
border-bottom: none; | ||
} | ||
|
||
.contacts ul { | ||
list-style: none; | ||
margin-left: -2rem; | ||
} | ||
|
||
footer a.regular-link { | ||
font-weight: 200; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.