diff --git a/index.html b/index.html
index b29e5c1..0366fa2 100644
--- a/index.html
+++ b/index.html
@@ -8,6 +8,7 @@
+
Resume
diff --git a/public/css/main.css b/public/css/main.css
index 6a4abbb..d2a77b7 100644
--- a/public/css/main.css
+++ b/public/css/main.css
@@ -169,3 +169,7 @@ details {
margin: 3rem 4rem 5rem 4rem;
font-size: 18px;
}
+
+.print-only {
+ display: none;
+}
diff --git a/public/css/print.css b/public/css/print.css
new file mode 100644
index 0000000..061526e
--- /dev/null
+++ b/public/css/print.css
@@ -0,0 +1,50 @@
+@import url('./variables.css');
+
+.no-print, .old {
+ display: none;
+}
+
+.print-only {
+ display: block;
+}
+
+a {
+ text-decoration: none;
+
+ &::after {
+ content:": " attr(href);
+ }
+}
+
+header {
+ & > p {
+ display: none;
+ }
+}
+
+details {
+ height: fit-content;
+
+ &::details-content {
+ display: contents;
+ }
+
+ summary {
+ display: none;
+ }
+}
+
+#top {
+ nav {
+ max-width: 45rem;
+
+ ul {
+ display: block;
+ padding-left: 0;
+
+ li {
+ text-align: left;
+ }
+ }
+ }
+}
diff --git a/public/css/variables.css b/public/css/variables.css
index 5f1571d..8b282d7 100644
--- a/public/css/variables.css
+++ b/public/css/variables.css
@@ -18,7 +18,7 @@
--gutter-wide: calc(var(--gutter-normal) * 2);
--gutter-ultra-wide: calc(var(--gutter-normal) * 3);
- @media (prefers-color-scheme: dark) {
+ @media screen and (prefers-color-scheme: dark) {
--color-primary: #111318;
--color-primary-light: #080b13;
--color-secondary: #c0b0a0;
@@ -29,4 +29,15 @@
--box-shadow: 2px 2px 8px 0 rgba(255,255,255,.05);
}
+
+ @media print {
+ --color-primary: #ffffff;
+ --color-primary-light: var(--color-primary);
+ --color-secondary: #333333;
+ --color-accent-primary: #495c55;
+ --color-accent-light: #4a5a56;
+ --color-accent-secondary: #754668;
+
+ --box-shadow: 0;
+ }
}
diff --git a/src/components/sections/Header.vue b/src/components/sections/Header.vue
index 977504e..23cacad 100644
--- a/src/components/sections/Header.vue
+++ b/src/components/sections/Header.vue
@@ -1,15 +1,15 @@
-
- I'm {{ basics?.name }}
- {{ basics?.label }}
+
+ I'm {{ basics?.name }}
+ {{ basics?.label }}