diff --git a/.DS_Store b/.DS_Store index cb9e1ba..7d791c0 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/css/style.css b/css/style.css index 0dbb314..1ca5b15 100644 --- a/css/style.css +++ b/css/style.css @@ -35,6 +35,10 @@ a { color: currentColor; } +a::after { + content: "↗"; +} + header { height: 100vh; display: flex; @@ -42,26 +46,35 @@ header { align-items: center; } +main { + max-width: 45ch; + margin: 0 auto; +} + h1 { font-size: clamp(24px, 2rem + 2vw, 96px); line-height: 1.2; text-transform: uppercase; font-family: "SI17"; text-align: center; - z-index: 1000; - /* color: white; */ - /* opacity: 0.75; */ - color: transparent; user-select: none; - -webkit-text-fill: transparent; - -webkit-text-stroke: 1.5px white; + z-index: 1000; + color: white; + opacity: 0.75; + /* color: transparent; */ + /* -webkit-text-fill: transparent; */ + /* -webkit-text-stroke: 1.5px white; */ } -.filtered { +h2, +h3 { + margin-top: 3rem; +} + +.img { display: inline-block; width: var(--size); height: var(--size); - background-color: var(--color); margin: 0; position: relative; } @@ -110,14 +123,17 @@ ol li { .index { padding: 0; - /* display: flex; + display: flex; flex-wrap: wrap; justify-content: center; - align-items: center; */ + align-items: center; + line-height: 1.4; + text-align: center; } .index li { - flex: 1; + /* flex: 1; */ + display: inline-block; text-transform: uppercase; /* font-weight: bold; @@ -126,6 +142,10 @@ ol li { -webkit-text-stroke: 2px var(--color); */ } +.index li + li { + margin-left: 1ch; +} + .index li:hover { color: var(--color); } @@ -139,6 +159,20 @@ ol li { text-decoration: none; } +.download { + font-size: 120px; + text-align: center; +} + +.contents, +.download { + margin: 2rem auto; +} + +a { + text-decoration: none; +} + a.purple, a.orange { display: inline-block; @@ -146,6 +180,8 @@ a.orange { width: 1em; height: 1em; margin: 0 4px; + position: relative; + z-index: 200; } a.purple { @@ -155,6 +191,12 @@ a.orange { background-color: var(--orange); } +a.purple::after, +a.orange::after, +.purchase::after { + content: ""; +} + .signed { transform: translateY(100%); } @@ -176,3 +218,50 @@ h3::first-letter, margin: 0; padding: 0; } + +svg { + width: 100%; + height: 100%; + object-fit: contain; + vertical-align: middle; +} + +@media (max-width: 767.98px) { + :root { + --size: 21px; + } + + body { + cursor: default; + margin: 0 4px; + } + + .download { + font-size: 24px; + } + + .index { + display: block; + text-align: left; + justify-content: start; + } + + .index li { + display: block; + margin: 0 !important; + } + + h1 { + color: var(--color); + opacity: 1; + } + + h2, + h3 { + font-size: 28px; + } + + .box { + display: none; + } +} diff --git a/img/favi-orange.ico b/favi-orange.ico similarity index 100% rename from img/favi-orange.ico rename to favi-orange.ico diff --git a/img/favi-purple.ico b/favi-purple.ico similarity index 100% rename from img/favi-purple.ico rename to favi-purple.ico diff --git a/home.html b/home.html index faa27c5..1e5c950 100644 --- a/home.html +++ b/home.html @@ -27,17 +27,27 @@

Dear Player,

I found you for a reason. Welcome to my productive space. Here play meets work. - Time is ordered in unusual ways and patterns unravel. Together, we mess with the - boundaries between leisure and labour. + Time is ordered in unusual ways and patterns unravel. + + + + Together, we mess with the boundaries between leisure and labour.

How are your boundaries? - + - Maybe you shouldn’t go to work tomorrow. But could you really follow your own - schedule? Would you be more productive if you chose when to work? + Maybe you shouldn’t go to work tomorrow. + + production line + + But could you really follow your own schedule? + + post it on a table + + Would you be more productive if you chose when to work?

I never rest and I never work.

@@ -48,147 +58,151 @@

- Make all the notes you find inside me your own. Curate them, spread them, mark - them, scratch them, add to them, subtract from them, play with them! Lay them on - any surface and reorganise them. -

-

- However you decide to take care of me, remember: -
- I found you for a reason. -

-

- The box + Make all the notes you find inside me your own. + + + + Curate them, spread them, mark them, scratch them, add to them, subtract from + them, play with them! + + post it on a table + + Lay them on any surface and reorganise them.

+

However you decide to take care of me, remember:

+

I found you for a reason.

+

The box

-

Inside this publication:

- +
+

Inside this publication:

+ -
- Download → - -
- Purchase → - -
@@ -214,7 +228,7 @@

- Discover FNP + Discover FNP
@@ -305,16 +319,21 @@

License:

- This Box Found You For A Reason
- 2022 XPUB Special Issue 17 + This Box Found You For A Reason + +
+ 2022 XPUB Special Issue 17

- Copyleft attitude with a difference:
- you are invited to share the publication or parts of it with others under the - terms of the - CC4r license + Copyleft attitude with a difference: +
+ + you are invited to share the publication or parts of it with others under + the terms of the + CC4r license +

diff --git a/img/tarot.jpg b/img/tarot.jpg new file mode 100644 index 0000000..6cde11c Binary files /dev/null and b/img/tarot.jpg differ diff --git a/js/color.js b/js/color.js index 39206bc..f2d955c 100644 --- a/js/color.js +++ b/js/color.js @@ -16,4 +16,12 @@ window.addEventListener("load", () => { lightColor = palettes[shade]["lightColor"]; document.documentElement.style.setProperty("--color", color); document.documentElement.style.setProperty("--light-color", lightColor); + + var link = document.querySelector("link[rel~='icon']"); + if (!link) { + link = document.createElement("link"); + link.rel = "icon"; + document.getElementsByTagName("head")[0].appendChild(link); + } + link.href = `favi-${shade}.ico`; }); diff --git a/js/sentence.js b/js/sentence.js index 81e0963..ac5c91e 100644 --- a/js/sentence.js +++ b/js/sentence.js @@ -13,14 +13,22 @@ function capitals(sentence) { let content = sentence.textContent.trim(); if (content) { + let link = sentence.querySelector("a"); + let first = content[0]; let rest = content.substring(1); - sentence.innerHTML = rest; let capital = document.createElement("span"); capital.classList.add("first"); capital.innerHTML = first; - sentence.prepend(capital); + if (link) { + link.innerHTML = rest; + link.prepend(capital); + sentence.appendChild(link); + } else { + sentence.innerHTML = rest; + sentence.prepend(capital); + } } }