2
0
mirror of https://github.com/offen/website.git synced 2024-11-23 17:30:34 +01:00
website/homepage/theme/static/css/fix.css

791 lines
13 KiB
CSS
Raw Normal View History

2019-12-22 12:56:02 +01:00
/* ---------------------------------------------------
2020-04-27 21:51:46 +02:00
COLORS
2020-04-22 21:32:41 +02:00
----------------------------------------------------*/
/* Yellows */
.cclr-bg-yellow-mid {
background-color: #F7BF08;
}
2020-04-27 21:51:46 +02:00
.cclr-fnt-yellow-mid {
color: #F7BF08;
}
2020-04-22 21:32:41 +02:00
.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;
}
2020-04-25 13:40:22 +02:00
.cclr-bg-mint-fade-a {
2020-04-29 10:46:22 +02:00
background: linear-gradient(207.34deg, rgba(231, 244, 241, 0.6) 8%, rgba(255, 255, 255, 0) 102.6%), #A8CDC6;
2020-04-25 13:40:22 +02:00
}
.cclr-bg-mint-fade-b {
2020-04-29 10:46:22 +02:00
background: linear-gradient(207.34deg, rgba(231, 244, 241, 0.6) 8%, rgba(255, 255, 255, 0) 102.6%), #A8CDC6;
2020-04-25 13:40:22 +02:00
transform: rotate(-180deg);
}
2020-04-22 21:32:41 +02:00
2020-04-23 22:09:36 +02:00
/* Black */
.cclr-bg-black-mid {
background-color: #39352A;
}
.cclr-fnt-black-mid {
color: #39352A;
}
.cclr-brd-black-mid {
2020-04-27 15:45:47 +02:00
border-color: #39352A;
2020-04-23 22:09:36 +02:00
}
2021-04-08 22:54:16 +02:00
/* Gray */
.cclr-fnt-gray-mid {
color: #777777;
}
2020-04-22 21:32:41 +02:00
/* White */
.cclr-bg-white-fade-end {
background-color: #f3f0e7;
}
2020-04-27 15:45:47 +02:00
.cclr-bg-white-dark {
background-color: #f9f7f2;
}
2022-04-28 15:46:10 +02:00
.cclr-bg-white-semi-dark {
background-color: #fffdf9;
}
2020-04-22 21:32:41 +02:00
.cclr-bg-white-fade {
2020-04-25 08:16:43 +02:00
background: linear-gradient(218.39deg, #FFFFFF 1.47%, rgba(255, 255, 255, 0) 98.24%), #F3F0E7;
2020-04-22 21:32:41 +02:00
}
2020-04-25 08:16:43 +02:00
.cclr-bg-white-fade-metrics {
background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), #F3F0E7;
}
2020-08-05 21:24:39 +02:00
.cclr-bg-white-responsive {
background-color: #f9f7f2;
}
@media only screen and (min-width: 60rem) {
.cclr-bg-white-responsive {
background-color: #ffffff;
}
}
2019-12-22 12:56:02 +01:00
/* ---------------------------------------------------
LAYOUT
----------------------------------------------------*/
2020-04-27 21:51:46 +02:00
/* Menu */
2019-12-22 12:56:02 +01:00
.menu {
width: 100%;
2019-12-23 11:46:19 +01:00
height: 4rem; /* Tachyons mt5 */
2019-12-22 12:56:02 +01:00
position: fixed;
2020-04-25 13:40:22 +02:00
z-index: 999;
2019-12-22 12:56:02 +01:00
top: 0;
right: 0;
}
2019-12-27 12:57:02 +01:00
/* Custom media query */
@media only screen and (min-width: 60rem) {
2019-12-27 23:09:42 +01:00
.columns {
column-count: 2;
column-gap: 4em;
column-rule: 0.18rem solid rgba(0,0,0,.05);
2019-12-27 12:57:02 +01:00
}
}
2019-12-23 11:46:19 +01:00
/* Custom media query - extra small */
@media only screen and (max-width: 29.99em) {
2019-12-22 12:56:02 +01:00
.menu {
position: static;
}
}
2020-04-25 13:40:22 +02:00
/* HWidths and heights */
2020-08-04 23:03:16 +02:00
.wx64 {
width: 100%;
}
2020-04-25 13:40:22 +02:00
.wx18 {
2022-08-11 11:34:13 +02:00
width: 20rem;
2020-04-25 13:40:22 +02:00
}
.wx24,
.wx24-metrics {
width: 86%;
}
2020-05-20 22:21:23 +02:00
.wx-table-a {
2020-05-21 07:27:15 +02:00
width: 27%;
2020-05-20 22:21:23 +02:00
}
2020-05-21 07:27:15 +02:00
.wx-table-b,
2020-05-24 20:08:40 +02:00
.wx-table-c,
.wx-table-d {
2020-05-20 22:21:23 +02:00
width: 16%;
}
2020-04-26 08:52:20 +02:00
.hx24 {
height: 24rem;
}
.hx-feature {
height: 30rem;
}
.hx-more {
2020-04-24 12:38:35 +02:00
height: 30rem;
}
2020-04-26 13:44:53 +02:00
.hx-compare-c,
2020-05-20 22:21:23 +02:00
.hx-compare-d,
.hx-metrics,
.hx-localize,
.hx-customize,
2020-05-20 22:21:23 +02:00
.hx-difference {
2020-04-25 08:16:43 +02:00
height: 100%;
2020-04-24 12:38:35 +02:00
}
2021-05-02 22:30:19 +02:00
.mx-customize {
margin: 0 0 19.5rem 0;
}
2020-04-24 07:46:37 +02:00
@media only screen and (min-width: 30em) {
2020-04-24 16:35:37 +02:00
.wx24,
.wx24-metrics {
2020-04-24 07:46:37 +02:00
width: 24rem;
}
2020-05-20 22:21:23 +02:00
.wx-table-a {
2020-05-21 07:27:15 +02:00
width: 36%;
2020-05-20 22:21:23 +02:00
}
.wx-table-b {
width: 20%;
}
2020-05-24 20:08:40 +02:00
.wx-table-c,
.wx-table-d {
2020-05-21 07:27:15 +02:00
width: 16%;
}
2020-04-26 08:52:20 +02:00
.hx-try-user {
height: 24rem;
}
2020-04-25 08:16:43 +02:00
.hx-metrics {
2020-04-27 08:01:30 +02:00
height: 128rem;
2020-04-24 22:26:10 +02:00
}
2021-05-02 22:30:19 +02:00
.mx-customize {
margin: 0 0 18rem 0;
}
2020-04-23 13:29:00 +02:00
}
2020-04-24 16:35:37 +02:00
@media only screen and (min-width: 60em) {
.wx24-metrics {
width: 100%;
}
2020-05-21 07:27:15 +02:00
.wx-table-b,
2020-05-24 20:08:40 +02:00
.wx-table-c,
.wx-table-d {
2020-05-20 22:21:23 +02:00
width: 25%;
}
2020-04-26 13:44:53 +02:00
.hx-compare-c,
.hx-compare-d {
height: 50rem;
}
2020-04-25 13:40:22 +02:00
.hx-metrics {
height: 122rem;
2020-04-25 13:40:22 +02:00
}
.hx-localize {
height: 24rem;
2021-04-08 22:54:16 +02:00
}
.hx-customize {
2021-05-22 20:28:06 +02:00
height: 26rem;
2021-05-02 22:30:19 +02:00
}
.mx-customize {
margin: 0;
2021-02-01 10:11:57 +01:00
}
2020-05-20 22:21:23 +02:00
.hx-difference {
height: 33rem;
}
2020-04-24 16:35:37 +02:00
}
2020-08-04 23:03:16 +02:00
@media only screen and (min-width: 64em) {
.wx64 {
width: 64rem;
}
}
2020-04-25 21:34:32 +02:00
/* Margins an paddings */
.ptx-feature-2 {
padding-top: 9rem;
}
.ptx-feature-3 {
padding-top: 18rem;
}
2020-04-25 13:40:22 +02:00
/* Stacking boxes */
.stackbox-10 img,
.stackbox-20 img,
.stackbox-30 img,
.stackbox-40 img,
.stackbox-50 img {
2020-04-24 16:35:37 +02:00
max-width: 100%;
2020-04-24 07:46:37 +02:00
}
2020-04-25 13:40:22 +02:00
.stackbox-10,
.stackbox-20,
.stackbox-30,
.stackbox-40,
.stackbox-50 {
2020-04-24 12:38:35 +02:00
width: 86%;
2020-04-24 07:46:37 +02:00
}
2020-04-24 12:38:35 +02:00
@media only screen and (min-width: 30em) {
2020-04-25 13:40:22 +02:00
.stackbox-10 img,
.stackbox-20 img,
.stackbox-30 img,
.stackbox-40 img,
.stackbox-50 img {
2020-04-24 16:35:37 +02:00
max-width: none;
}
2020-04-25 13:40:22 +02:00
.stackbox-10,
.stackbox-20,
.stackbox-30,
.stackbox-40,
.stackbox-50 {
2020-04-24 21:02:01 +02:00
width: 24rem;
}
2020-04-25 13:40:22 +02:00
.stackbox-10 {
z-index : 110;
top: 2rem;
left: calc(100% - 27rem)
}
.stackbox-20 {
z-index : 120;
top: 12rem;
2020-04-24 21:02:01 +02:00
left: 3rem;
2020-04-24 16:35:37 +02:00
}
2020-04-25 13:40:22 +02:00
.stackbox-30 {
z-index : 140;
top: 37rem;
2020-04-24 21:02:01 +02:00
left: calc(100% - 27rem)
}
2020-04-25 13:40:22 +02:00
.stackbox-40 {
z-index : 130;
top: 52rem;
2020-04-24 21:02:01 +02:00
left: 3rem;
}
2020-04-25 13:40:22 +02:00
.stackbox-50 {
z-index : 148;
top: 75rem;
2020-04-24 21:02:01 +02:00
left: calc(100% - 27rem)
2020-04-24 07:46:37 +02:00
}
2020-04-24 12:38:35 +02:00
}
@media only screen and (min-width: 60em) {
2020-04-25 13:40:22 +02:00
.stackbox-10 {
2020-04-27 08:01:30 +02:00
top: -6rem;
2020-04-25 13:40:22 +02:00
left: 34rem;
}
.stackbox-20 {
top: 6rem;
2020-04-24 22:26:10 +02:00
left: 6rem;
2020-04-24 16:35:37 +02:00
}
2020-04-25 13:40:22 +02:00
.stackbox-30 {
top: 28rem;
2020-04-24 22:26:10 +02:00
left: 29rem;
2020-04-24 21:02:01 +02:00
}
2020-04-25 13:40:22 +02:00
.stackbox-40 {
top: 50rem;
left: 6rem;
2020-04-24 21:02:01 +02:00
}
2020-04-25 13:40:22 +02:00
.stackbox-50 {
top: 64rem;
left: 34rem;
2020-04-24 07:46:37 +02:00
}
}
2020-04-23 13:29:00 +02:00
2020-04-24 16:35:37 +02:00
2019-12-22 19:02:00 +01:00
/* ---------------------------------------------------
2019-12-23 16:08:40 +01:00
TYPO AND LAYOUT ELEMENTS
2019-12-22 19:02:00 +01:00
----------------------------------------------------*/
2019-12-27 12:57:02 +01:00
.link:focus {
outline: none;
}
2020-04-27 21:51:46 +02:00
/* index logo */
.intro-margin-a {
margin-top: 0.3rem;
}
.intro-margin-b {
margin-top: 0.7rem;
}
2019-12-23 19:44:46 +01:00
/* Break long word on mobile */
body {
overflow-wrap: break-word;
2019-12-27 19:58:53 +01:00
overscroll-behavior: none;
2019-12-23 19:44:46 +01:00
}
2020-04-27 21:51:46 +02:00
/* font size iPhone 5 etc */
@media only screen and (max-width: 20em) {
.f5 {
font-size: 0.95rem;
}
}
2019-12-23 11:46:19 +01:00
/* Custom Tachyons class */
2021-03-16 10:22:16 +01:00
.fLogo {
2019-12-22 19:02:00 +01:00
font-size: 1.9rem;
}
span {
display: table;
}
2019-12-23 11:46:19 +01:00
/* Custom media query - medium small - neutralize span line braks */
2021-03-16 21:17:18 +01:00
@media only screen and (max-width: 40em) {
2019-12-23 11:46:19 +01:00
p span {
display: initial;
}
}
2021-03-16 21:17:18 +01:00
.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;
}
}
2019-12-22 19:02:00 +01:00
em {
background: linear-gradient(transparent 66%, #fde28c 66%);
font-style: normal;
}
2020-04-23 22:09:36 +02:00
.em-mint-1 {
2020-03-03 20:46:56 +01:00
background: linear-gradient(transparent 66%, #E5FDF8 66%);
2020-02-25 19:41:09 +01:00
font-style: normal;
}
2020-04-23 22:09:36 +02:00
.em-mint-2 {
background: linear-gradient(transparent 66%, #BBD9D3 66%);
font-style: normal;
}
2019-12-23 16:08:40 +01:00
hr {
margin-left: -1rem;
margin-right: -1rem;
}
2020-01-28 14:38:52 +01:00
.dim:focus {
transition: none;
opacity: 1;
}
ul {
padding-inline-start: 2rem;
}
@media only screen and (max-width: 30em) {
ul {
padding-inline-start: 1rem;
}
}
2020-04-27 08:01:30 +02:00
i {
font-style: normal;
color: #777777;
}
2020-04-28 15:51:34 +02:00
.i-on-yellow {
color: #8c7839;
}
2020-05-24 20:08:40 +02:00
/* Table */
.bg-table {
display: none;
2020-05-25 07:03:26 +02:00
pointer-events: none;
2020-05-24 20:08:40 +02:00
}
.hscroll {
padding: 2rem;
}
2020-05-20 22:21:23 +02:00
@media only screen and (max-width: 45em) {
2020-05-24 20:08:40 +02:00
.bg-table {
display: inline-block;
top: 0;
right: 0;
z-index : 560;
}
2020-05-20 22:21:23 +02:00
.hscroll {
overflow-x: auto;
2020-05-24 20:17:15 +02:00
padding-left: 1.6rem;
2020-05-20 22:21:23 +02:00
}
.hscroll table {
2020-05-24 20:17:15 +02:00
width: 47rem;
2020-05-24 20:08:40 +02:00
}
.wx-table-d {
width: 8rem;
padding-right: 4rem;
2020-05-20 22:21:23 +02:00
}
}
2020-06-08 23:07:08 +02:00
pre {
overflow-x: auto;
padding: 3rem 2rem 3rem 2rem;
margin: 0 0 3rem 0;
2020-06-08 23:07:08 +02:00
color: #39352A;
background-color: #EEEEEE;
}
code {
border-radius: 3px;
font-size: 85%;
2020-08-05 09:01:34 +02:00
padding: 0.2em 0;
2020-06-08 23:07:08 +02:00
color: #39352A;
background-color: #EEEEEE;
}
pre code {
padding: 0;
}
2020-04-27 16:47:24 +02:00
2020-04-27 21:51:46 +02:00
/* ---------------------------------------------------
IMAGES
----------------------------------------------------*/
/* Put article image outside of container margins */
.larger-image {
2021-01-03 21:17:10 +01:00
/*
2020-04-27 21:51:46 +02:00
margin-top: -4rem;
2021-01-03 21:17:10 +01:00
*/
2020-04-27 21:51:46 +02:00
margin-left: -1rem;
margin-right: -1rem;
}
.smaller-image {
width: 200px;
height: 109px;
margin-bottom: -2rem;
}
2020-08-28 11:35:11 +02:00
.smaller-image-2 {
width: 200px;
height: 109px;
margin-bottom: -4rem;
}
2020-04-27 21:51:46 +02:00
.screencast {
border: 1px solid #DDDDDD;
}
@media only screen and (min-width: 30em) {
2020-08-27 10:28:16 +02:00
.larger-image {
margin-left: 0rem;
margin-right: 0rem;
2020-04-27 21:51:46 +02:00
}
2020-08-28 11:35:11 +02:00
.smaller-image,
.smaller-image-2 {
2020-04-27 21:51:46 +02:00
width: 350px;
height: 190px;
}
}
2020-04-27 16:47:24 +02:00
2020-04-27 08:01:30 +02:00
2020-04-27 21:51:46 +02:00
/* ---------------------------------------------------
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;
2021-05-22 20:28:06 +02:00
left: -50%;
2020-04-27 21:51:46 +02:00
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: 10rem;
2020-04-27 21:51:46 +02:00
left: calc(100% - 10rem);
z-index : 550;
}
2021-02-01 10:11:57 +01:00
.bg-localize {
2021-05-02 22:30:19 +02:00
top: -3.3rem;
2021-04-09 09:47:26 +02:00
left: calc(100% - 16rem);
2021-05-02 22:30:19 +02:00
width: 250px;
2021-02-01 10:11:57 +01:00
z-index : 560;
}
2021-05-02 22:30:19 +02:00
.bg-customize-a {
top: 14rem;
left: 7%;
width: 250px;
z-index : 572;
}
.bg-customize-b {
top: 18.5rem;
left: 50%;
transform: translateX(-50%);
width: 250px;
z-index : 571;
}
.bg-customize-c {
top: 22.8rem;
right: 7%;
width: 250px;
z-index : 570;
}
2020-04-27 21:51:46 +02:00
.bg-cta-pfeil {
2024-05-27 15:32:20 +02:00
top: -11rem;
2020-04-27 21:51:46 +02:00
left: 66%;
2021-05-02 22:30:19 +02:00
z-index : 580;
2020-04-27 21:51:46 +02:00
}
2020-05-24 20:08:40 +02:00
2020-04-27 21:51:46 +02:00
@media only screen and (min-width: 30em) {
.bg-feature-1 {
left: calc(50% - 21rem);
}
.bg-feature-3 {
2021-05-22 20:28:06 +02:00
left: calc(50% - 28rem);
2020-04-27 21:51:46 +02:00
}
.bg-compare-c-pfeil {
top: -5rem;
left: 10rem;
}
.bg-metrics-bulb {
top: 11rem;
left: calc(100% - 30rem);
}
2021-02-01 10:11:57 +01:00
.bg-localize {
2021-05-02 22:30:19 +02:00
top: -4.3rem;
left: calc(100% - 26rem);
2021-05-02 22:30:19 +02:00
width: 300px;
}
.bg-customize-a {
top: 14rem;
left: calc(30% - 6rem);
}
.bg-customize-b {
top: 17.5rem;
left: calc(30% + 5rem);
}
.bg-customize-c {
top: 21.7rem;
left: calc(30% + 1rem);
2021-04-09 09:47:26 +02:00
}
2020-04-27 21:51:46 +02:00
.bg-cta-pfeil {
2024-05-27 15:32:20 +02:00
top: -12rem;
2020-04-27 21:51:46 +02:00
left: 72%;
}
}
@media only screen and (min-width: 60em) {
.bg-feature-1 {
left: -50%;
}
.bg-feature-3 {
left: -50%;
}
.bg-metrics-bulb {
top: -2rem;
2020-04-27 21:51:46 +02:00
left: calc(100% - 20rem);
}
2021-02-01 10:11:57 +01:00
.bg-localize {
2021-05-02 22:30:19 +02:00
top: 4.5rem;
left: 35rem;
width: 400px;
}
.bg-customize-a {
top: 5rem;
left: 28rem;
2021-05-02 23:01:00 +02:00
width: 300px;
2021-05-02 22:30:19 +02:00
}
.bg-customize-b {
top: 10.5rem;
2021-05-02 23:01:00 +02:00
left: 46rem;
width: 300px;
2021-05-02 22:30:19 +02:00
}
.bg-customize-c {
2021-05-02 23:01:00 +02:00
top: 15.5rem;
2021-05-02 22:30:19 +02:00
left: 22rem;
2021-05-02 23:01:00 +02:00
width: 300px;
2021-02-01 10:11:57 +01:00
}
2020-04-27 21:51:46 +02:00
.bg-cta-pfeil {
top: -12rem;
left: 66%;
}
}
2020-04-27 08:01:30 +02:00
2020-04-27 21:51:46 +02:00
/* ---------------------------------------------------
BACKROUND IMAGES
----------------------------------------------------*/
2020-07-09 13:46:02 +02:00
.bg-feature-2 {
2020-04-27 21:51:46 +02:00
background: url(/theme/images/gfx-feature-2.png) center;
background-repeat: no-repeat;
background-size: 640px 480px;
transform: rotate(180deg);
2020-01-31 21:58:30 +01:00
}
2020-07-09 13:46:02 +02:00
.bg-pattern {
2020-04-27 21:51:46 +02:00
background: url(/theme/images/gfx-bg-pattern.svg) 8rem 2rem;
2020-02-01 21:47:08 +01:00
}
2020-07-09 13:46:02 +02:00
.bg-explainer {
2020-04-27 21:51:46 +02:00
background:
url(/theme/images/gfx-bg-explainer.svg) top center repeat-x,
url(/theme/images/gfx-bg-explainer.svg) bottom center repeat-x;
2020-02-01 21:47:08 +01:00
}
2019-12-27 23:09:42 +01:00
2019-12-22 12:56:02 +01:00
/* ---------------------------------------------------
MENU
----------------------------------------------------*/
.nav-bar {
2019-12-23 07:23:47 +01:00
height: 4rem;
2019-12-22 12:56:02 +01:00
}
.icon {
position: absolute;
2019-12-23 19:44:46 +01:00
padding: 0.7rem 0 0 1.2rem;
2019-12-22 12:56:02 +01:00
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;
2020-08-05 22:37:56 +02:00
padding: 0 1.2rem;
2019-12-23 07:23:47 +01:00
line-height: 4rem;
2019-12-22 12:56:02 +01:00
text-decoration: none;
font-weight: 700;
2019-12-23 07:23:47 +01:00
background: #F7BF08;
color: #39352A;
2019-12-22 12:56:02 +01:00
}
2020-02-01 23:03:19 +01:00
nav ul li:last-child a {
padding-right: 2rem;
background: #39352A;
color: #fff;
}
2019-12-22 12:56:02 +01:00
nav ul li a:hover,
nav ul li a:visited:hover {
2019-12-23 07:23:47 +01:00
color: #39352A;
2019-12-22 12:56:02 +01:00
}
2020-02-01 23:03:19 +01:00
nav ul li:last-child a:hover,
nav ul li:last-child a:visited:hover {
color: #fff;
}
2019-12-22 12:56:02 +01:00
nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
2019-12-23 19:44:46 +01:00
padding-left: 0.4rem;
2019-12-22 12:56:02 +01:00
content: ' â–¾';
}
nav ul li ul li {
2019-12-23 19:44:46 +01:00
min-width: 10rem;
2019-12-22 12:56:02 +01:00
}
nav ul li ul li a {
2019-12-23 19:44:46 +01:00
padding: 1rem;
line-height: 1.5rem;
2019-12-22 12:56:02 +01:00
}
.nav-dropdown {
position: absolute;
display: none;
z-index: 1;
}
.nav-mobile {
display: none;
position: absolute;
top: 0;
right: 0;
2019-12-23 07:23:47 +01:00
background: #F7BF08;
height: 4rem;
width: 4rem;
2019-12-22 12:56:02 +01:00
}
2019-12-27 12:57:02 +01:00
/* Custom media query */
2019-12-23 19:44:46 +01:00
@media only screen and (max-width: 60rem) {
2019-12-22 12:56:02 +01:00
.nav-list {
2019-12-23 19:44:46 +01:00
margin: 0;
2021-05-13 09:58:06 +02:00
height: 0;
overflow: hidden;
transition: all .6s;
}
body.no-js .nav-list {
transition: none;
}
.nav-list.active, body.no-js .nav-list {
2021-05-13 09:58:06 +02:00
height: 280px;
2019-12-22 12:56:02 +01:00
}
2019-12-22 12:56:02 +01:00
.nav-mobile {
display: block;
}
nav {
width: 100%;
2019-12-23 16:08:40 +01:00
padding: 0;
2019-12-23 07:23:47 +01:00
padding-top: 4rem;
2019-12-22 12:56:02 +01:00
}
nav ul li {
float: none;
}
nav ul li a {
2019-12-23 19:44:46 +01:00
padding: 1rem;
line-height: 1;
2020-02-01 23:03:19 +01:00
padding-left: 4.2rem;
2019-12-22 12:56:02 +01:00
}
nav ul li ul li a {
padding-left: 30%;
}
nav ul li:last-child a {
2020-02-01 23:03:19 +01:00
padding-bottom: 1.2rem;
margin: 0;
box-shadow: 0px 7px 15px -6px rgba(57,53,42,0.2);
2019-12-22 12:56:02 +01:00
}
2020-02-01 23:03:19 +01:00
nav ul li:first-child a {
padding-top: 0.2rem;
}
2019-12-22 12:56:02 +01:00
.nav-dropdown {
position: static;
}
}
/* Desktop Styles */
2019-12-23 19:44:46 +01:00
@media screen and (min-width: 60.1rem) {
2019-12-22 12:56:02 +01:00
.nav-list {
display: block !important;
}
}
#nav-toggle {
position: absolute;
2019-12-23 19:44:46 +01:00
left: 1rem;
top: 1rem;
2019-12-22 12:56:02 +01:00
cursor: pointer;
2019-12-23 19:44:46 +01:00
padding: 1rem 2rem 1rem 0;
2019-12-22 12:56:02 +01:00
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
cursor: pointer;
2019-12-23 19:44:46 +01:00
height: 0.1rem;
width: 1.6rem;
2019-12-23 07:23:47 +01:00
background: #39352A;
2019-12-22 12:56:02 +01:00
position: absolute;
display: block;
content: '';
/*
transition: all 300ms ease-in-out;
*/
}
#nav-toggle span:before {
2019-12-23 19:44:46 +01:00
top: -0.5rem;
2019-12-22 12:56:02 +01:00
}
#nav-toggle span:after {
2019-12-23 19:44:46 +01:00
bottom: -0.5rem;
2019-12-22 12:56:02 +01:00
}
#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);
2019-12-22 19:02:00 +01:00
}