diff --git a/misc/www/css/custom.css b/misc/www/css/custom.css index 8e8d739dd1..cb883e38bc 100644 --- a/misc/www/css/custom.css +++ b/misc/www/css/custom.css @@ -1,3 +1,7 @@ +html { + scroll-behavior: smooth; +} + .container { max-width: 800px; overflow-y: hidden; @@ -8,7 +12,9 @@ background-attachment:fixed; background-size: cover; background-repeat: no-repeat; - padding-top: 6rem; + /* padding-top: 6rem; */ + padding-top: 40vh; + height: 60vh; text-align: center; } .value-prop { margin-top: 1rem; } @@ -212,12 +218,90 @@ list-style: none; } + .arrow { + position: absolute; + padding-top: 85vh; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + } + .arrow span { + display: block; + width: 20px; + height: 20px; + border-bottom: 2px solid #a5a5a5; + border-right: 2px solid #a5a5a5; + transform: rotate(45deg); + margin: -10px; + animation: animate 2s infinite; + } + .arrow span:nth-child(2) { + animation-delay: -0.2s; + } + .arrow span:nth-child(3) { + animation-delay: -0.4s; + } + @keyframes animate { + 0%{ + opacity: 0; + transform: rotate(45deg) translate(-20px,-20px); + } + 50%{ + opacity: 1; + } + 100%{ + opacity: 0; + transform: rotate(45deg) translate(20px,20px); + } + } + + .mre { + display: table; + background-image: linear-gradient( 180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),url('../images/site/mre_bg.jpg'); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + } + + .mre-left { + position: relative; + width: 50%; + height: 100%; + align-items: center; + z-index: 1; + display: table-cell; + display: none; + vertical-align: middle; + } + + .mre-right { + position: relative; + width: 50%; + height: 100%; + background-color: #252a2b; + z-index: 1; + color: #ffffff; + display: table-cell; + vertical-align: middle; + } + + .mre-content { + padding: 20%; + text-align: left; + vertical-align: middle; + font-size: 1.3rem; + } + + .mre-content h2 { + font-size: 2rem; + } + .glossary { font-style: italic; margin-left: 2rem; } .footer { - background-color: #222; + background-color: #252a2b; padding-top: 2rem; padding-bottom: 1rem; text-align: center; @@ -256,7 +340,9 @@ .header { /* margin-top: 18rem; */ - padding-top: 18rem;} + /* padding-top: 18rem; */ + /* padding-top: 40vh; */ + } .value-props { margin-top: 9rem; margin-bottom: 7rem; } @@ -279,7 +365,7 @@ } /* Larger than tablet */ - @media (min-width: 750px) { + @media (min-width: 1024px) { .container { overflow-y: visible; } @@ -414,6 +500,9 @@ .popover-link:hover, .popover-item:first-child .popover-link:hover:after { border-bottom-color: #f15a24; } + .mre-left { + display: table-cell; + } } diff --git a/misc/www/css/skeleton.css b/misc/www/css/skeleton.css index 6869d7330c..1a0e4aefa1 100644 --- a/misc/www/css/skeleton.css +++ b/misc/www/css/skeleton.css @@ -183,7 +183,7 @@ input[type="button"] { text-decoration: none; white-space: nowrap; background-color: transparent; - border-radius: 4px; + border-radius: 1px; border: 1px solid #bbb; cursor: pointer; box-sizing: border-box; } @@ -222,6 +222,28 @@ input[type="button"].button-primary:focus { background-color: #1EAEDB; border-color: #1EAEDB; } + .button.button-white, + button.button-white, + input[type="submit"].button-white, + input[type="reset"].button-white, + input[type="button"].button-white { + color: #FFF; + /* background-color: #33C3F0; */ + border-color: #ffffff; } + .button.button-white:hover, + button.button-white:hover, + input[type="submit"].button-white:hover, + input[type="reset"].button-white:hover, + input[type="button"].button-white:hover, + .button.button-white:focus, + button.button-white:focus, + input[type="submit"].button-white:focus, + input[type="reset"].button-white:focus, + input[type="button"].button-white:focus { + color: #252a2b; + background-color: #ffffff; + border-color: #ffffff; } + /* Forms –––––––––––––––––––––––––––––––––––––––––––––––––– */ diff --git a/misc/www/images/site/mre_bg.jpg b/misc/www/images/site/mre_bg.jpg new file mode 100644 index 0000000000..ab9711da3c Binary files /dev/null and b/misc/www/images/site/mre_bg.jpg differ diff --git a/misc/www/images/site/mre_ecu.png b/misc/www/images/site/mre_ecu.png new file mode 100644 index 0000000000..bed66ff599 Binary files /dev/null and b/misc/www/images/site/mre_ecu.png differ diff --git a/misc/www/images/site/mre_logo.png b/misc/www/images/site/mre_logo.png new file mode 100644 index 0000000000..8dbdc1e7ba Binary files /dev/null and b/misc/www/images/site/mre_logo.png differ diff --git a/misc/www/index.html b/misc/www/index.html index 82d3bea095..f61e0e1de7 100644 --- a/misc/www/index.html +++ b/misc/www/index.html @@ -28,6 +28,7 @@ + -
+