diff --git a/static/css/main.css b/static/css/main.css index 6ffc3a5..006cb1f 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -6,26 +6,10 @@ } body { - display: flex; - flex-direction: column; font-family: 'MODERN TYPEWRITER', sans-serif; font-size: medium; color: black; - align-items: center; - justify-content: center; - height: 100%; - overflow: visible; -} - -.bg-full { - position: fixed; - background: url('../img/spy-background.png'); - background-size: cover; - width: 100%; - height: 100%; - left: 0px; - top: 0px; - z-index: -99; + margin: 0; } h1 { @@ -34,48 +18,6 @@ h1 { margin-top: 0px; } -.container { - position: absolute; - z-index: 0; - top: 0px; - margin: 5vh 0vh; - justify-content: center; - width: 90vw; - min-height: 100%; - border-radius: 2px; - border: none; - padding: 5vw; - background: url("../img/background-letter.jpg"); - background-size: cover; - background-position-x: right; -} - -@media screen and (max-width: 800px) { - .container { - margin: 0px; - width: 100%; - border-radius: 0px; - box-shadow: none; - } - body { - margin: 0px; - } -} - -.logo>img { - height: 220px; - margin-left: 3vw; -} - -.row { - display: flex; - flex-direction: row; - width: 100%; - justify-content: center; - align-items: stretch; - background-position: absolute; -} - hr { text-align: center; border: none; @@ -88,6 +30,11 @@ hr::before { content: url('../img/divider.svg'); } +img { + max-width: 100%; + height: auto +} + p { font-size: 1.5vw; font-weight: 300; @@ -104,109 +51,118 @@ a:hover { cursor: pointer; } -.prank-button { - text-align: center; - font-size: 2.5vw; - margin-top: 30px; -} - -img { - max-width: 100%; - height: auto; -} - -.prank-button a .underline{ - position: relative; - max-width: 100%; - top: -30px; -} - -.prank-button a { - color: black; - position: relative; - padding: 20px 10px; - width: 100%; - -} - -.prank-button a:hover { - text-decoration: none; -} - -.hover-circle { +#wrapper { + display: flex; + justify-content: center; + align-items: center; position: absolute; - z-index: 10; - top: 2px; - left: 0px; - height: 100%; width: 100%; - display: none; + height: 100%; + background: url('../img/spy-background.png'); + background-size: cover; + overflow: scroll; } -.banner { - padding: 3vw; +#container { display: flex; flex-direction: column; - align-items: left; + position: absolute; + top: 40px; + width: calc(100% - 10vw); + height: auto; + padding: 4vw; + border-radius: 2px; + background: url("../img/background-letter.jpg"); + background-size: cover; } - -.col { +#logo { display: flex; - flex-direction: column; - align-items: left; - padding: 20px; - margin: 50px 0px; - width: 50%; - justify-content: top; + justify-content: center; + height: 220px; } -.col-left { - border-right: 1px solid black; - padding-right: 5vw; -} - -.col-right { - padding-left: 5vw; -} - -.activite-temps { +#timer { font-size: 40px; color: red; text-align: center; } +#spacer { + padding: 1px; + margin: 30px 0 30px 0; + background-color: #00000054; +} + +.row-section { + display: flex; + flex-direction: row; +} + +.column-section { + display: flex; + flex-direction: column; + flex-shrink: 1; + flex-basis: fit-content; + padding: 2vw +} + +#prank-button { + display: flex; + flex-direction: column; + align-items: center; + padding: 30px 0 30px 0; + background: none; +} +#prank-button > span { + font-size: 25px; +} +#prank-button:hover{ + background: url("../img/circle-hand.png"); + background-size: 100% 100%; +} + +#underline { + width: 350px; + height: 25px; +} + +#login-page { + position: fixed; + display: none; + flex-direction: column; + width: 400px; + height: 400px; +} + +.login-input { + +} + +@media screen and (max-width: 800px) { + #container { + padding: 2vw; + } +} + @media screen and (max-width: 600px) { - .bg-full { - display: none; - } - .container { - margin: 0px; - width: 100%; - border-radius: 0px; - box-shadow: none; - } - body { - margin: 0px; - } - .logo>img { - height: 150px; - margin-left: calc(50% - 75px); - } - .row { - flex-direction: column; - } - - .col { - width: 100%; - margin: 10px 0px; - } - - .col-left { - border: none; - } - h1 { font-size: 40px; } + #wrapper{ + background: none; + } + #container { + margin: 0px; + width: 100%; + top: 0; + border-radius: 0px; + box-shadow: none; + } + #logo { + height: 150px; + } + .row-section { + flex-direction: column; + } } diff --git a/static/index.html b/static/index.html index 9dbbb1a..d4b58dc 100644 --- a/static/index.html +++ b/static/index.html @@ -31,85 +31,66 @@ -
-
-
- -