822 lines
13 KiB
SCSS
822 lines
13 KiB
SCSS
@charset "utf-8";
|
|
|
|
@font-face {
|
|
font-family: 'Rubik';
|
|
src: url('fonts/Rubik-VariableFont_wght.ttf') format('truetype');
|
|
}
|
|
|
|
$base-font-family: 'Rubik', monospace !default;
|
|
$base-font-size: 1.125rem !default;
|
|
$mobile-font-size: 1.125rem !default;
|
|
$base-line-height: 1.5 !default;
|
|
$container-width: 90% !default;
|
|
$container-max-width: 1000px !default;
|
|
|
|
html {
|
|
transition: none !important;
|
|
}
|
|
|
|
:root {
|
|
--base-color: rgba(0, 0, 0, 0.87);
|
|
--header-color: black;
|
|
--border: dashed 1px rgba(0, 0, 0, 1);
|
|
--selection-background: rgba(0, 0, 0, 0.40);
|
|
--selection-text: #FFF;
|
|
--background-color: #FFF;
|
|
--text-color: var(--base-color);
|
|
--placeholder-color: var(--base-color);
|
|
--link-color: blue;
|
|
--navbar-link-color: black;
|
|
--navbar-link-hover-color: gray;
|
|
--theme-slider-state: translateX(0px);
|
|
--code-color-1: #aaaaaa;
|
|
--code-color-2: #ffffcc;
|
|
--code-color-3: #F00000;
|
|
}
|
|
|
|
|
|
:root.dark-theme {
|
|
--base-color: rgba(255, 255, 255, 0.87);
|
|
--header-color: white;
|
|
--border: solid 2px rgba(219, 219, 219, 0.9);
|
|
--selection-background: rgba(219, 219, 219, 0.99);
|
|
--selection-text: #000;
|
|
--background-color: #141414;
|
|
--text-color: var(--base-color);
|
|
--placeholder-color: rgba(0, 0, 0, 0.5);
|
|
--link-color: var(--base-color);
|
|
--navbar-link-color: white;
|
|
--navbar-link-hover-color: gray;
|
|
--theme-slider-state: translateX(26px);
|
|
/* yoinkt from Material Design 2014, Light Blue A200 */
|
|
--mega-color: #40C4FF;
|
|
--code-color-1: #569fe8;
|
|
--code-color-2: #ffffcc;
|
|
--code-color-3: #F00000;
|
|
}
|
|
|
|
/* Dark mode */
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--base-color: rgba(255, 255, 255, 0.87);
|
|
--header-color: white;
|
|
--border: solid 2px rgba(219, 219, 219, 0.9);
|
|
--selection-background: rgba(219, 219, 219, 0.99);
|
|
--selection-text: #000;
|
|
--background-color: #141414;
|
|
--text-color: var(--base-color);
|
|
--placeholder-color: rgba(0, 0, 0, 0.5);
|
|
--link-color: var(--base-color);
|
|
--navbar-link-color: white;
|
|
--navbar-link-hover-color: gray;
|
|
--theme-slider-state: translateX(26px);
|
|
/* yoinkt from Material Design 2014, Light Blue A200 */
|
|
--mega-color: #40C4FF;
|
|
--code-color-1: #569fe8;
|
|
--code-color-2: #ffffcc;
|
|
--code-color-3: #F00000;
|
|
}
|
|
}
|
|
|
|
/* Theme toggle button */
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 34px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: .4s;
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 26px;
|
|
width: 26px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: var(--code-color-1);
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
transform: var(--theme-slider-state);
|
|
}
|
|
|
|
/**
|
|
* Global
|
|
*/
|
|
body {
|
|
background-color: var(--background-color);
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
font-family: $base-font-family;
|
|
font-size: $base-font-size;
|
|
color: var(--text-color);
|
|
text-align: left;
|
|
line-height: $base-line-height !important;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 28px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin: 0px;
|
|
margin-top: 0px;
|
|
margin-bottom: 12px;
|
|
font-weight: bold;
|
|
color: var(--header-color);
|
|
}
|
|
|
|
p,
|
|
ul,
|
|
ol {
|
|
margin: 0px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
a {
|
|
text-decoration: underline;
|
|
color: var(--link-color);
|
|
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--base-color);
|
|
background-color: var(--background-color);
|
|
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
|
}
|
|
|
|
@media only screen and (max-device-width: 500px) {
|
|
* {
|
|
font-size: $mobile-font-size;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Layout
|
|
*/
|
|
.container {
|
|
width: $container-width;
|
|
max-width: $container-max-width;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
p {
|
|
margin-top: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
footer {
|
|
color: var(--text-color);
|
|
border-top: var(--border);
|
|
margin-top: 24px;
|
|
padding-top: 12px;
|
|
text-align: right;
|
|
}
|
|
|
|
header {
|
|
padding: 24px;
|
|
margin-bottom: 24px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.13);
|
|
}
|
|
|
|
header p {
|
|
text-align: left;
|
|
margin: 0;
|
|
}
|
|
|
|
footer {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
hr {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/**
|
|
* Navbar
|
|
*/
|
|
.menu-logo {
|
|
height: 48px;
|
|
}
|
|
|
|
|
|
#home-link {
|
|
color: var(--base-color);
|
|
background: var(--background-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
#home-link:hover {
|
|
color:var(--navbar-link-hover-color);
|
|
}
|
|
|
|
.header-page-links li:before {
|
|
content: ''
|
|
}
|
|
|
|
.header-page-links a {
|
|
margin: 0px 4px;
|
|
font-size: 1.1rem;
|
|
text-decoration: none;
|
|
color: var(--navbar-link-color);
|
|
}
|
|
|
|
.header-page-links a:hover {
|
|
color: var(--navbar-link-hover-color);
|
|
}
|
|
|
|
.left-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.left-menu img {
|
|
display: flex;
|
|
}
|
|
|
|
.right-menu {
|
|
width: 74%;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu-button-container {
|
|
display: none;
|
|
width: 50px;
|
|
height: 50px;
|
|
cursor: pointer;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#menu-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.menu-button,
|
|
.menu-button::before,
|
|
.menu-button::after {
|
|
display: block;
|
|
background-color: var(--background-color);
|
|
position: absolute;
|
|
height: 4px;
|
|
width: 30px;
|
|
transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.menu-button::before {
|
|
content: '';
|
|
margin-top: -8px;
|
|
}
|
|
|
|
.menu-button::after {
|
|
content: '';
|
|
margin-top: 8px;
|
|
}
|
|
|
|
#menu-toggle:checked+.menu-button-container .menu-button::before {
|
|
margin-top: 0px;
|
|
transform: rotate(405deg);
|
|
}
|
|
|
|
#menu-toggle:checked+.menu-button-container .menu-button {
|
|
background: rgba(255, 255, 255, 0);
|
|
}
|
|
|
|
#menu-toggle:checked+.menu-button-container .menu-button::after {
|
|
margin-top: 0px;
|
|
transform: rotate(-405deg);
|
|
}
|
|
|
|
.menu-content {
|
|
position: absolute;
|
|
display: none;
|
|
background: #282828;
|
|
text-align: right;
|
|
margin-top: 100px;
|
|
width: 100%;
|
|
z-index: 2;
|
|
}
|
|
|
|
.inner-menu-content {
|
|
border-bottom: 1px solid white;
|
|
}
|
|
|
|
.menu-content div {
|
|
margin: 50px 30px 50px 30px;
|
|
}
|
|
|
|
@media (max-width: 1020px) {
|
|
.right-menu {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.menu-button-container {
|
|
display: flex;
|
|
}
|
|
|
|
#menu-toggle~.menu li {
|
|
height: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
}
|
|
|
|
#menu-toggle:checked~.menu li {
|
|
border: 1px solid #333;
|
|
height: 2.5em;
|
|
padding: 0.5em;
|
|
transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
}
|
|
|
|
.menu>li {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 0;
|
|
padding: 0.5em 0;
|
|
width: 100%;
|
|
color: white;
|
|
background-color: #222;
|
|
}
|
|
|
|
.menu>li:not(:last-child) {
|
|
border-bottom: 1px solid #444;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Buttons
|
|
*/
|
|
.button {
|
|
display: inline-block;
|
|
padding: 10px 20px 9px 20px;
|
|
margin-top: 10px;
|
|
color: var(--base-color);
|
|
background-color: var(--background-color);
|
|
border: 2px solid white;
|
|
text-decoration: none;
|
|
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
|
}
|
|
|
|
.button:hover {
|
|
/* invert */
|
|
background-color: var(--base-color);
|
|
color: var(--background-color);
|
|
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
|
|
}
|
|
|
|
/* important button */
|
|
.mega.button {
|
|
background-color: var(--mega-color);
|
|
color: var(--base-color);
|
|
border: 2px solid var(--mega-color);
|
|
}
|
|
|
|
.mega.button:hover {
|
|
/* invert */
|
|
background-color: color-mix(in srgb, var(--mega-color), white 10%);
|
|
color: var(--base-color);
|
|
}
|
|
|
|
.button-container {
|
|
padding: 30px 0px;
|
|
}
|
|
|
|
/**
|
|
* Highlight/Markup
|
|
*/
|
|
::selection {
|
|
background: var(--selection-background);
|
|
color: var(--selection-text);
|
|
}
|
|
|
|
::-moz-selection {
|
|
background: var(--selection-background);
|
|
color: var(--selection-text);
|
|
}
|
|
|
|
/**
|
|
* Lists
|
|
*/
|
|
:not(.menu)>ul {
|
|
list-style: none;
|
|
}
|
|
|
|
:not(.menu)>ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
:not(.menu)>ul>li:before {
|
|
content: "-";
|
|
margin-right: 9px;
|
|
}
|
|
|
|
.right-menu>ul>li:before {
|
|
content: "" !important;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
|
|
/**
|
|
* Header/Navigation
|
|
*/
|
|
.menu {
|
|
/* border-bottom: var(--border); */
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu ul {
|
|
padding-left: 0px;
|
|
list-style-type: none;
|
|
text-align: right;
|
|
}
|
|
|
|
.menu ul li {
|
|
display: inline;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
|
|
/**
|
|
* Form
|
|
*/
|
|
input,
|
|
select,
|
|
textarea {
|
|
padding: 0;
|
|
margin: 0;
|
|
-webkit-appearance: none;
|
|
-webkit-border-radius: 0;
|
|
border: none;
|
|
}
|
|
|
|
input[type=text],
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
resize: none;
|
|
background-color: white;
|
|
color: black;
|
|
caret-color: black;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea,
|
|
textarea::-webkit-input-placeholder {
|
|
text-indent: 0px;
|
|
}
|
|
|
|
::placeholder {
|
|
color: var(--placeholder-color);
|
|
opacity: 1;
|
|
}
|
|
|
|
:-ms-input-placeholder {
|
|
color: var(--placeholder-color);
|
|
}
|
|
|
|
::-ms-input-placeholder {
|
|
color: var(--placeholder-color);
|
|
}
|
|
|
|
input[type=submit] {
|
|
font-size: $base-font-size;
|
|
font-family: $base-font-family;
|
|
line-height: $base-line-height;
|
|
cursor: pointer;
|
|
color: var(--link-color);
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
input[type=submit]:hover {
|
|
color: var(--background-color);
|
|
background-color: var(--base-color);
|
|
}
|
|
|
|
*:focus {
|
|
outline: none;
|
|
}
|
|
|
|
textarea {
|
|
vertical-align: top;
|
|
}
|
|
|
|
/**
|
|
* Contact Form
|
|
*/
|
|
.required:after {
|
|
content: "*";
|
|
color: red;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.form-input,
|
|
.form-select,
|
|
.form-textarea {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-bottom: 10px;
|
|
height: 40px;
|
|
}
|
|
|
|
.form-textarea {
|
|
height: 100px;
|
|
}
|
|
|
|
.form-checkbox-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-submit-button {
|
|
padding: 10px 20px;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
height: 40px;
|
|
}
|
|
|
|
.form-submit-button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
/**
|
|
* Homepage
|
|
*/
|
|
.particles-wrapper {
|
|
background-color: #222;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.flex-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.flex-container-inner {
|
|
width: 100%;
|
|
}
|
|
|
|
section {
|
|
margin-top: 48px;
|
|
margin-bottom: 120px;
|
|
}
|
|
|
|
.text-well {
|
|
max-width: 100%;
|
|
padding-right: 35px;
|
|
}
|
|
|
|
|
|
/* Literal.Number.Integer.Long */
|
|
|
|
.hide {
|
|
display: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.show {
|
|
display: inline-block;
|
|
}
|
|
|
|
/**
|
|
* Blog
|
|
*/
|
|
.post img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
#lp-post-img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/** end blog */
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Work Sans', sans-serif;
|
|
font-weight: 400;
|
|
width: 100%;
|
|
}
|
|
|
|
.wrapper {
|
|
background: linear-gradient(60deg, #420285, #08BDBD);
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.title {
|
|
text-transform: uppercase;
|
|
font-size: 20px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
|
|
.timeline {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.segment {
|
|
height: 5px;
|
|
background-color: white;
|
|
width: 33.33%;
|
|
}
|
|
|
|
.active-segment {
|
|
background-color: #33ff57;
|
|
}
|
|
|
|
.marker {
|
|
height: 30px;
|
|
position: absolute;
|
|
width: 120px;
|
|
border-left: 2px solid black;
|
|
}
|
|
|
|
/**
|
|
* timeline
|
|
*/
|
|
|
|
#to-date,
|
|
#from-date {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#from-date-arrow,
|
|
#to-date-arrow {
|
|
font-size: 25px;
|
|
}
|
|
|
|
.date-container {
|
|
width: 120px;
|
|
position: absolute;
|
|
margin-left: -60px;
|
|
margin-top: -5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.from-date-container {
|
|
left: 33.33%;
|
|
}
|
|
|
|
.to-date-container {
|
|
left: 66.66%;
|
|
}
|
|
|
|
.marker-1 {
|
|
left: 33.33%;
|
|
}
|
|
|
|
.marker-2 {
|
|
left: 66.66%;
|
|
}
|
|
|
|
|
|
/**
|
|
* wizard
|
|
*/
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea,
|
|
textarea::-webkit-input-placeholder {
|
|
border: 1px solid white;
|
|
}
|
|
|
|
#wizard-container {
|
|
border: 1px solid white;
|
|
border-radius: 20px;
|
|
padding: 30px;
|
|
}
|
|
|
|
.divider {
|
|
color: white;
|
|
margin: 50px 0px;
|
|
}
|
|
|
|
#generated-policy-form {
|
|
height: 400px;
|
|
padding: 30px;
|
|
margin-top: 30px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
/**
|
|
* media queries
|
|
*/
|
|
@media (max-width: 1020px) {
|
|
.flex-container-inner {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.flex-container {
|
|
display: inline-block;
|
|
}
|
|
|
|
.hide {
|
|
display: inline-block;
|
|
}
|
|
|
|
.show {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.companies {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.companies div {
|
|
width: 100%;
|
|
height: 170px;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.carousel-container {
|
|
padding-top: 50px;
|
|
padding-left: 10px;
|
|
}
|
|
} |