diff --git a/static/css/quiz.css b/static/css/quiz.css index b544fc6..82ccb57 100644 --- a/static/css/quiz.css +++ b/static/css/quiz.css @@ -16,11 +16,14 @@ body { } body { - background-color: #000000; user-select: none; margin: 0; padding: 0; counter-reset: points; + background-color: #77aa77; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 2 1'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%2377aa77'/%3E%3Cstop offset='1' stop-color='%234fd'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='2' y2='2'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='2' height='1'/%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23b)' points='0 1 0 0 2 0'/%3E%3Cpolygon fill='url(%23c)' points='2 1 2 0 0 0'/%3E%3C/g%3E%3C/svg%3E"); + background-attachment: fixed; + background-size: cover; } a { @@ -29,7 +32,7 @@ a { } section { - padding-top: 80px; + padding-top: 150px; overflow-y: hidden; } @@ -43,7 +46,7 @@ main { padding: 50px 20px 50px; width: 95%; max-width: 500px; - margin: 0 auto 214px; + margin: auto; } .text-container { diff --git a/static/css/style.css b/static/css/style.css index 70bb15a..bc6eb58 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -5,10 +5,14 @@ body { width: 100%; align-items: center; justify-content: center; + background-color: #77aa77; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 2 1'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%2377aa77'/%3E%3Cstop offset='1' stop-color='%234fd'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='2' y2='2'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='2' height='1'/%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23b)' points='0 1 0 0 2 0'/%3E%3Cpolygon fill='url(%23c)' points='2 1 2 0 0 0'/%3E%3C/g%3E%3C/svg%3E"); + background-attachment: fixed; + background-size: cover; } .card { border-radius: 10px; - margin-top: 40px !important; + margin-top: 100px !important; height: 500px !important; width: 400px; } diff --git a/templates/index.html b/templates/index.html index 8f20f5b..ef2794a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,7 +21,7 @@ role="navigation" aria-label="main navigation" > -