123
This commit is contained in:
2
app.py
2
app.py
@@ -23,4 +23,4 @@ def nopressed():
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.jinja_env.auto_reload = True
|
app.jinja_env.auto_reload = True
|
||||||
app.run(debug=True, host='0.0.0.0')
|
app.run(debug=False, host='0.0.0.0')
|
||||||
@@ -60,3 +60,53 @@ body{
|
|||||||
border: 2px solid #4ce0b3;
|
border: 2px solid #4ce0b3;
|
||||||
color:#2b3a67;
|
color:#2b3a67;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Small devices (landscape phones, 576px and up) */
|
||||||
|
@media (max-width: 576px) {
|
||||||
|
img{
|
||||||
|
max-width: 200px;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 2vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row h1{
|
||||||
|
font-size: 20pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row h2{
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
container-fluid{
|
||||||
|
min-width: 500px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Large devices (desktops, 992px and up) */
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Extra large devices (large desktops, 1200px and up) */
|
||||||
|
@media (max-width: 1200px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
|
Custom media queries
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Set width to make card deck cards 100% width */
|
||||||
|
@media (max-width: 950px) {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -50,3 +50,50 @@ img{
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
border: #fe5f55;
|
border: #fe5f55;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Small devices (landscape phones, 576px and up) */
|
||||||
|
@media (max-width: 576px) {
|
||||||
|
.img{
|
||||||
|
max-width: 700px;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 2vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row h1{
|
||||||
|
font-size: 20pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row h2{
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Large devices (desktops, 992px and up) */
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Extra large devices (large desktops, 1200px and up) */
|
||||||
|
@media (max-width: 1200px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
|
Custom media queries
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Set width to make card deck cards 100% width */
|
||||||
|
@media (max-width: 950px) {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -48,3 +48,72 @@ img{
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
border: #fe5f55;
|
border: #fe5f55;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding-right: 0;
|
||||||
|
padding-left: 0;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Small devices (landscape phones, 576px and up) */
|
||||||
|
@media (max-width: 576px) {
|
||||||
|
img{
|
||||||
|
max-width: 200px;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 2vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row h1{
|
||||||
|
font-size: 20pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.row h2{
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
container-fluid{
|
||||||
|
min-width: 500px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container{
|
||||||
|
padding-right: 0;
|
||||||
|
padding-left: 0;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Large devices (desktops, 992px and up) */
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Extra large devices (large desktops, 1200px and up) */
|
||||||
|
@media (max-width: 1200px) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||||
|
Custom media queries
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Set width to make card deck cards 100% width */
|
||||||
|
@media (max-width: 950px) {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -11,6 +11,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<img src="{{url_for('static', filename='img/love2.jpg')}}">
|
<img src="{{url_for('static', filename='img/love2.jpg')}}">
|
||||||
</div>
|
</div>
|
||||||
@@ -24,6 +27,7 @@
|
|||||||
<button class="btn btn-primary" id="backbtn" onClick="window.location.href='{{ url_for( 'index' ) }}';">На главную</button>
|
<button class="btn btn-primary" id="backbtn" onClick="window.location.href='{{ url_for( 'index' ) }}';">На главную</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user