diff --git a/css/style.css b/css/style.css index f8a89bd..8eec7af 100644 --- a/css/style.css +++ b/css/style.css @@ -5,8 +5,17 @@ Grey #EDF0F1 /* Structure -----------------------------------------------------*/ +html{ + background: url("../images/background.jpg"); + background-repeat: no-repeat; + background-position: center; + background-attachment: fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; +} body{ - background-color: #000; margin: 0; color: #FFF; font-family: 'Aref Ruqaa'; @@ -20,7 +29,7 @@ body{ min-width: 300px; } .content-box{ - background-color: #EDF0F1; + background-color: rgba(237, 240, 241, 0.8); /*min-height: 182px;*/ color: #000; padding: 2em 1em; @@ -57,6 +66,7 @@ fieldset{ border: none; } #progress-container{ + display: none; position: relative; } progress { @@ -69,7 +79,7 @@ progress { display: block; } progress::-webkit-progress-bar { - background-color: #000; + background-color: transparent; border-radius: 5px; } progress::-webkit-progress-value { @@ -119,7 +129,7 @@ progress::-moz-progress-bar { /* Buttons -----------------------------------------------------*/ button{ - background-color: #1ABC9C; + background-color: rgba(80, 190, 155, 0.9); color: #FFF; font-size: .9em; padding: 1.2em; @@ -138,16 +148,10 @@ button:focus{ float: none; margin-left: 0; } -/*#prev{ - float: left; -}*/ -/*#next{ - float: right; -}*/ .btn-pag{ float: left; margin-right: .4em; - background-color: #000; + background-color: transparent; border: 1px solid #1ABC9C; } .btn-pag-invalid{ @@ -156,13 +160,17 @@ button:focus{ #btn-instructions{ float: left; } +#calculate-score:hover{ + background-color: rgba(80, 190, 155, 0.6); +} /* Error / success messages -----------------------------------------------------*/ #signup-error-message{ color: #FF0000; } -#error-message{ +#error-message, +#error-message-pb{ color: #FFFFFF; margin-bottom: 30px; } @@ -190,11 +198,11 @@ button:focus{ display: inherit; } .red{ - background-color: #000000; + background-color: transparent; border: 1px solid #FF0000; } .teal{ - background-color: #1ABC9C; + background-color: rgba(80, 190, 155, 0.8); } /* Fade in animation @@ -333,3 +341,22 @@ button:focus{ .fa { margin-right: 10px; } + +/* Media Queries +-----------------------------------------------------*/ +@media only screen and (max-width: 768px) { + #progress-container, + #error-message-pb { + display: block; + } + .progress-circles { + display: none; + } + #calculate-score { + float: left; + clear: left; + } + #next{ + float: right; + } +} diff --git a/images/background.jpg b/images/background.jpg new file mode 100644 index 0000000..31b194c Binary files /dev/null and b/images/background.jpg differ diff --git a/index.html b/index.html index 6e8b1c0..7e33c08 100644 --- a/index.html +++ b/index.html @@ -39,22 +39,24 @@