From 0213fd2dcd09ca4b1252cdc45415a765a887d679 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 9 Sep 2024 22:28:33 -0400 Subject: feat: teams and blurbs but lots of todos --- brochure/brochure.html | 38 --------------------- brochure/brochure.js | 34 ------------------ brochure/index.php | 24 ------------- brochure/styles.css | 93 -------------------------------------------------- 4 files changed, 189 deletions(-) delete mode 100644 brochure/brochure.html delete mode 100644 brochure/brochure.js delete mode 100644 brochure/index.php delete mode 100644 brochure/styles.css (limited to 'brochure') diff --git a/brochure/brochure.html b/brochure/brochure.html deleted file mode 100644 index 6690f4d..0000000 --- a/brochure/brochure.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - -
-
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
-
diff --git a/brochure/brochure.js b/brochure/brochure.js deleted file mode 100644 index 4872373..0000000 --- a/brochure/brochure.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright (c) 2024 by Daniel Pox (https://codepen.io/danielpox/pen/abOopYo) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - - -document.addEventListener("DOMContentLoaded", (event) => { - const paper = document.querySelector(".paper"); - - const flipButton = document.querySelector("button") - flipButton.addEventListener("click", () => { - paper.classList.toggle("flip") - }) - - const leftSide = paper.querySelector(".page.left"); - leftSide.addEventListener("click", () => { - leftSide.classList.toggle("open") - }); - - const rightSide = paper.querySelector(".page.right"); - rightSide.addEventListener("click", () => { - rightSide.classList.toggle("open") - }); - - const centerSide = paper.querySelector(".page.center"); - centerSide.addEventListener("click", () => { - centerSide.classList.toggle("open") - }); -}); diff --git a/brochure/index.php b/brochure/index.php deleted file mode 100644 index 6dd3621..0000000 --- a/brochure/index.php +++ /dev/null @@ -1,24 +0,0 @@ - - - -
- - -

- Click on pages to fold and unfold and use Flip to toggle front and back. This works best on a tablet or desktop screen. -

- - - -
- -
- - - diff --git a/brochure/styles.css b/brochure/styles.css deleted file mode 100644 index 2abb118..0000000 --- a/brochure/styles.css +++ /dev/null @@ -1,93 +0,0 @@ -/* -Copyright (c) 2024 by Daniel Pox (https://codepen.io/danielpox/pen/abOopYo) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - - -.paper { - display: grid; - - width: 8.25rem; - - grid-template-columns: 8.25rem; - grid-template-rows: 19.41rem; /* .425 aspect */ - - margin: 2rem auto; - - transform-style: preserve-3d; - transition: transform linear 1s; -} -.paper.flip { - transform: rotateY(180deg); -} - -.paper .page { - display: inline-block; - - grid-column: 1 / 2; - grid-row: 1 / 2; - - position: relative; - - transform-style: preserve-3d; - - box-shadow: 0 4px 8px #0001; -} - -.paper .page .side { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - - background: white; - backface-visibility: hidden; -} - -.paper .page .side.back { - transform: rotateY(180deg); -} - -.page { - transition: transform linear 1s; -} -.left.open { - transform: rotateY(-180deg); -} -.right.open { - transform: rotateY(180deg); -} - -.paper .page .side { - box-shadow: inset 1px 0 #f2f2f2, inset -1px 0 #f2f2f2; -} - -.side img { - max-width: 100%; - max-height: 100%; -} - -.left { - transform: translateZ(2px); - transform-origin: center left; -} - -.right { - transform: translateZ(1px); - transform-origin: center right; -} - -@media only screen and (min-width: 1500px) { - .paper { - width: 21.25em; - - grid-template-columns: 21.25em; - grid-template-rows: 50em; /* .425 aspect */ - } -} -- cgit v1.2.3