diff --git a/css/style.css b/css/style.css index d419ac9..fc700f8 100644 --- a/css/style.css +++ b/css/style.css @@ -4,33 +4,33 @@ /* palanquin-regular - latin */ @font-face { - font-family: 'Palanquin'; - font-style: normal; - font-weight: 400; - src: local('Palanquin Regular'), local('Palanquin-Regular'), - url('../fonts/palanquin-v4-latin-regular.woff2') format('woff2'), - url('../fonts/palanquin-v4-latin-regular.woff') format('woff'); + font-family: 'Palanquin'; + font-style: normal; + font-weight: 400; + src: local('Palanquin Regular'), local('Palanquin-Regular'), + url('../fonts/palanquin-v4-latin-regular.woff2') format('woff2'), + url('../fonts/palanquin-v4-latin-regular.woff') format('woff'); } /* palanquin-600 - latin */ @font-face { - font-family: 'Palanquin'; - font-style: normal; - font-weight: 600; - src: local('Palanquin SemiBold'), local('Palanquin-SemiBold'), - url('../fonts/palanquin-v4-latin-600.woff2') format('woff2'), - url('../fonts/palanquin-v4-latin-600.woff') format('woff'); + font-family: 'Palanquin'; + font-style: normal; + font-weight: 600; + src: local('Palanquin SemiBold'), local('Palanquin-SemiBold'), + url('../fonts/palanquin-v4-latin-600.woff2') format('woff2'), + url('../fonts/palanquin-v4-latin-600.woff') format('woff'); } /* oleo-script-regular - latin */ @font-face { - font-family: 'Oleo Script'; - font-style: normal; - font-weight: 400; - src: local('Oleo Script'), local('OleoScript-Regular'), - url('../fonts/oleo-script-v7-latin-regular.woff2') format('woff2'), - url('../fonts/oleo-script-v7-latin-regular.woff') format('woff'); + font-family: 'Oleo Script'; + font-style: normal; + font-weight: 400; + src: local('Oleo Script'), local('OleoScript-Regular'), + url('../fonts/oleo-script-v7-latin-regular.woff2') format('woff2'), + url('../fonts/oleo-script-v7-latin-regular.woff') format('woff'); } @@ -42,27 +42,27 @@ /*--------------------------------------------------------*/ * { - box-sizing: border-box; - padding: 0; - margin: 0; + box-sizing: border-box; + padding: 0; + margin: 0; } html, body { - font-family: "Palanquin", sans-serif; - font-weight: 400; - color: #000000; - font-size: 18px; + font-family: "Palanquin", sans-serif; + font-weight: 400; + color: #000000; + font-size: 18px; } body { - background-color: #FFFFFF; + background-color: #FFFFFF; } a, a:hover, a:active, a:visited { - text-decoration: none; + text-decoration: none; } @@ -70,9 +70,9 @@ a:visited { @media only screen and (max-width: 480px) { - html { - font-size: 16px; - } + html { + font-size: 16px; + } } @@ -84,47 +84,47 @@ a:visited { /*--------------------------------------------------------*/ #main-header { - height: 460px; + height: 460px; - position: relative; + position: relative; - background: #FFFFFF; + background: #FFFFFF; } #main-header-background { - height: 100%; - width: 100%; + height: 100%; + width: 100%; - background-image: url("../img/header/background-1080.jpg"); - background-size: cover; - background-repeat: no-repeat; + background-image: url("../img/header/background-1080.jpg"); + background-size: cover; + background-repeat: no-repeat; - z-index: 500; + z-index: 500; } #main-header-title { - height: 80%; - width: 80%; + height: 80%; + width: 80%; - position: absolute; - top: 30px; - left: 10%; + position: absolute; + top: 30px; + left: 10%; - z-index: 1000; + z-index: 1000; } /*--------------------------------------------------------*/ @media only screen and (max-width: 800px) { - #main-header { - background-image: url("../img/header/background-800.jpg"); - } + #main-header { + background-image: url("../img/header/background-800.jpg"); + } } @media only screen and (max-width: 480px) { - #main-header { - background-image: url("../img/header/background-480.jpg"); - } + #main-header { + background-image: url("../img/header/background-480.jpg"); + } } /*--------------------------------------------------------*/ @@ -132,123 +132,123 @@ a:visited { /*--------------------------------------------------------*/ section { - max-width: 960px; + max-width: 960px; - margin: 0 0 100px calc(50% - 480px); - padding: 0 60px; + margin: 0 0 100px calc(50% - 480px); + padding: 0 60px; - text-align: justify; - line-height: 180%; + text-align: justify; + line-height: 180%; } section h2 { - margin: 0 0 25px 0; - padding: 20px 0; + margin: 0 0 25px 0; + padding: 20px 0; - border-bottom-width: 5px; - border-bottom-style: solid; + border-bottom-width: 5px; + border-bottom-style: solid; - color: #FFFFFF; - font-family: "Oleo script", sans-serif; - font-size: 4rem; - font-weight: 400; - text-align: center; - word-wrap: break-word; - hyphens: none; + color: #FFFFFF; + font-family: "Oleo script", sans-serif; + font-size: 4rem; + font-weight: 400; + text-align: center; + word-wrap: break-word; + hyphens: none; } section p { - padding: 0 0 20px 0; - font-size: 1rem; + padding: 0 0 20px 0; + font-size: 1rem; } section strong { - font-weight: 600; + font-weight: 600; } section p.stand-out { - font-style: italic; - text-align: center; + font-style: italic; + text-align: center; } section .underline-links a:hover, section .underline-links a:active { - text-decoration: underline; + text-decoration: underline; } /* Colors */ section.red h2 { - color: #EA6C61; - border-bottom-color: #f7cbc0; + color: #EA6C61; + border-bottom-color: #f7cbc0; } section.orange h2 { - color: #e6a04f; - border-bottom-color: #f8dfc2; + color: #e6a04f; + border-bottom-color: #f8dfc2; } section.green h2 { - color: #5fb574; - border-bottom-color: #cae2cb; + color: #5fb574; + border-bottom-color: #cae2cb; } section.blue h2 { - color: #2896ce; - border-bottom-color: #bcd4ec; + color: #2896ce; + border-bottom-color: #bcd4ec; } section.purple h2 { - color: #9e60ce; - border-bottom-color: #d8bfeb; + color: #9e60ce; + border-bottom-color: #d8bfeb; } section.pink h2 { - color: #e4678c; - border-bottom-color: #f3cad2; + color: #e4678c; + border-bottom-color: #f3cad2; } section.red a, section.red a:hover, section.red a:active, section.red a:visited { - color: #EA6C61; + color: #EA6C61; } section.orange a, section.orange a:hover, section.orange a:active, section.orange a:visited { - color: #e6a04f; + color: #e6a04f; } section.green a, section.green a:hover, section.green a:active, section.green a:visited { - color: #5fb574; + color: #5fb574; } section.blue a, section.blue a:hover, section.blue a:active, section.blue a:visited { - color: #2896ce; + color: #2896ce; } section.purple a, section.purple a:hover, section.purple a:active, section.purple a:visited { - color: #9e60ce; + color: #9e60ce; } section.pink a, section.pink a:hover, section.pink a:active, section.pink a:visited { - color: #e4678c; + color: #e4678c; } @@ -256,36 +256,36 @@ section.pink a:visited { @media only screen and (max-width: 880px) { - section { - width: 100%; + section { + width: 100%; - margin: 0 auto 100px auto; - padding: 0 60px; - } + margin: 0 auto 100px auto; + padding: 0 60px; + } - section h2 { - padding: 15px 0; + section h2 { + padding: 15px 0; - border-bottom-width: 4px; + border-bottom-width: 4px; - font-size: 3rem; - } + font-size: 3rem; + } } @media only screen and (max-width: 480px) { - section { - padding: 0 30px; + section { + padding: 0 30px; - line-height: 150%; - } + line-height: 150%; + } } @media only screen and (max-width: 360px) { - section h2 { - padding: 5px 0; + section h2 { + padding: 5px 0; - font-size: 2.2rem; - } + font-size: 2.2rem; + } } @@ -294,52 +294,52 @@ section.pink a:visited { /*--------------------------------------------------------*/ .button { - display: block; - width: 80%; + display: block; + width: 80%; - margin: 20px auto 0 auto; - padding: 15px 0; + margin: 20px auto 0 auto; + padding: 15px 0; - border-width: 2px; - border-style: solid; + border-width: 2px; + border-style: solid; - font-size: 1.4rem; - font-weight: 700; - text-transform: uppercase; - text-align: center; + font-size: 1.4rem; + font-weight: 700; + text-transform: uppercase; + text-align: center; - line-height: 32px; + line-height: 32px; } section.red .button { - background-color: #fbe5df; - border-color: #EA6C61; - color: #EA6C61; + background-color: #fbe5df; + border-color: #EA6C61; + color: #EA6C61; } section.orange .button { - background-color: #fbefe0; - border-color: #d78d38; - color: #d78d38; + background-color: #fbefe0; + border-color: #d78d38; + color: #d78d38; } section.red .button:hover { - background-color: #f7cbc0; + background-color: #f7cbc0; } section.orange .button:hover { - background-color: #f8dfc2; + background-color: #f8dfc2; } .button img { - height: 32px; - width: 32px; + height: 32px; + width: 32px; - margin: 0 5px; + margin: 0 5px; } .button > * { - vertical-align: middle; + vertical-align: middle; } @@ -347,20 +347,20 @@ section.orange .button:hover { @media only screen and (max-width: 480px) { - .button { - width: 100%; + .button { + width: 100%; - padding: 10px 15px; + padding: 10px 15px; - font-size: 1.1rem; + font-size: 1.1rem; - line-height: 24px; - } + line-height: 24px; + } - .button img { - height: 24px; - width: 24px; - } + .button img { + height: 24px; + width: 24px; + } } @@ -372,104 +372,104 @@ section.orange .button:hover { /*--------------------------------------------------------*/ #mailing-address { - font-size: 1.5rem; + font-size: 1.5rem; - text-align: center; - line-height: 32px; - vertical-align: middle; + text-align: center; + line-height: 32px; + vertical-align: middle; } #mailing-address img { - width: 32px; - height: 32px; + width: 32px; + height: 32px; - vertical-align: middle; + vertical-align: middle; } #interactive-map { - width: 100%; + width: 100%; - margin: 20px 0; + margin: 20px 0; - border: none; - border-radius: 10px; + border: none; + border-radius: 10px; } #public-transport-info { - display: grid; - grid-template-columns: 1fr 1fr 1fr 1fr; - grid-template-rows: 1fr 1fr 1fr; + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; + grid-template-rows: 1fr 1fr 1fr; - margin: 0 0 0 -100px; - - font-size: 1.5rem; - font-weight: 400; + margin: 0 0 0 -100px; + + font-size: 1.5rem; + font-weight: 400; - line-height: 48px; - vertical-align: middle; - white-space: nowrap; + line-height: 48px; + vertical-align: middle; + white-space: nowrap; } #public-transport-info > * { - margin: 5px; + margin: 5px; - justify-self: left; + justify-self: left; } #public-transport-info img { - width: 48px; - height: 48px; + width: 48px; + height: 48px; - margin: 0 5px 0 0; + margin: 0 5px 0 0; - vertical-align: bottom; + vertical-align: bottom; } #transport-metro-icon, #transport-metro-stop, #transport-bus-1-icon, #transport-bus-1-stop { - grid-row: 1; + grid-row: 1; } #transport-rer-icon, #transport-rer-stop, #transport-bus-2-icon, #transport-bus-2-stop { - grid-row: 2; + grid-row: 2; } #transport-noctilien-icon, #transport-noctilien-stop { - grid-row: 3; + grid-row: 3; } #transport-metro-icon, #transport-rer-icon { - grid-column: 1; - justify-self: end; + grid-column: 1; + justify-self: end; } #transport-metro-stop, #transport-rer-stop { - grid-column: 2; + grid-column: 2; } #transport-bus-1-icon, #transport-bus-2-icon, #transport-noctilien-icon { - grid-column: 3; - justify-self: end; + grid-column: 3; + justify-self: end; } #transport-bus-1-stop, #transport-bus-2-stop, #transport-noctilien-stop { - grid-column: 4; + grid-column: 4; } @@ -477,83 +477,83 @@ section.orange .button:hover { @media only screen and (max-width: 880px) { - #public-transport-info { - display: grid; - grid-template-columns: 1fr 1fr; - grid-template-rows: 1fr 1fr 1fr 1fr 1fr; - align-items: center; + #public-transport-info { + display: grid; + grid-template-columns: 1fr 1fr; + grid-template-rows: 1fr 1fr 1fr 1fr 1fr; + align-items: center; - margin: 0; + margin: 0; - line-height: 48px; - } + line-height: 48px; + } - #transport-metro-icon, - #transport-metro-stop { - grid-row: 1; - } + #transport-metro-icon, + #transport-metro-stop { + grid-row: 1; + } - #transport-rer-icon, - #transport-rer-stop { - grid-row: 2; - } + #transport-rer-icon, + #transport-rer-stop { + grid-row: 2; + } - #transport-bus-1-icon, - #transport-bus-1-stop { - grid-row: 3; - } + #transport-bus-1-icon, + #transport-bus-1-stop { + grid-row: 3; + } - #transport-bus-2-icon, - #transport-bus-2-stop { - grid-row: 4; - } + #transport-bus-2-icon, + #transport-bus-2-stop { + grid-row: 4; + } - #transport-noctilien-icon, - #transport-noctilien-stop { - grid-row: 5; - } + #transport-noctilien-icon, + #transport-noctilien-stop { + grid-row: 5; + } - #transport-metro-icon, - #transport-rer-icon, - #transport-bus-1-icon, - #transport-bus-2-icon, - #transport-noctilien-icon { - grid-column: 1; - justify-self: end; + #transport-metro-icon, + #transport-rer-icon, + #transport-bus-1-icon, + #transport-bus-2-icon, + #transport-noctilien-icon { + grid-column: 1; + justify-self: end; - } + } - #transport-metro-stop, - #transport-rer-stop, - #transport-bus-1-stop, - #transport-bus-2-stop, - #transport-noctilien-stop { - grid-column: 2; - } + #transport-metro-stop, + #transport-rer-stop, + #transport-bus-1-stop, + #transport-bus-2-stop, + #transport-noctilien-stop { + grid-column: 2; + } } @media only screen and (max-width: 580px) { - #mailing-address { - font-size: 1.1rem; - } + #mailing-address { + font-size: 1.1rem; + } - #public-transport-info { - grid-template-columns: 4fr 6fr; + #public-transport-info { + grid-template-columns: 4fr 6fr; - line-height: 32px; - font-size: 1.1rem; - } + line-height: 32px; + font-size: 1.1rem; + } - #public-transport-info img { - width: 32px; - height: 32px; - } + #public-transport-info img { + width: 32px; + height: 32px; + } } @media only screen and (max-width: 380px) { - #public-transport-info img { - display: block; - } + #public-transport-info img { + display: block; + } } @@ -565,30 +565,30 @@ section.orange .button:hover { /*--------------------------------------------------------*/ .sponsor-logo-container { - text-align: center; + text-align: center; } .sponsor-logo-container img { - height: 100px; - object-fit: cover; + height: 100px; + object-fit: cover; - margin: 20px; + margin: 20px; } /*--------------------------------------------------------*/ @media only screen and (max-width: 880px) { - .sponsor-logo-container img { - display: block; - - margin: 10px auto; - } + .sponsor-logo-container img { + display: block; + + margin: 10px auto; + } } @media only screen and (max-width: 480px) { - .sponsor-logo-container img { - height: 80px; - } + .sponsor-logo-container img { + height: 80px; + } } @@ -600,37 +600,37 @@ section.orange .button:hover { /*--------------------------------------------------------*/ #contact-email { - font-family: monospace; - font-size: 1.5rem; - text-align: center; - word-wrap: break-word; + font-family: monospace; + font-size: 1.5rem; + text-align: center; + word-wrap: break-word; } #contact-email img { - width: 32px; - height: 32px; + width: 32px; + height: 32px; - vertical-align: bottom; + vertical-align: bottom; } /*--------------------------------------------------------*/ @media only screen and (max-width: 880px) { - #contact-email { - font-size: 1.2rem; - } + #contact-email { + font-size: 1.2rem; + } } @media only screen and (max-width: 480px) { - #contact-email { - font-size: 1rem; - } + #contact-email { + font-size: 1rem; + } - #contact-email img { - display: none; - } + #contact-email img { + display: none; + } } @@ -643,22 +643,22 @@ section.orange .button:hover { /*--------------------------------------------------------*/ #acknowledgements { - text-align: center; - line-height: 1.1rem; + text-align: center; + line-height: 1.1rem; } #acknowledgements > span { - display: block; + display: block; } #acknowledgements .name { - font-weight: 700; + font-weight: 700; } #acknowledgements .role { - margin: 0 0 20px 0; + margin: 0 0 20px 0; - color: #6B6666; + color: #6B6666; } @@ -671,107 +671,107 @@ section.orange .button:hover { /*--------------------------------------------------------*/ #events-toc { - margin: 0; - padding: 0; + margin: 0; + padding: 0; - list-style-type: none; + list-style-type: none; } .event { - display: grid; - grid-template-columns: 1fr 4fr; - grid-template-rows: 1.5rem 1rem 1fr; + display: grid; + grid-template-columns: 1fr 4fr; + grid-template-rows: 1.5rem 1rem 1fr; } .event-title { - grid-row: 1; - grid-column: 2; + grid-row: 1; + grid-column: 2; - font-size: 1.3rem; + font-size: 1.3rem; } .event-time { - grid-row: 1; - grid-column: 1; - justify-self: end; + grid-row: 1; + grid-column: 1; + justify-self: end; - margin: 0 20px 0 0; + margin: 0 20px 0 0; - font-size: 1.3rem; + font-size: 1.3rem; } .event-time .start, .event-time .end { - float: left; + float: left; } .event-time .start::after { - content: "–"; + content: "–"; } .event-location { - grid-row: 2; - grid-column: 2; + grid-row: 2; + grid-column: 2; - font-style: italic; + font-style: italic; } .event-description { - grid-row: 3; - grid-column: 2; + grid-row: 3; + grid-column: 2; - margin: 0 0 10px 0; - padding: 20px 0; - line-height: 150%; + margin: 0 0 10px 0; + padding: 20px 0; + line-height: 150%; } /*--------------------------------------------------------*/ @media only screen and (max-width: 750px) { - .event { - grid-template-columns: 1fr 3fr; - } + .event { + grid-template-columns: 1fr 3fr; + } } @media only screen and (max-width: 650px) { - .event { - grid-template-columns: 2fr 5fr; - } + .event { + grid-template-columns: 2fr 5fr; + } - #events-toc { - line-height: 250%; - } + #events-toc { + line-height: 250%; + } } @media only screen and (max-width: 550px) { - .event { - grid-template-columns: 1fr 2fr; - } + .event { + grid-template-columns: 1fr 2fr; + } } @media only screen and (max-width: 480px) { - .event { - grid-template-rows: 2rem 1.5rem 1rem 1fr; - grid-template-columns: 1fr; - } + .event { + grid-template-rows: 2rem auto auto 1fr; + grid-template-columns: 1fr; + } - .event-time { - grid-row: 1; - justify-self: start; - } + .event-time { + grid-row: 1; + justify-self: start; + } - .event-title { - grid-row: 2; - grid-column: 1; - } + .event-title { + grid-row: 2; + grid-column: 1; + } - .event-location { - grid-row: 3; - grid-column: 1; - } + .event-location { + grid-row: 3; + grid-column: 1; + } - .event-description { - grid-row: 4; - grid-column: 1; - } -} \ No newline at end of file + .event-description { + grid-row: 4; + grid-column: 1; + } +}