diff --git a/app.py b/app.py index da510b2..8821c64 100644 --- a/app.py +++ b/app.py @@ -7,6 +7,7 @@ app.config.from_object(app_config) @app.route('/') +@app.route('/index.html') def index(): return render_template('index.html') diff --git a/static/css/nopage.css b/static/css/nopage.css index e855212..4fe12f7 100644 --- a/static/css/nopage.css +++ b/static/css/nopage.css @@ -1,25 +1,32 @@ -.body, html{ - margin: 0; - padding: 0; +body, html{ background: url(../img/noback.jpg); - background-position: center; - background-repeat: no-repeat; - background-size: cover; - height: 100%; + 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; } -.yesimg{ - width: 500px; - padding: 40px; - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); + +.h1, h1 { + font-size: 30pt; + color: #cc0000; + font-family: 'Pattaya', sans-serif; + text-align: center; } -.yesimg h1{ + +container-fluid{ + min-width: 500px; +} + +div.row{ + justify-content:center; +} + +div.row h1{ padding: 0; border: 0; font-family: 'Pattaya', sans-serif; @@ -27,5 +34,19 @@ font-size: 50pt; text-align: center; border-radius: 100px; + margin-top: 5vh; } + +img{ + max-width: 400px; + height: auto; + margin-top: 10vh; + +} + +#backbtn{ + background-color: #fe5f55; + text-transform: uppercase; + border: #fe5f55; +} diff --git a/static/css/yespage.css b/static/css/yespage.css index 9abb314..3c2b3cf 100644 --- a/static/css/yespage.css +++ b/static/css/yespage.css @@ -1,16 +1,11 @@ -html{ - min-width: 488px; -} - -body{ +body, html{ margin: 0; padding: 0; background: url(../img/yesback.jpg); - background-position: center; - background-repeat: no-repeat; - background-size: cover; height: 100vh; + + } container-fluid{ @@ -46,4 +41,10 @@ img{ max-width: 400px; height: auto; margin-top: 10vh; -} \ No newline at end of file +} + +#backbtn{ + background-color: #fe5f55; + text-transform: uppercase; + border: #fe5f55; +} diff --git a/static/img/bear.jpg b/static/img/bear.jpg new file mode 100644 index 0000000..95d6ef0 Binary files /dev/null and b/static/img/bear.jpg differ diff --git a/templates/nopage.html b/templates/nopage.html index 50b0edc..3898711 100644 --- a/templates/nopage.html +++ b/templates/nopage.html @@ -2,15 +2,23 @@ - + + {%include 'bootstrap.html'%} Жаль - + -
-

Жаль, я ждал свою Котю.

+
+
+ +
+
+

Жаль, я ждал свою Котю.

+
+
+ +
- diff --git a/templates/yespage.html b/templates/yespage.html index 1a1c132..1d6de5b 100644 --- a/templates/yespage.html +++ b/templates/yespage.html @@ -20,6 +20,9 @@

Мы вместе {{days}} дней

+
+ +