Compare commits

..

5 Commits

Author SHA1 Message Date
danamir
93a682754d bug fix 2020-05-10 21:07:18 +03:00
danamir
869463d68b bugfix 2020-05-10 20:00:36 +03:00
danamir
b83056a22d no page fix bugs 2020-05-10 19:57:08 +03:00
danamir
e3a710897f buttons redesign 2020-05-10 19:38:22 +03:00
danamir
2ddf7d0b56 yespage bugfix 2020-05-10 19:25:36 +03:00
7 changed files with 54 additions and 57 deletions

4
app.py
View File

@@ -22,10 +22,6 @@ def nopressed():
return render_template('nopage.html')
@app.route('test', methods=['GET', 'POST'])
def t():
return render_template('/test/t1.html')
if __name__ == '__main__':
app.jinja_env.auto_reload = True
app.run(debug=False, host='0.0.0.0')

View File

@@ -31,6 +31,7 @@ body{
border: 2px;
border-radius: 24px;
font-size: 25px;
text-transform: uppercase;
color:#faf3dd;
cursor:pointer;
@@ -44,6 +45,7 @@ body{
border: 2px;
border-radius: 24px;
font-size: 25px;
text-transform: uppercase;
color:#faf3dd;
cursor:pointer;
@@ -51,13 +53,13 @@ body{
.kotya #yesbtn:hover{
background:#90ddf0;
border: 2px solid #4ce0b3;
border: 2px solid #faf3dd;
color:#2b3a67;
}
.kotya #nobtn:hover{
background:#90ddf0;
border: 2px solid #4ce0b3;
border: 2px solid #faf3dd;;
color:#2b3a67;
}

View File

@@ -1,25 +1,21 @@
body, html{
body{
background: url(../img/noback.jpg);
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
margin: 0;
padding: 0;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
}
.h1, h1 {
font-size: 30pt;
color: #cc0000;
font-family: 'Pattaya', sans-serif;
.container-fluid{
padding-right: 0;
padding-left: 0;
margin-right: auto;
margin-left: auto;
text-align: center;
}
container-fluid{
min-width: 500px;
vertical-align: middle;
margin-top: 10vh;
}
div.row{
@@ -34,7 +30,6 @@ div.row h1{
font-size: 50pt;
text-align: center;
border-radius: 100px;
margin-top: 5vh;
}
@@ -46,15 +41,25 @@ img{
}
#backbtn{
background-color: #fe5f55;
background-color: #fe5f55;
text-transform: uppercase;
border: #fe5f55;
width: 200px;
height: 50px;
font-size: 25px;
border-radius: 24px;
}
#backbtn:hover{
background:#90ddf0;
border: 2px solid #faf3dd;;
color:#2b3a67;
}
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
.img{
max-width: 700px;
img{
width: 200px;
height: auto;
margin-top: 2vh;
}

View File

@@ -1,7 +1,7 @@
body{
background: url(../img/yesback.jpg);
margin: 0;
padding: 0;
background: url(../img/yesback.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
@@ -55,11 +55,17 @@ img{
background-color: #fe5f55;
text-transform: uppercase;
border: #fe5f55;
}
#mainpage{
vertical-align: middle;
width: 200px;
height: 50px;
font-size: 25px;
border-radius: 24px;
}
#backbtn:hover{
background:#90ddf0;
border: 2px solid #faf3dd;;
color:#2b3a67;
}
/*Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
@@ -70,10 +76,12 @@ img{
div.row h1{
font-size: 20pt;
margin-top: 10px;
}
div.row h2{
font-size: 10pt;
margin-top: 10px;
}
container-fluid{

View File

@@ -1,11 +1,11 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<html lang="ru">
<head>
<title>Ты котя?</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ url_for('static', filename='css/index.css')}}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
{% include 'bootstrap.html' %}
</head>
<body>

View File

@@ -5,8 +5,8 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/nopage.css')}}">
<link href="https://fonts.googleapis.com/css?family=Pattaya&display=swap" rel="stylesheet">
{%include 'bootstrap.html'%}
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Жаль</title>
</head>
<body>
<div class="container-fluid">

View File

@@ -1,41 +1,27 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<html lang="ru">
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='css/yespage.css')}}">
<link href="https://fonts.googleapis.com/css?family=Pattaya&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
{%include 'bootstrap.html'%}
<title>Да, ты Котя</title>
</head>
<body>
<div class="container-fluid">
<div class="row">
<img src="{{url_for('static', filename='img/love2.jpg')}}">
</div></div>
</div>
<div class="row ">
<h1>ТЬМООООООК</h1>
</div></div>
<div class="row ">
<h1>ТЬМООООООК</h1>
</div>
<div class="row ">
<h2>Мы вместе {{days}} дней </h>
</div></div>
<div class="row ">
<h2>Мы вместе {{days}} дней </h>
</div>
<div class="row">
<button class="btn btn-primary" id="backbtn" onClick="window.location.href='{{ url_for( 'index' ) }}';">На главную</button>
</div>
</div></div>
<div class="row">
<button class="btn btn-primary" id="backbtn" onClick="window.location.href='{{ url_for( 'index' ) }}';">На главную</button>
</div>
</div>
</body>
</html>