|
@@ -36,15 +36,13 @@ const Home = () => {
|
|
.next-training {
|
|
.next-training {
|
|
padding: 1.2em 0.3em;
|
|
padding: 1.2em 0.3em;
|
|
}
|
|
}
|
|
-
|
|
|
|
.training-title {
|
|
.training-title {
|
|
- grid-area: title;
|
|
|
|
margin: 0.3em 0;
|
|
margin: 0.3em 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
font-size: 3.4rem;
|
|
font-size: 3.4rem;
|
|
font-weight: 300;
|
|
font-weight: 300;
|
|
text-transform: uppercase;
|
|
text-transform: uppercase;
|
|
- color: ${theme.colors.offWhite};
|
|
|
|
|
|
+ color: ${theme.colors.presentationBackground};
|
|
margin: 0.3em 0;
|
|
margin: 0.3em 0;
|
|
position: relative;
|
|
position: relative;
|
|
}
|
|
}
|
|
@@ -57,19 +55,9 @@ const Home = () => {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: -1rem;
|
|
top: -1rem;
|
|
left: 1rem;
|
|
left: 1rem;
|
|
- color: ${theme.colors.darkerblue};
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- :global(.training-program) {
|
|
|
|
- grid-area: program;
|
|
|
|
|
|
+ color: ${theme.colors.highlight};
|
|
}
|
|
}
|
|
- :global(.training-archive) {
|
|
|
|
- grid-area: archive;
|
|
|
|
- }
|
|
|
|
- :global(.training-meta) {
|
|
|
|
- grid-area: info;
|
|
|
|
- }
|
|
|
|
- @media (min-width: 600px) {
|
|
|
|
|
|
+ @media (min-width: ${theme.midsize}) {
|
|
.next-training {
|
|
.next-training {
|
|
display: grid;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-columns: 1fr auto;
|
|
@@ -79,11 +67,22 @@ const Home = () => {
|
|
'archive archive';
|
|
'archive archive';
|
|
column-gap: 1em;
|
|
column-gap: 1em;
|
|
}
|
|
}
|
|
|
|
+ .training-title {
|
|
|
|
+ grid-area: title;
|
|
|
|
+ }
|
|
|
|
+ :global(.training-meta) {
|
|
|
|
+ grid-area: info;
|
|
|
|
+ }
|
|
|
|
+ :global(.training-program) {
|
|
|
|
+ grid-area: program;
|
|
|
|
+ }
|
|
|
|
+ :global(.training-archive) {
|
|
|
|
+ grid-area: archive;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- @media (min-width: 1024px) {
|
|
|
|
|
|
+ @media (min-width: ${theme.fullsize}) {
|
|
.next-training {
|
|
.next-training {
|
|
padding: 3em 3em;
|
|
padding: 3em 3em;
|
|
- display: grid;
|
|
|
|
grid-template-columns: 2fr 1fr;
|
|
grid-template-columns: 2fr 1fr;
|
|
grid-template-rows: auto 1fr auto;
|
|
grid-template-rows: auto 1fr auto;
|
|
grid-template-areas:
|
|
grid-template-areas:
|
|
@@ -93,15 +92,16 @@ const Home = () => {
|
|
column-gap: 2em;
|
|
column-gap: 2em;
|
|
background-image: linear-gradient(
|
|
background-image: linear-gradient(
|
|
to bottom,
|
|
to bottom,
|
|
- #84cae7,
|
|
|
|
- #84cae7 400px,
|
|
|
|
- #cdcdcd 400px,
|
|
|
|
- #ebebeb 406px
|
|
|
|
|
|
+ ${theme.colors.presentationBackground},
|
|
|
|
+ ${theme.colors.presentationBackground} 400px,
|
|
|
|
+ ${theme.colors.black}44 400px,
|
|
|
|
+ ${theme.colors.background} 406px
|
|
);
|
|
);
|
|
}
|
|
}
|
|
.training-title {
|
|
.training-title {
|
|
font-size: 5rem;
|
|
font-size: 5rem;
|
|
margin: 0;
|
|
margin: 0;
|
|
|
|
+ color: ${theme.colors.presentation}
|
|
}
|
|
}
|
|
.training-title::before {
|
|
.training-title::before {
|
|
font-size: 1.4rem;
|
|
font-size: 1.4rem;
|
|
@@ -109,20 +109,15 @@ const Home = () => {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: -0.7rem;
|
|
top: -0.7rem;
|
|
left: 0.8rem;
|
|
left: 0.8rem;
|
|
- color: ${theme.colors.darkerblue};
|
|
|
|
|
|
+ color: ${theme.colors.presentation};
|
|
}
|
|
}
|
|
.training-meta-wrap {
|
|
.training-meta-wrap {
|
|
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
|
|
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
|
|
}
|
|
}
|
|
.next-training :global(.training-meta) {
|
|
.next-training :global(.training-meta) {
|
|
- grid-area: info;
|
|
|
|
- width: 700px;
|
|
|
|
- margin-left: auto;
|
|
|
|
- padding: 2em;
|
|
|
|
- padding-top: 11.5em;
|
|
|
|
- color: ${theme.colors.offWhite};
|
|
|
|
|
|
+ padding-top: 6em;
|
|
|
|
+ color: ${theme.colors.white};
|
|
height: 300px;
|
|
height: 300px;
|
|
- background-color: #efefef;
|
|
|
|
background-image: url('/media/man_working_out.jpg');
|
|
background-image: url('/media/man_working_out.jpg');
|
|
background-size: auto 100%;
|
|
background-size: auto 100%;
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|