|
@@ -1,10 +1,10 @@
|
|
/* Variables */
|
|
/* Variables */
|
|
:root {
|
|
:root {
|
|
- --preferred-columns: 5;
|
|
|
|
- --columns: var(--preferred-columns);
|
|
|
|
--tile-margin: .9vw;
|
|
--tile-margin: .9vw;
|
|
|
|
+ --caption-hmargin: calc(2 * var(--tile-margin));
|
|
|
|
+ --caption-vmargin: calc(1 * var(--tile-margin));
|
|
--body-margin: 3.6vw;
|
|
--body-margin: 3.6vw;
|
|
- --theme-color: #ff2d00;
|
|
|
|
|
|
+ --theme-color: #46c8a5;
|
|
/* --tile-margin: 12.75px; */
|
|
/* --tile-margin: 12.75px; */
|
|
/* --body-margin: 66px; */
|
|
/* --body-margin: 66px; */
|
|
--header-inner-space: calc(8 * var(--tile-margin));
|
|
--header-inner-space: calc(8 * var(--tile-margin));
|
|
@@ -12,25 +12,22 @@
|
|
}
|
|
}
|
|
/* Columns */
|
|
/* Columns */
|
|
@media (min-width: 1501px) {
|
|
@media (min-width: 1501px) {
|
|
- :root { --columns: min(var(--preferred-columns), 6); }
|
|
|
|
|
|
+ :root { --columns: 5; }
|
|
}
|
|
}
|
|
@media (max-width: 1500px) {
|
|
@media (max-width: 1500px) {
|
|
- :root { --columns: min(var(--preferred-columns), 5); }
|
|
|
|
-}
|
|
|
|
-@media (max-width: 1500px) {
|
|
|
|
- :root { --columns: min(var(--preferred-columns), 5); }
|
|
|
|
|
|
+ :root { --columns: 5; }
|
|
}
|
|
}
|
|
@media (max-width: 1000px) {
|
|
@media (max-width: 1000px) {
|
|
- :root { --columns: min(var(--preferred-columns), 4); }
|
|
|
|
|
|
+ :root { --columns: 4; }
|
|
}
|
|
}
|
|
@media (max-width: 700px) {
|
|
@media (max-width: 700px) {
|
|
- :root { --columns: min(var(--preferred-columns), 3); }
|
|
|
|
|
|
+ :root { --columns: 3; }
|
|
}
|
|
}
|
|
@media (max-width: 500px) {
|
|
@media (max-width: 500px) {
|
|
- :root { --columns: min(var(--preferred-columns), 2); }
|
|
|
|
|
|
+ :root { --columns: 2; }
|
|
}
|
|
}
|
|
@media (max-width: 400px) {
|
|
@media (max-width: 400px) {
|
|
- :root { --columns: min(var(--preferred-columns), 1); }
|
|
|
|
|
|
+ :root { --columns: 2; }
|
|
}
|
|
}
|
|
/* Font Size */
|
|
/* Font Size */
|
|
:root {
|
|
:root {
|
|
@@ -65,28 +62,28 @@ h1 {
|
|
}
|
|
}
|
|
#logo {
|
|
#logo {
|
|
width: 10vw;
|
|
width: 10vw;
|
|
- margin: 0 .7vw -.5vw .5vw;
|
|
|
|
|
|
+ margin: 0 .7vw -.9vw .5vw;
|
|
}
|
|
}
|
|
/* @media (max-width: 460px) {
|
|
/* @media (max-width: 460px) {
|
|
#logo { width: 130px; }
|
|
#logo { width: 130px; }
|
|
} */
|
|
} */
|
|
/* Typographies */
|
|
/* Typographies */
|
|
@font-face {
|
|
@font-face {
|
|
- font-family: 'nexa-light';
|
|
|
|
- src: url('/static/font/nexa-light-regular.otf') format('opentype');
|
|
|
|
|
|
+ font-family: 'akrobat-regular';
|
|
|
|
+ src: url('/static/font/Akrobat-Regular.otf') format('opentype');
|
|
}
|
|
}
|
|
@font-face {
|
|
@font-face {
|
|
- font-family: 'geoslab';
|
|
|
|
- src: url('/static/font/geoslab703-md-bt-bold.ttf') format('truetype');
|
|
|
|
|
|
+ font-family: 'akrobat-bold';
|
|
|
|
+ src: url('/static/font/Akrobat-Bold.otf') format('opentype');
|
|
}
|
|
}
|
|
/* Rules */
|
|
/* Rules */
|
|
:root {
|
|
:root {
|
|
- font-family: 'nexa-light';
|
|
|
|
|
|
+ font-family: 'akrobat-regular';
|
|
letter-spacing: 1.5px;
|
|
letter-spacing: 1.5px;
|
|
}
|
|
}
|
|
.sec-div {
|
|
.sec-div {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- font-family: 'nexa-light';
|
|
|
|
|
|
+ font-family: 'akrobat-regular';
|
|
}
|
|
}
|
|
a {
|
|
a {
|
|
color: black;
|
|
color: black;
|
|
@@ -97,17 +94,18 @@ a.en {
|
|
margin-bottom: .5em;
|
|
margin-bottom: .5em;
|
|
}
|
|
}
|
|
h1 {
|
|
h1 {
|
|
- margin: .5em 0;
|
|
|
|
|
|
+ font-size: 1.1em;
|
|
text-align: center;
|
|
text-align: center;
|
|
letter-spacing: 1px;
|
|
letter-spacing: 1px;
|
|
font-weight: 100;
|
|
font-weight: 100;
|
|
- font-family: 'geoslab';
|
|
|
|
|
|
+ font-family: 'akrobat-bold';
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
text-transform: uppercase;
|
|
|
|
+ margin: .2em 0;
|
|
}
|
|
}
|
|
h2 {
|
|
h2 {
|
|
font-size: .9em;
|
|
font-size: .9em;
|
|
- font-family: 'geoslab';
|
|
|
|
|
|
+ font-family: 'akrobat-bold';
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
@@ -249,31 +247,36 @@ figure {
|
|
margin: var(--tile-margin);
|
|
margin: var(--tile-margin);
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
-figure img {
|
|
|
|
|
|
+figure img, svg {
|
|
display: flex;
|
|
display: flex;
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
+ height: 100%;
|
|
}
|
|
}
|
|
figure figcaption {
|
|
figure figcaption {
|
|
|
|
+ font-size: 0;
|
|
|
|
+ padding: 0 var(--caption-hmargin);
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
position: absolute;
|
|
- padding: calc(2 * var(--tile-margin));
|
|
|
|
- background-color: var(--theme-color);
|
|
|
|
|
|
+ background-color: white;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
- width: calc(100% - var(--tile-margin) * 4);
|
|
|
|
- opacity: 0;
|
|
|
|
|
|
+ width: calc(100% - 2 * var(--caption-hmargin));
|
|
|
|
+ opacity: 1;
|
|
height: 0;
|
|
height: 0;
|
|
}
|
|
}
|
|
figure:hover figcaption {
|
|
figure:hover figcaption {
|
|
- opacity: 1;
|
|
|
|
|
|
+ font-size: .9em;
|
|
|
|
+ padding: var(--caption-vmargin) var(--caption-hmargin);
|
|
transition: .3s ease;
|
|
transition: .3s ease;
|
|
|
|
+ height: auto;
|
|
}
|
|
}
|
|
-figure.v:hover figcaption {
|
|
|
|
- height: 21%;
|
|
|
|
|
|
+figcaption h1 {
|
|
|
|
+ margin: 0;
|
|
}
|
|
}
|
|
-figure.h:hover figcaption,
|
|
|
|
-figure.s:hover figcaption {
|
|
|
|
- height: 30%;
|
|
|
|
|
|
+.caption {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: flex-start;
|
|
}
|
|
}
|
|
footer {
|
|
footer {
|
|
display: flex;
|
|
display: flex;
|