From fd159746d98693b65f1c5691506c13522e58832d Mon Sep 17 00:00:00 2001 From: mattkrebs1974 Date: Fri, 14 Feb 2020 12:11:20 -0500 Subject: [PATCH 1/9] smarter header looks better --- assets/app.css | 8 ++++---- assets/css/app.css | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/app.css b/assets/app.css index 8de41ea..0322201 100644 --- a/assets/app.css +++ b/assets/app.css @@ -1,5 +1,5 @@ .team-selection { - +font-size:120% !important; display:inline-block; height:120px; width:220px; @@ -32,7 +32,6 @@ header{ } header section{ - font-size: 250%; max-width:80%; color:white; background:rgba(0,0,0,1); @@ -50,6 +49,7 @@ header section{ top:0px; left:0px; + } #hero1{ @@ -82,7 +82,7 @@ header section{ .copy{ position:absolute; - top:61%; + top:55%; height:10em; margin-top:-5em; width:100%; @@ -99,7 +99,7 @@ header section{ h1{ margin:0px; font-family: 'Roboto Slab', serif; - font-weight:400; + font: weight 400; font-size:32px; padding:0px 20px; } diff --git a/assets/css/app.css b/assets/css/app.css index d275f29..9504b29 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -31,7 +31,7 @@ header{ } header section{ - font-size: 250%; + font-size: 120%; max-width:80%; color:white; background:rgba(0,0,0,1); From 15d4429e3cada3652a1e67d679d77f9727579756 Mon Sep 17 00:00:00 2001 From: Tim-Shaffer Date: Fri, 14 Feb 2020 12:16:03 -0500 Subject: [PATCH 2/9] corrected css location in assets and call within index.html --- assets/app.css | 176 --------------------------------------------- assets/css/app.css | 11 ++- index.html | 8 +-- 3 files changed, 12 insertions(+), 183 deletions(-) delete mode 100644 assets/app.css diff --git a/assets/app.css b/assets/app.css deleted file mode 100644 index 8de41ea..0000000 --- a/assets/app.css +++ /dev/null @@ -1,176 +0,0 @@ -.team-selection { - -display:inline-block; -height:120px; -width:220px; -border:1px solid #ccc; -font:16px/26px Georgia, Garamond, Serif; -overflow:auto; -text-align:left; -} - -@import "compass/css3"; - -html, body{ - margin:0px; padding:0px; -} - -*, *:after, *:before { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -header{ - text-align: Center; - z-index: 1; - position:fixed; - width:100%; - height: inherit; - background:rgba(#fff); - -} - -header section{ - font-size: 250%; - max-width:80%; - color:white; - background:rgba(0,0,0,1); - display:inline-block; - padding:10px 30px; - height: auto; - line-height: inherit; - text-align:center; - font-family: 'Roboto Slab', serif; - text-decoration:none; - text-transform:uppercase; - letter-spacing:2px; - font-weight:700; - position: relative; - top:0px; - left:0px; - - -} -#hero1{ - background:url(https://media1.giphy.com/media/kvYQSEwUPhtMCYS98k/giphy.gif?cid=790b7611968104dca6bc7153bece0a9944cf29af130d0fb1&); - background-size:cover; - background-position:center center; - background-attachment:fixed; - -} -#hero2{background: url(https://media3.giphy.com/media/6odUwsfT1xl1fuhXlM/giphy.gif?cid=790b7611c968023fd25245e5375cda7151fa544dd6b646f8&); - background-size:cover; - background-position:center center; - background-attachment:fixed; -} -.hero, .content{ - text-align:center; - position:relative; - width: 100%; -} - -.inner{ - min-height:600px; - position: relative; - -} - -.hero .inner{ - background: rgba(0,0,0,0.6) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAD0lEQVQIW2NkQABjRmQOAAM+AGkQsDBSAAAAAElFTkSuQmCC) repeat;} - - -.copy{ - position:absolute; - top:61%; - height:10em; - margin-top:-5em; - width:100%; -} - -.hero h1, .hero p{ - color:#fff; -} - -.content h1, .content p{ - color:#333; -} - -h1{ - margin:0px; - font-family: 'Roboto Slab', serif; - font-weight:400; - font-size:32px; - padding:0px 20px; -} - -p{ - font-family: 'Noto Sans', sans-serif; - font-size:14px; - padding:0px 20px; -} - - -.carousel { - background:#512DA8; -} - -.carousel-item { - height: 300px; - -} - -.carousel-item img { - position: absolute; - top: 0; - left: 0; - min-height: 300px; -} - -.carousel-caption { - - background-color:rgba(0,0,0,.3); - padding: 20px 20px 0 20px; - position:absolute; - right:0px; - left:5%; - top:30px; - height: 250px; - width: 90%; - z-index: 0; - -} - - - - - -.carousel-indicators { - -z-index: 0; - - -} - - -.carousel-control-prev { - -z-index: 0; - - -} - -.carousel-control-next { - -z-index: 0; - - -} -#logo{ -opacity: .3; - - -} - - - diff --git a/assets/css/app.css b/assets/css/app.css index d275f29..8de41ea 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -28,6 +28,7 @@ header{ width:100%; height: inherit; background:rgba(#fff); + } header section{ @@ -45,9 +46,10 @@ header section{ text-transform:uppercase; letter-spacing:2px; font-weight:700; - position:relative; + position: relative; top:0px; left:0px; + } #hero1{ @@ -55,6 +57,7 @@ header section{ background-size:cover; background-position:center center; background-attachment:fixed; + } #hero2{background: url(https://media3.giphy.com/media/6odUwsfT1xl1fuhXlM/giphy.gif?cid=790b7611c968023fd25245e5375cda7151fa544dd6b646f8&); background-size:cover; @@ -70,6 +73,7 @@ header section{ .inner{ min-height:600px; position: relative; + } .hero .inner{ @@ -162,6 +166,11 @@ z-index: 0; } +#logo{ +opacity: .3; + + +} diff --git a/index.html b/index.html index 8378ff2..8bd13b7 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,6 @@ - @@ -34,11 +33,8 @@ - - - - - + + From 68274bccb9b38e974827f92979831e869f08af78 Mon Sep 17 00:00:00 2001 From: Tim-Shaffer Date: Fri, 14 Feb 2020 12:26:07 -0500 Subject: [PATCH 3/9] added matts header section cahnges from slack --- assets/css/app.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 8de41ea..118cf85 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -32,7 +32,7 @@ header{ } header section{ - font-size: 250%; + font-size: 120%; max-width:80%; color:white; background:rgba(0,0,0,1); @@ -46,12 +46,11 @@ header section{ text-transform:uppercase; letter-spacing:2px; font-weight:700; - position: relative; + position:relative; top:0px; - left:0px; - + left:0px;} + -} #hero1{ background:url(https://media1.giphy.com/media/kvYQSEwUPhtMCYS98k/giphy.gif?cid=790b7611968104dca6bc7153bece0a9944cf29af130d0fb1&); background-size:cover; From 723394ff466d368090bfb5b02e69434094515b78 Mon Sep 17 00:00:00 2001 From: mattkrebs1974 Date: Fri, 14 Feb 2020 15:22:50 -0500 Subject: [PATCH 4/9] positioning of the modal elements --- assets/css/app.css | 10 +++++---- assets/javascript/app.js | 5 +++++ index.html | 48 ++++++++++++++++++++++------------------ 3 files changed, 38 insertions(+), 25 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 118cf85..bfd2f09 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -7,6 +7,7 @@ border:1px solid #ccc; font:16px/26px Georgia, Garamond, Serif; overflow:auto; text-align:left; + } @import "compass/css3"; @@ -33,7 +34,7 @@ header{ header section{ font-size: 120%; - max-width:80%; + max-width:100%; color:white; background:rgba(0,0,0,1); display:inline-block; @@ -48,7 +49,8 @@ header section{ font-weight:700; position:relative; top:0px; - left:0px;} + left:0px; +} #hero1{ @@ -76,7 +78,7 @@ header section{ } .hero .inner{ - background: rgba(0,0,0,0.6) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAD0lEQVQIW2NkQABjRmQOAAM+AGkQsDBSAAAAAElFTkSuQmCC) repeat;} + background: rgba(0,0,0,.6) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAD0lEQVQIW2NkQABjRmQOAAM+AGkQsDBSAAAAAElFTkSuQmCC) repeat;} .copy{ @@ -166,7 +168,7 @@ z-index: 0; } #logo{ -opacity: .3; +opacity: 1; } diff --git a/assets/javascript/app.js b/assets/javascript/app.js index 271ca37..9268c5a 100644 --- a/assets/javascript/app.js +++ b/assets/javascript/app.js @@ -404,6 +404,11 @@ function setBackgroundColorNHL(team) { if (team === nhlArray[j]) { $('#logo').attr('style', 'background:' + primaryColorNHL + ';color:' + secondaryColorNHL + ';"'); } + $("#modalHeading").attr('style', 'background:' + primaryColorNHL + ';color:' + secondaryColorNHL + ';"'); + + + + }; }; diff --git a/index.html b/index.html index 8bd13b7..d1a97a1 100644 --- a/index.html +++ b/index.html @@ -44,25 +44,26 @@