Compare commits
4 commits
0481fdcf66
...
aea396180a
Author | SHA1 | Date | |
---|---|---|---|
b12f | aea396180a | ||
Benjamin Yule Bädorf | 68e3aab8d1 | ||
Benjamin Yule Bädorf | 424274cda4 | ||
Benjamin Yule Bädorf | c1acb631ff |
|
@ -46,6 +46,7 @@ site.loadAssets([ ".js" ]);
|
||||||
|
|
||||||
site.copy("fonts");
|
site.copy("fonts");
|
||||||
site.copy("img");
|
site.copy("img");
|
||||||
|
site.copy("favicon.ico");
|
||||||
|
|
||||||
site.filter("title", (value = '') => value + (value ? " | " : "") + "MiOM");
|
site.filter("title", (value = '') => value + (value ? " | " : "") + "MiOM");
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>{{ title |> title |> safe }}</title>
|
<title>{{ title |> title |> safe }}</title>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/favicon.png" />
|
<link rel="shortcut icon" href="/favicon.ico" />
|
||||||
|
|
||||||
<meta name="theme-color" content="{{ themeColor }}" id="theme-color" />
|
<meta name="theme-color" content="{{ themeColor }}" id="theme-color" />
|
||||||
<meta name="description" content="MiOM Kreativraum is a creative space in Cologne, Germany">
|
<meta name="description" content="MiOM Kreativraum is a creative space in Cologne, Germany">
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<source media="(min-width: 800px) and (max-width: 1400)" srcset="/img/logo-500.jpg" />
|
<source media="(min-width: 800px) and (max-width: 1400)" srcset="/img/logo-500.jpg" />
|
||||||
<source media="(min-width: 1401px) and (max-width: 1899px)" srcset="/img/logo-700.jpg" />
|
<source media="(min-width: 1401px) and (max-width: 1899px)" srcset="/img/logo-700.jpg" />
|
||||||
<source media="(min-width: 1900px)" srcset="/img/logo-1000.jpg" />
|
<source media="(min-width: 1900px)" srcset="/img/logo-1000.jpg" />
|
||||||
<img class="mi-logo--img" src="/img/logo-1000.jpg" alt="MiOM Logo" />
|
<img class="mi-logo--img" src="/img/logo-500.jpg" alt="MiOM Logo" />
|
||||||
</picture>
|
</picture>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -26,12 +26,14 @@
|
||||||
<source media="(min-width: 501px)" srcset="/img/home-{{ card.image.url }}-700.jpg" />
|
<source media="(min-width: 501px)" srcset="/img/home-{{ card.image.url }}-700.jpg" />
|
||||||
<img
|
<img
|
||||||
class="mi-card--background"
|
class="mi-card--background"
|
||||||
src="/img/home-{{ card.image.url }}-700.jpg"
|
src="/img/home-{{ card.image.url }}-500.jpg"
|
||||||
alt="{{ card.image.alt }}"
|
alt="{{ card.image.alt }}"
|
||||||
/>
|
/>
|
||||||
</picture>
|
</picture>
|
||||||
<div class="mi-card--text">{{ card.text }}</div>
|
<div class="mi-card--text">{{ card.text }}</div>
|
||||||
</a>
|
</a>
|
||||||
{{ /for }}
|
{{ /for }}
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
<div class="mi-page-filler"></div>
|
||||||
{{ /layout }}
|
{{ /layout }}
|
||||||
|
|
BIN
favicon.ico
Normal file
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 328 KiB |
BIN
img/logo-500.jpg
Before Width: | Height: | Size: 305 KiB After Width: | Height: | Size: 72 KiB |
BIN
img/logo-700.jpg
Before Width: | Height: | Size: 635 KiB After Width: | Height: | Size: 136 KiB |
10
styles.css
|
@ -69,6 +69,13 @@ h4 {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mi-page-filler {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
flex-basis: 0;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.mi-border {
|
.mi-border {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
@ -317,7 +324,7 @@ h4 {
|
||||||
.mi-main {
|
.mi-main {
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
margin: 0 var(--box-padding);
|
margin: 0 var(--box-padding);
|
||||||
flex-grow: 1;
|
flex-grow: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: var(--box-padding);
|
margin-bottom: var(--box-padding);
|
||||||
}
|
}
|
||||||
|
@ -346,6 +353,7 @@ h4 {
|
||||||
background: var(--foreground);
|
background: var(--foreground);
|
||||||
grid-gap: 1px;
|
grid-gap: 1px;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
|
padding-bottom: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 800px) {
|
@media screen and (min-width: 800px) {
|
||||||
|
|