diff --git a/static/css/nopage.css b/static/css/nopage.css index 4bec9a5..89dce2e 100644 --- a/static/css/nopage.css +++ b/static/css/nopage.css @@ -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,18 @@ img{ } #backbtn{ - background-color: #fe5f55; + background-color: #fe5f55; text-transform: uppercase; border: #fe5f55; + width: 200px; + height: 50px; + border-radius: 24px; } /* Small devices (landscape phones, 576px and up) */ @media (max-width: 576px) { - .img{ - max-width: 700px; + img{ + width: 200px; height: auto; margin-top: 2vh; } diff --git a/static/css/yespage.css b/static/css/yespage.css index 21a8fd2..a1347e6 100644 --- a/static/css/yespage.css +++ b/static/css/yespage.css @@ -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; @@ -59,9 +59,6 @@ img{ height: 50px; border-radius: 24px; } -#mainpage{ - vertical-align: middle; -} /*Small devices (landscape phones, 576px and up) */ @media (max-width: 576px) { @@ -73,10 +70,12 @@ img{ div.row h1{ font-size: 20pt; + margin-top: 10px; } div.row h2{ font-size: 10pt; + margin-top: 10px; } container-fluid{ diff --git a/templates/nopage.html b/templates/nopage.html index 3898711..544925f 100644 --- a/templates/nopage.html +++ b/templates/nopage.html @@ -5,8 +5,8 @@ {%include 'bootstrap.html'%} +