mirror of
https://github.com/offen/website.git
synced 2024-12-27 06:50:22 +01:00
711 lines
11 KiB
CSS
711 lines
11 KiB
CSS
/* ---------------------------------------------------
|
|
COLORS
|
|
----------------------------------------------------*/
|
|
/* Yellows */
|
|
.cclr-bg-yellow-mid {
|
|
background-color: #F7BF08;
|
|
}
|
|
.cclr-fnt-yellow-mid {
|
|
color: #F7BF08;
|
|
}
|
|
.cclr-bg-yellow-bright {
|
|
background-color: #FDE28C;
|
|
}
|
|
.cclr-bg-yellow-bright-very {
|
|
background-color: #F9F7F2;
|
|
}
|
|
|
|
/* Mint */
|
|
.cclr-bg-mint-dark {
|
|
background-color: #9BC5BC;
|
|
}
|
|
.cclr-bg-mint-mid {
|
|
background-color: #BBD9D3;
|
|
}
|
|
.cclr-bg-mint-bright {
|
|
background-color: #DEF0ED;
|
|
}
|
|
.cclr-bg-mint-fade-a {
|
|
background: linear-gradient(207.34deg, rgba(231, 244, 241, 0.6) 8%, rgba(255, 255, 255, 0) 102.6%), #A8CDC6;
|
|
}
|
|
.cclr-bg-mint-fade-b {
|
|
background: linear-gradient(207.34deg, rgba(231, 244, 241, 0.6) 8%, rgba(255, 255, 255, 0) 102.6%), #A8CDC6;
|
|
transform: rotate(-180deg);
|
|
}
|
|
|
|
/* Black */
|
|
.cclr-bg-black-mid {
|
|
background-color: #39352A;
|
|
}
|
|
.cclr-fnt-black-mid {
|
|
color: #39352A;
|
|
}
|
|
.cclr-brd-black-mid {
|
|
border-color: #39352A;
|
|
}
|
|
|
|
/* White */
|
|
.cclr-bg-white-dark {
|
|
background-color: #f9f7f2;
|
|
}
|
|
.cclr-bg-white-fade {
|
|
background: linear-gradient(218.39deg, #FFFFFF 1.47%, rgba(255, 255, 255, 0) 98.24%), #F3F0E7;
|
|
}
|
|
.cclr-bg-white-fade-metrics {
|
|
background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), #F3F0E7;
|
|
}
|
|
.cclr-bg-white-responsive {
|
|
background-color: #f9f7f2;
|
|
}
|
|
@media only screen and (min-width: 60rem) {
|
|
.cclr-bg-white-responsive {
|
|
background-color: #ffffff;
|
|
}
|
|
}
|
|
/* ---------------------------------------------------
|
|
LAYOUT
|
|
----------------------------------------------------*/
|
|
/* Menu */
|
|
.menu {
|
|
width: 100%;
|
|
height: 4rem; /* Tachyons mt5 */
|
|
position: fixed;
|
|
z-index: 999;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
/* Custom media query */
|
|
@media only screen and (min-width: 60rem) {
|
|
.columns {
|
|
column-count: 2;
|
|
column-gap: 4em;
|
|
column-rule: 0.18rem solid rgba(0,0,0,.05);
|
|
}
|
|
}
|
|
/* Custom media query - extra small */
|
|
@media only screen and (max-width: 29.99em) {
|
|
.menu {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
/* HWidths and heights */
|
|
.wx64 {
|
|
width: 100%;
|
|
}
|
|
.wx18 {
|
|
width: 18rem;
|
|
}
|
|
.wx24,
|
|
.wx24-metrics {
|
|
width: 86%;
|
|
}
|
|
.wx-table-a {
|
|
width: 27%;
|
|
}
|
|
.wx-table-b,
|
|
.wx-table-c,
|
|
.wx-table-d {
|
|
width: 16%;
|
|
}
|
|
.hx24 {
|
|
height: 24rem;
|
|
}
|
|
.hx-feature {
|
|
height: 30rem;
|
|
}
|
|
.hx-more {
|
|
height: 30rem;
|
|
}
|
|
.hx-compare-c,
|
|
.hx-compare-d,
|
|
.hx-metrics,
|
|
.hx-localize,
|
|
.hx-difference {
|
|
height: 100%;
|
|
}
|
|
@media only screen and (min-width: 30em) {
|
|
.wx24,
|
|
.wx24-metrics {
|
|
width: 24rem;
|
|
}
|
|
.wx-table-a {
|
|
width: 36%;
|
|
}
|
|
.wx-table-b {
|
|
width: 20%;
|
|
}
|
|
.wx-table-c,
|
|
.wx-table-d {
|
|
width: 16%;
|
|
}
|
|
.hx-try-user {
|
|
height: 24rem;
|
|
}
|
|
.hx-metrics {
|
|
height: 128rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 60em) {
|
|
.wx24-metrics {
|
|
width: 100%;
|
|
}
|
|
.wx-table-b,
|
|
.wx-table-c,
|
|
.wx-table-d {
|
|
width: 25%;
|
|
}
|
|
.hx-compare-c,
|
|
.hx-compare-d {
|
|
height: 50rem;
|
|
}
|
|
.hx-metrics {
|
|
height: 132rem;
|
|
}
|
|
.hx-localize {
|
|
height: 19rem;
|
|
}
|
|
.hx-difference {
|
|
height: 33rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 64em) {
|
|
.wx64 {
|
|
width: 64rem;
|
|
}
|
|
}
|
|
/* Margins an paddings */
|
|
.ptx-feature-2 {
|
|
padding-top: 9rem;
|
|
}
|
|
.ptx-feature-3 {
|
|
padding-top: 18rem;
|
|
}
|
|
|
|
/* Stacking boxes */
|
|
.stackbox-10 img,
|
|
.stackbox-20 img,
|
|
.stackbox-30 img,
|
|
.stackbox-40 img,
|
|
.stackbox-50 img {
|
|
max-width: 100%;
|
|
}
|
|
.stackbox-10,
|
|
.stackbox-20,
|
|
.stackbox-30,
|
|
.stackbox-40,
|
|
.stackbox-50 {
|
|
width: 86%;
|
|
}
|
|
@media only screen and (min-width: 30em) {
|
|
.stackbox-10 img,
|
|
.stackbox-20 img,
|
|
.stackbox-30 img,
|
|
.stackbox-40 img,
|
|
.stackbox-50 img {
|
|
max-width: none;
|
|
}
|
|
.stackbox-10,
|
|
.stackbox-20,
|
|
.stackbox-30,
|
|
.stackbox-40,
|
|
.stackbox-50 {
|
|
width: 24rem;
|
|
}
|
|
.stackbox-10 {
|
|
z-index : 110;
|
|
top: 2rem;
|
|
left: calc(100% - 27rem)
|
|
}
|
|
.stackbox-20 {
|
|
z-index : 120;
|
|
top: 12rem;
|
|
left: 3rem;
|
|
}
|
|
.stackbox-30 {
|
|
z-index : 140;
|
|
top: 33rem;
|
|
left: calc(100% - 27rem)
|
|
}
|
|
.stackbox-40 {
|
|
z-index : 130;
|
|
top: 52rem;
|
|
left: 3rem;
|
|
}
|
|
.stackbox-50 {
|
|
z-index : 148;
|
|
top: 74rem;
|
|
left: calc(100% - 27rem)
|
|
}
|
|
}
|
|
@media only screen and (min-width: 60em) {
|
|
.stackbox-10 {
|
|
top: -6rem;
|
|
left: 34rem;
|
|
}
|
|
.stackbox-20 {
|
|
top: 10rem;
|
|
left: 6rem;
|
|
}
|
|
.stackbox-30 {
|
|
top: 28rem;
|
|
left: 29rem;
|
|
}
|
|
.stackbox-40 {
|
|
top: 55rem;
|
|
left: 10rem;
|
|
}
|
|
.stackbox-50 {
|
|
top: 74rem;
|
|
left: 31rem;
|
|
}
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
TYPO AND LAYOUT ELEMENTS
|
|
----------------------------------------------------*/
|
|
.link:focus {
|
|
outline: none;
|
|
}
|
|
/* index logo */
|
|
.intro-margin-a {
|
|
margin-top: 0.3rem;
|
|
}
|
|
.intro-margin-b {
|
|
margin-top: 0.7rem;
|
|
}
|
|
|
|
/* Break long word on mobile */
|
|
body {
|
|
overflow-wrap: break-word;
|
|
overscroll-behavior: none;
|
|
}
|
|
/* font size iPhone 5 etc */
|
|
@media only screen and (max-width: 20em) {
|
|
.f5 {
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
/* Custom Tachyons class */
|
|
.fLogo {
|
|
font-size: 1.9rem;
|
|
}
|
|
span {
|
|
display: table;
|
|
}
|
|
/* Custom media query - medium small - neutralize span line braks */
|
|
@media only screen and (max-width: 40em) {
|
|
p span {
|
|
display: initial;
|
|
}
|
|
}
|
|
.pitchMargin {
|
|
margin-right: 2rem;
|
|
}
|
|
@media only screen and (min-width: 25em) and (max-width: 30em) {
|
|
.pitchMargin {
|
|
margin-right: 3rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 30em) {
|
|
.pitchMargin {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
em {
|
|
background: linear-gradient(transparent 66%, #fde28c 66%);
|
|
font-style: normal;
|
|
}
|
|
.em-mint-1 {
|
|
background: linear-gradient(transparent 66%, #E5FDF8 66%);
|
|
font-style: normal;
|
|
}
|
|
.em-mint-2 {
|
|
background: linear-gradient(transparent 66%, #BBD9D3 66%);
|
|
font-style: normal;
|
|
}
|
|
hr {
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
}
|
|
.dim:focus {
|
|
transition: none;
|
|
opacity: 1;
|
|
}
|
|
ul {
|
|
padding-inline-start: 2rem;
|
|
}
|
|
@media only screen and (max-width: 30em) {
|
|
ul {
|
|
padding-inline-start: 1rem;
|
|
}
|
|
}
|
|
i {
|
|
font-style: normal;
|
|
color: #777777;
|
|
}
|
|
.i-on-yellow {
|
|
color: #8c7839;
|
|
}
|
|
/* Table */
|
|
.bg-table {
|
|
display: none;
|
|
pointer-events: none;
|
|
}
|
|
.hscroll {
|
|
padding: 2rem;
|
|
}
|
|
@media only screen and (max-width: 45em) {
|
|
.bg-table {
|
|
display: inline-block;
|
|
top: 0;
|
|
right: 0;
|
|
z-index : 560;
|
|
}
|
|
.hscroll {
|
|
overflow-x: auto;
|
|
padding-left: 1.6rem;
|
|
}
|
|
.hscroll table {
|
|
width: 47rem;
|
|
}
|
|
.wx-table-d {
|
|
width: 8rem;
|
|
padding-right: 4rem;
|
|
}
|
|
}
|
|
pre {
|
|
overflow-x: auto;
|
|
padding: 3rem 2rem 3rem 2rem;
|
|
margin: 0 0 3rem 0;
|
|
color: #39352A;
|
|
background-color: #EEEEEE;
|
|
}
|
|
code {
|
|
border-radius: 3px;
|
|
font-size: 85%;
|
|
padding: 0.2em 0;
|
|
color: #39352A;
|
|
background-color: #EEEEEE;
|
|
}
|
|
pre code {
|
|
padding: 0;
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
IMAGES
|
|
----------------------------------------------------*/
|
|
/* Put article image outside of container margins */
|
|
.larger-image {
|
|
/*
|
|
margin-top: -4rem;
|
|
*/
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
}
|
|
.smaller-image {
|
|
width: 200px;
|
|
height: 109px;
|
|
margin-bottom: -2rem;
|
|
}
|
|
.smaller-image-2 {
|
|
width: 200px;
|
|
height: 109px;
|
|
margin-bottom: -4rem;
|
|
}
|
|
.screencast {
|
|
border: 1px solid #DDDDDD;
|
|
}
|
|
@media only screen and (min-width: 30em) {
|
|
.larger-image {
|
|
margin-left: 0rem;
|
|
margin-right: 0rem;
|
|
}
|
|
.smaller-image,
|
|
.smaller-image-2 {
|
|
width: 350px;
|
|
height: 190px;
|
|
}
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
STACKING IMAGES
|
|
----------------------------------------------------*/
|
|
.bg-feature-1 img,
|
|
.bg-feature-3 img {
|
|
max-width: none;
|
|
}
|
|
.bg-feature-1 {
|
|
top: 0;
|
|
left: -25%;
|
|
z-index : 400;
|
|
}
|
|
.bg-feature-3 {
|
|
top: 0;
|
|
left: -35%;
|
|
z-index : 410;
|
|
}
|
|
.bg-compare-a-pfeil {
|
|
top: -10rem;
|
|
left: 0;
|
|
z-index : 510;
|
|
}
|
|
.bg-compare-b-smile {
|
|
top: 17rem;
|
|
left: 6rem;
|
|
z-index : 520;
|
|
}
|
|
.bg-compare-c-pfeil {
|
|
top: -5rem;
|
|
left: 7rem;
|
|
z-index : 530;
|
|
}
|
|
.bg-metrics-bulb {
|
|
top: 8.5rem;
|
|
left: calc(100% - 10rem);
|
|
z-index : 550;
|
|
}
|
|
.bg-localize {
|
|
top: -7rem;
|
|
left: 3rem;
|
|
z-index : 560;
|
|
}
|
|
.bg-cta-pfeil {
|
|
top: -13rem;
|
|
left: 66%;
|
|
z-index : 570;
|
|
}
|
|
|
|
@media only screen and (min-width: 30em) {
|
|
.bg-feature-1 {
|
|
left: calc(50% - 21rem);
|
|
}
|
|
.bg-feature-3 {
|
|
left: calc(50% - 18rem);
|
|
}
|
|
.bg-compare-c-pfeil {
|
|
top: -5rem;
|
|
left: 10rem;
|
|
}
|
|
.bg-metrics-bulb {
|
|
top: 11rem;
|
|
left: calc(100% - 30rem);
|
|
}
|
|
.bg-localize {
|
|
top: -7rem;
|
|
left: calc(100% - 25rem);
|
|
}
|
|
.bg-cta-pfeil {
|
|
top: -14rem;
|
|
left: 72%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 60em) {
|
|
.bg-feature-1 {
|
|
left: -50%;
|
|
}
|
|
.bg-feature-3 {
|
|
left: -50%;
|
|
}
|
|
.bg-metrics-bulb {
|
|
top: -3rem;
|
|
left: calc(100% - 20rem);
|
|
}
|
|
.bg-localize {
|
|
top: -2rem;
|
|
left: 35rem;
|
|
}
|
|
.bg-cta-pfeil {
|
|
top: -12rem;
|
|
left: 66%;
|
|
}
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
BACKROUND IMAGES
|
|
----------------------------------------------------*/
|
|
.bg-feature-2 {
|
|
background: url(/theme/images/gfx-feature-2.png) center;
|
|
background-repeat: no-repeat;
|
|
background-size: 640px 480px;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.bg-pattern {
|
|
background: url(/theme/images/gfx-bg-pattern.svg) 8rem 2rem;
|
|
}
|
|
|
|
.bg-explainer {
|
|
background:
|
|
url(/theme/images/gfx-bg-explainer.svg) top center repeat-x,
|
|
url(/theme/images/gfx-bg-explainer.svg) bottom center repeat-x;
|
|
}
|
|
|
|
|
|
/* ---------------------------------------------------
|
|
MENU
|
|
----------------------------------------------------*/
|
|
.nav-bar {
|
|
height: 4rem;
|
|
}
|
|
.icon {
|
|
position: absolute;
|
|
padding: 0.7rem 0 0 1.2rem;
|
|
float: left;
|
|
}
|
|
body.index .icon {
|
|
opacity: 0;
|
|
}
|
|
.nav-container {
|
|
margin: 0 auto;
|
|
}
|
|
nav {
|
|
float: right;
|
|
}
|
|
nav ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
nav ul li {
|
|
float: left;
|
|
position: relative;
|
|
}
|
|
nav ul li a,
|
|
nav ul li a:visited {
|
|
display: block;
|
|
padding: 0 1.2rem;
|
|
line-height: 4rem;
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
background: #F7BF08;
|
|
color: #39352A;
|
|
}
|
|
nav ul li:last-child a {
|
|
padding-right: 2rem;
|
|
background: #39352A;
|
|
color: #fff;
|
|
}
|
|
nav ul li a:hover,
|
|
nav ul li a:visited:hover {
|
|
color: #39352A;
|
|
}
|
|
nav ul li:last-child a:hover,
|
|
nav ul li:last-child a:visited:hover {
|
|
color: #fff;
|
|
}
|
|
nav ul li a:not(:only-child):after,
|
|
nav ul li a:visited:not(:only-child):after {
|
|
padding-left: 0.4rem;
|
|
content: ' ▾';
|
|
}
|
|
nav ul li ul li {
|
|
min-width: 10rem;
|
|
}
|
|
nav ul li ul li a {
|
|
padding: 1rem;
|
|
line-height: 1.5rem;
|
|
}
|
|
.nav-dropdown {
|
|
position: absolute;
|
|
display: none;
|
|
z-index: 1;
|
|
}
|
|
.nav-mobile {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
background: #F7BF08;
|
|
height: 4rem;
|
|
width: 4rem;
|
|
}
|
|
/* Custom media query */
|
|
@media only screen and (max-width: 60rem) {
|
|
.nav-list {
|
|
margin: 0;
|
|
}
|
|
.nav-mobile {
|
|
display: block;
|
|
}
|
|
nav {
|
|
width: 100%;
|
|
padding: 0;
|
|
padding-top: 4rem;
|
|
}
|
|
nav ul {
|
|
display: none;
|
|
}
|
|
nav ul li {
|
|
float: none;
|
|
}
|
|
nav ul li a {
|
|
padding: 1rem;
|
|
line-height: 1;
|
|
padding-left: 4.2rem;
|
|
}
|
|
nav ul li ul li a {
|
|
padding-left: 30%;
|
|
}
|
|
nav ul li:last-child a {
|
|
padding-bottom: 1.2rem;
|
|
margin: 0;
|
|
box-shadow: 0px 7px 15px -6px rgba(57,53,42,0.2);
|
|
}
|
|
nav ul li:first-child a {
|
|
padding-top: 0.2rem;
|
|
}
|
|
.nav-dropdown {
|
|
position: static;
|
|
}
|
|
}
|
|
/* Desktop Styles */
|
|
@media screen and (min-width: 60.1rem) {
|
|
.nav-list {
|
|
display: block !important;
|
|
}
|
|
}
|
|
#nav-toggle {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: 1rem;
|
|
cursor: pointer;
|
|
padding: 1rem 2rem 1rem 0;
|
|
}
|
|
#nav-toggle span,
|
|
#nav-toggle span:before,
|
|
#nav-toggle span:after {
|
|
cursor: pointer;
|
|
height: 0.1rem;
|
|
width: 1.6rem;
|
|
background: #39352A;
|
|
position: absolute;
|
|
display: block;
|
|
content: '';
|
|
/*
|
|
transition: all 300ms ease-in-out;
|
|
*/
|
|
}
|
|
#nav-toggle span:before {
|
|
top: -0.5rem;
|
|
}
|
|
#nav-toggle span:after {
|
|
bottom: -0.5rem;
|
|
}
|
|
#nav-toggle.active span {
|
|
background-color: transparent;
|
|
}
|
|
#nav-toggle.active span:before, #nav-toggle.active span:after {
|
|
top: 0;
|
|
}
|
|
#nav-toggle.active span:before {
|
|
transform: rotate(45deg);
|
|
}
|
|
#nav-toggle.active span:after {
|
|
transform: rotate(-45deg);
|
|
}
|