// PDS Website CSS /* Colour Palettes https://coolors.co/afd2e9-3b3355-5d5d81-deefb7-6ca6c1 Logo Font Raleway 300, 500 */ // Variables @HeaderHeight: 70px; @FooterHeight: 70px; @HeaderBackgroundColour: #EFF6FB; @LightBackgroundColour: #FFFFFF; @ContrastingBackgroundColour: #f5f5f5; @DarkBackgroundColour: #244656; @FooterBackgroundColour: #383838; @HighlightColour1: #5D5D81; @HighlightColour2: #3B3355; @HighlightColour3: #6CA6C1; @BaseFont: 400 16px 'Open Sans', sans-serif; @HeadingFont: 600 16px 'Montserrat', sans-serif; @LogoTextColour: #244656; @TextColourOnLightBackground: #3c3c3c; @TextColourOnContrastingBackground: #3c3c3c; @TextColourOnDarkBackground: @ContrastingBackgroundColour; // Common Styles html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow-x: hidden; } html { min-height: 100%; background-image: url(/images/Feature1-500.jpg?v=1.1); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-size: cover; font: @BaseFont; } @media screen and (min-width: 500px) { html { background-image: url(/images/Feature1-1000.jpg?v=1.1); } } @media screen and (min-width: 1000px) { html { background-image: url(/images/Feature1-1500.jpg?v=1.1); } } @media screen and (min-width: 1500px) { html { background-image: url(/images/Feature1-1920.jpg?v=1); } } h1, h2, h3 { font: @HeadingFont; color: @HighlightColour1; margin: 0px; padding: 0px; } h1 { font-weight: 500; font-size: calc(1.5rem + 0.1vh); } h2 { font-size: calc(1.3rem + 0.1vh); margin-bottom: 6px; } a { text-decoration: none; } a:hover { text-decoration: underline; } p { padding: 0px 0px 12px 0px; margin: 0px; } p:last-child { padding: 0px; margin: 0px; } ul { padding: 0px 0px 12px 30px; margin: 0px; } .Section { width: 100%; padding-top: calc(16px + 1.5625vw); padding-bottom: calc(12px + 1.5625vw); text-align: center; } .LightBackground { background-color: @LightBackgroundColour; color: @TextColourOnLightBackground; } .ContrastingBackground { background-color: @ContrastingBackgroundColour; color: @TextColourOnContrastingBackground; } .DarkBackground { background-color: @DarkBackgroundColour; color: @TextColourOnDarkBackground; a { color: @TextColourOnDarkBackground; } h1, h2, h3 { color: @TextColourOnDarkBackground; } } .Quotations { background-color: @HighlightColour1; color: @TextColourOnDarkBackground; } .ContentBoxContainer { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; } .ContentBox { padding: calc(8px + 1.5625vw); width: calc(350px + 0.7vw); text-align: left; } .ContentIntroBox { width: 90%; max-width: 800px; padding: calc(8px + 1.5625vw); margin-left: auto; margin-right: auto; text-align: left; } // Navigation Styles #MenuIcon { position: absolute; right: 10px; top: calc((@HeaderHeight - 48px) / 2); cursor: pointer; } #Menu { background-color: @HeaderBackgroundColour; padding: 10px; position: fixed; max-width: 90%; top: calc(@HeaderHeight + 5px); right: 5px; display: none; text-align: left; border-radius: 7px; z-index: 1000; } #Menu a { display: block; padding: 12px 12px; border-radius: 7px; color: @HighlightColour1; } #Menu a:hover { color: @TextColourOnDarkBackground; background-color: @HighlightColour1; text-decoration: none; } .SubMenu { margin-left: 6px; } .GetInTouch { color: #a7a7a7; padding: 2px 4px; border: 1px solid #a7a7a7; border-radius: 7px; text-decoration: none; } .GetInTouch:hover { color: @HighlightColour3; border-color: @HighlightColour3; text-decoration: none; } .Bookmark { position: relative; top: -100px; } // Header Styles #Header { height: @HeaderHeight; background-color: @HeaderBackgroundColour; position: fixed; width: 100%; top: 0px; } #LogoContainer { height: @HeaderHeight; width: auto; padding-left: calc(8px + 1.5625vw); line-height: @HeaderHeight; font-size: calc(@HeaderHeight / 3); font-family: 'Raleway', sans-serif; #LogoPart1 { font-weight: 500; color: @LogoTextColour; } #LogoPart2 { font-weight: 300; color: @TextColourOnLightBackground; } } #LogoContainer:hover { text-decoration: none; } // Greeting Section #Greeting { height: 90vh; padding-top: @HeaderHeight; background-color: transparent; width: 100%; } #Headline { margin-top: 7vh ; margin-bottom: 7vh; margin-left: auto; margin-right: auto; max-width: 95%; color: @TextColourOnDarkBackground; font-size: calc(2rem + 2vw); text-align: center; } @media screen and (min-width: 1000px) { html { background-image: url(/images/Feature1-1500.jpg?v=1.1); } #Headline { margin-top: 15vh; margin-bottom: 15vh; max-width: 70%; } #Introduction { max-width: 70%; } } #Introduction { margin-left: auto; margin-right: auto; max-width: 90%; color: @TextColourOnDarkBackground; font-size: calc(1.1rem + 1vw); text-align: center; } // Main Content Styles .ContactOption { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 5px 10px 5px 10px; } .ContactOption a { line-height: 24px; font-size: 18px; } .ContactOptionIcon { width: 24px; height: 24px; padding-right: 5px; } #PartnerLogo { display: block; height: 90px; margin-bottom: 10px; margin-left: auto; margin-right: auto; } img#AI { display: block; width: 60%; margin-top: 20px; margin-left: auto; margin-right: auto; } blockquote { position: relative; background: #EDEDED; font-size: calc(1.3rem + 0.1vh); font-style: italic; color: #555555; line-height: 1.6; border-left: 10px solid @HighlightColour3; width: 60%; margin: 50px auto; padding: 1.2em 30px 1.2em 55px; text-align: left; } blockquote::before { position: absolute; font-family: Arial; color: @HighlightColour3; font-size: 4em; content: "\201C"; left: 10px; top: -10px; } blockquote::after { content: ''; } blockquote div { font-size: initial; color: #333333; font-style: normal; margin-top: 1em; } #QuotationContainer { display: flex; flex-direction: row; align-items: center; } #PreviousQuotation { width: 32px; height: 125px; margin-left:auto; cursor: pointer; } #NextQuotation { width: 32px; height: 125px; margin-right: auto; cursor: pointer; } // Footer Styles #Footer { width: 100%; height: @FooterHeight; background-color: @FooterBackgroundColour; } #Copyright { font-size: calc(0.8rem + 0.1vw); width: auto; padding-left: calc(8px + 1.5625vw); padding-top: 20px; color: @TextColourOnDarkBackground; }