summaryrefslogtreecommitdiff
path: root/css/style.bak
diff options
context:
space:
mode:
authorsimon-ec <simon@eustaceconsulting.com>2026-04-15 16:25:09 -0400
committersimon-ec <simon@eustaceconsulting.com>2026-04-15 16:25:09 -0400
commit912a83581eaa21da3549926174fa76788a02df75 (patch)
tree7790ff8a477caa66578cc285fbea72622170a754 /css/style.bak
first init
Diffstat (limited to 'css/style.bak')
-rw-r--r--css/style.bak175
1 files changed, 175 insertions, 0 deletions
diff --git a/css/style.bak b/css/style.bak
new file mode 100644
index 0000000..6914e2e
--- /dev/null
+++ b/css/style.bak
@@ -0,0 +1,175 @@
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+
+ background-color: var(--bg-green);
+ color: var(--fg-green);
+
+ letter-spacing: 0.01rem;
+}
+
+
+/** COLOR VARIABLES */
+:root {
+ --bg-green: #19211a;
+ --bg-green: #182118;
+ --fg-green: #e1ffdb;
+}
+
+/** HEADER + NAV STYLING */
+header {
+ position: sticky;
+ top: 0;
+ z-index: 999;
+}
+
+.banner {
+ display: flex;
+ justify-content: space-between;
+ width: 90%;
+ align-items: center;
+
+ height: 4.5rem;
+
+ margin: 0 auto;
+ padding: 1rem 0;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ transition: color 0.5s ease;
+ color: var(--fg-green);
+ text-decoration: none;
+}
+.logo:hover {
+ color: var(--fg-green);;
+}
+
+.navLink {
+ color: var(--fg-green);
+ text-decoration: none;
+ font-weight: bold;
+ transition: color 0.5s ease;
+}
+
+.navLink:hover {
+ color: #fff;
+}
+
+/** FOOTER */
+footer {
+ display: flex;
+ justify-content: space-between;
+
+ margin: 5rem auto;
+
+ max-width: 90%;
+
+ text-align: center;
+}
+
+#footer-left {
+ width: 50%;
+ text-align: left;
+}
+#footer-right {
+ width: 50%;
+ text-align: right;
+}
+
+/** "skip link" for screen readers */
+.skipLink {
+ position: absolute;
+ top: -50px;
+ left: 6px;
+ background: #fff;
+ color: var(--bg-green);
+ padding: 8px;
+ text-decoration: none;
+ font-weight: bold;
+ border-radius: 4px;
+ z-index: 1000;
+}
+.skipLink:focus {
+ top: 6px;
+}
+
+
+
+/** DESKTOP RULES */
+@media screen and (min-width: 851px) {
+
+ header {
+ border-bottom: 1px solid var(--fg-green);
+ }
+
+ nav {
+ display: flex;
+ flex-direction: row;
+ gap: 3rem;
+
+ list-style: none;
+ }
+
+ /** content */
+ h1 {
+ font-size: 3rem;
+ }
+}
+
+/* MOBILE RULES */
+@media screen and (max-width: 850px) {
+ /** header */
+ header {
+ padding: 0;
+ width: 100%;
+
+ border-bottom: none;
+ /* background-color: blue; */
+ background-size: cover;
+ }
+
+
+ .banner {
+ /* background-color: orange; */
+ border-bottom: none;
+ }
+
+ nav {
+ display: flex;
+ flex-direction: column;
+ position: fixed;
+ gap: 2rem;
+
+ padding: 4.8rem 0 4rem 0;
+
+ transition: top 0.5s ease;
+ top: -19.5rem;
+ left: 0;
+ width: 100%;
+
+ font-size: 2rem;
+ text-align: center;
+ border-bottom: 1px solid var(--fg-green);
+
+ box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
+ z-index: -1;
+ }
+
+ nav.active {
+ top: 2rem;
+ }
+
+ /** footer */
+ footer {
+ font-size: 0.9rem;
+ }
+
+ /** content rules */
+ h1 {
+ font-size: 2.5rem;
+ }
+
+}