summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/brochure.css93
-rw-r--r--static/desktop.css56
-rw-r--r--static/favicon.icobin0 -> 327262 bytes
-rw-r--r--static/linkchecker-out.sitemap.xml68
-rw-r--r--static/nav.js49
-rw-r--r--static/styles.css235
-rw-r--r--static/widescreen.css8
7 files changed, 509 insertions, 0 deletions
diff --git a/static/brochure.css b/static/brochure.css
new file mode 100644
index 0000000..2abb118
--- /dev/null
+++ b/static/brochure.css
@@ -0,0 +1,93 @@
+/*
+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 */
+ }
+}
diff --git a/static/desktop.css b/static/desktop.css
new file mode 100644
index 0000000..cdfcd34
--- /dev/null
+++ b/static/desktop.css
@@ -0,0 +1,56 @@
+@media only screen and (min-width: 700px) {
+ body {
+ font-size: 1.25em;
+ }
+
+ section {
+ padding-top: 3em;
+ padding-bottom: 2em;
+ padding-left: 15em;
+ padding-right: 15em;
+ }
+
+ nav {
+ margin: 0;
+ padding: 0;
+ top: 0;
+ }
+
+ div.buttons {
+ flex-direction: row;
+ justify-content: center;
+ }
+
+ section.flexible {
+ flex-direction: row;
+ }
+
+ section.flexible div,
+ section.flexible figure {
+ flex-basis: 0;
+ }
+
+ section.flexible div {
+ flex-grow: 2;
+ }
+
+ section.flexible figure {
+ flex-grow: 1;
+ }
+
+ .logo img {
+ width: 15%;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ .card {
+ padding: 1em;
+ }
+
+ section.cards {
+ margin-left: 25%;
+ margin-right: 25%;
+ }
+} \ No newline at end of file
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..8ba4c15
--- /dev/null
+++ b/static/favicon.ico
Binary files differ
diff --git a/static/linkchecker-out.sitemap.xml b/static/linkchecker-out.sitemap.xml
new file mode 100644
index 0000000..adafa42
--- /dev/null
+++ b/static/linkchecker-out.sitemap.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- created by LinkChecker at 2025-06-04 22:23:17-004 -->
+<!-- Read the documentation at https://linkchecker.github.io/linkchecker/ -->
+<!-- Write comments and bugs to https://github.com/linkchecker/linkchecker/issues -->
+
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <url>
+ <loc>https://carpentertutoring.com</loc>
+ <changefreq>daily</changefreq>
+ <priority>1.00</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/highered</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/professional</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/blog</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/brochure</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/k12</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/policies</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/about</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/blog/Life%20After%20Graduation%3A%20Finding%20Meaning%20Beyond%20Grades</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/blog/How%20to%20Use%20AI%20in%20College--and%20What%20NOT%20to%20Do</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+ <url>
+ <loc>https://carpentertutoring.com/blog/Why%20We%20Procrastinate,%20and%20What%20We%20Can%20Do%20About%20It</loc>
+ <changefreq>daily</changefreq>
+ <priority>0.50</priority>
+ </url>
+</urlset>
+<!-- Stopped checking at 2025-06-04 22:23:29-004 (11 seconds) -->
diff --git a/static/nav.js b/static/nav.js
new file mode 100644
index 0000000..2a8d83d
--- /dev/null
+++ b/static/nav.js
@@ -0,0 +1,49 @@
+const overflow = [];
+const nav = document.querySelector('nav');
+const more = nav.children[nav.children.length - 1];
+let navToggled = false;
+
+function showMore() {
+ more.text = more.text.replace("Less", "More");
+ const itemHeight = nav.children[0].offsetHeight;
+
+ if (!nav.contains(more)) {
+ nav.appendChild(more);
+ }
+
+ while (overflow.length > 0 && nav.offsetHeight <= itemHeight) {
+ nav.insertBefore(overflow.pop(), more);
+ }
+
+ while (nav.children.length > 0 && nav.offsetHeight > itemHeight) {
+ overflow.push(nav.removeChild(nav.children[nav.children.length - 2]));
+ }
+
+ if (overflow.length == 0) {
+ nav.removeChild(more);
+ }
+
+ navToggled = false;
+}
+
+function showAll() {
+ while (overflow.length > 0) {
+ nav.insertBefore(overflow.pop(), more);
+ }
+
+}
+
+window.addEventListener('resize', showMore);
+document.addEventListener('DOMContentLoaded', showMore);
+
+function toggleNav() {
+ if (navToggled = !navToggled) {
+ more.text = more.text.replace("More", "Less");
+ showAll();
+ } else {
+ more.text = more.text.replace("Less", "More");
+ showMore();
+ }
+}
+
+more.addEventListener("click", toggleNav);
diff --git a/static/styles.css b/static/styles.css
new file mode 100644
index 0000000..5fcdfe9
--- /dev/null
+++ b/static/styles.css
@@ -0,0 +1,235 @@
+/* Colors */
+:root {
+ --darkteal: rgb(0, 100, 108);
+ --green: rgb(88, 169, 143);
+ --darkerteal: rgb(29, 133, 137);
+ --gray: rgb(157, 210, 211);
+ --teal: rgb(58, 165, 166);
+ --cyan: rgb(156, 210, 210);
+ --darkgray: rgb(127, 177, 181);
+ --darkgreen: rgb(59, 136, 114);
+ --yellow: rgb(186, 214, 187);
+}
+
+/* Elements */
+
+html,
+body {
+ margin: 0;
+ padding: 0;
+ font-family: "PT Sans", sans-serif;
+ color: dimgray;
+}
+
+body {
+ background-image: url("/assets/bg.webp");
+ background-size: 9em;
+}
+
+nav {
+ display: flex;
+ flex-wrap: wrap;
+ background-color: white;
+ position: fixed;
+ width: 100%;
+ z-index: 1;
+}
+
+nav img {
+ height: 1.4em;
+}
+
+nav a {
+ font-family: "PT Sans", sans-serif;
+ color: dimgray;
+ text-align: center;
+ text-decoration: none;
+ padding: 1em 1em;
+ transition: 0.15s;
+ cursor: pointer;
+}
+
+nav a:hover {
+ color: var(--darkteal);
+ background-color: lightgray;
+}
+
+div.buttons {
+ display: flex;
+ flex-direction: column;
+}
+
+h1 {
+ font-size: 2.75em;
+ color: var(--darkteal);
+ font-family: "Architects Daughter", cursive;
+}
+
+h2 {
+ font-size: 2em;
+ color: var(--darkteal);
+ font-family: "Indie Flower", cursive;
+}
+
+h6 {
+ /* blog block paragraphs */
+ color: var(--darkteal);
+ font-size: 1.2em;
+ font-weight: normal;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+em {
+ color: var(--darkteal);
+}
+
+section {
+ font-size: 1em;
+ margin-top: 0;
+ margin-right: 0;
+ margin-left: 0;
+ margin-bottom: 2em;
+ padding: 1em;
+ background-color: white;
+}
+
+section.banner {
+ text-align: center;
+ justify-content: center;
+ align-items: center;
+ gap: 1em;
+ padding-bottom: 1em;
+ margin-bottom: 0;
+ background: linear-gradient(white 90%, rgba(255, 255, 255, 0));
+}
+
+.button img {
+ margin-right: 1em;
+}
+
+button.button,
+a.button {
+ display: flex;
+ align-items: center;
+ background-color: var(--teal);
+ padding-left: 1em;
+ padding-right: 1em;
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+ margin-right: 0.5em;
+ margin-bottom: 0.5em;
+ text-decoration: none;
+ color: white;
+ border-radius: 3em;
+ transition: 0.15s;
+}
+
+button.button:hover,
+a.button:hover {
+ box-shadow: 0 4px 8px 0 lightgray, 0 6px 20px 0 lightgray;
+}
+
+button {
+ font-family: "PT Sans", sans-serif;
+ border: none;
+ font-size: 0.75em;
+}
+
+a.primary {
+ background-color: var(--darkteal);
+}
+
+footer {
+ background-color: white;
+ text-align: center;
+ padding: 3em;
+}
+
+footer p {
+ font-size: 1em;
+}
+
+footer a,
+section a {
+ color: var(--darkteal);
+ text-decoration: underline;
+}
+
+form input,
+form textarea {
+ font-family: "PT Sans", sans-serif;
+ margin-bottom: 1.5em;
+ box-sizing: border-box;
+ width: 100%;
+ border: 1px solid lightgray;
+ padding: 1em;
+}
+
+form input {
+ border-radius: 3em;
+}
+
+textarea {
+ border-radius: 1em;
+ resize: none;
+}
+
+picture img {
+ width: 100%;
+}
+
+.shadowy img {
+ box-shadow: 0 4px 8px 0 dimgray, 0 6px 20px 0 dimgray;
+}
+
+figcaption {
+ text-align: right;
+ color: var(--darkteal);
+ font-family: "Architects Daughter", cursive;
+}
+
+section.flexible {
+ display: flex;
+ flex-direction: column;
+}
+
+section.cards {
+ background-color: transparent;
+ padding-left: 0;
+ padding-right: 0;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+}
+
+.card {
+ align-content: center;
+ background-color: white;
+ border-radius: 1em;
+ margin-bottom: 0.5em;
+ margin-left: 1em;
+ margin-right: 1em;
+ margin-top: 0.5em;
+ padding: 0.3em;
+ text-align: center;
+}
+
+section#offerings .card {
+ flex: 1 0 21%;
+}
+
+section#offerings .full {
+ flex: 1 1 100%;
+}
+
+.centered {
+ text-align: center;
+ justify-content: center;
+}
+
+a[target*="_blank"]:after {
+ content: url('/assets/icons/open-in-new.svg');
+ display: inline-block;
+ width: 1em;
+} \ No newline at end of file
diff --git a/static/widescreen.css b/static/widescreen.css
new file mode 100644
index 0000000..8231129
--- /dev/null
+++ b/static/widescreen.css
@@ -0,0 +1,8 @@
+@media only screen and (min-width: 2000px) {
+ section {
+ padding-top: 3em;
+ padding-bottom: 3em;
+ padding-left: 25%;
+ padding-right: 25%;
+ }
+}