summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/components/Nav/styles.module.scss
diff options
context:
space:
mode:
authorGravatar Drew Powers <1369770+drwpow@users.noreply.github.com> 2021-04-30 10:35:20 -0600
committerGravatar GitHub <noreply@github.com> 2021-04-30 10:35:20 -0600
commitf39a91e6ecbcf5c3c2f431fa8dfc3fbc9a71d89a (patch)
tree9ccc7a538aa3dd32369c80db81c0dac7d9ceab43 /examples/portfolio/src/components/Nav/styles.module.scss
parenta79c63750f63eee9e8d32ba156c78a71b25dda12 (diff)
downloadastro-f39a91e6ecbcf5c3c2f431fa8dfc3fbc9a71d89a.tar.gz
astro-f39a91e6ecbcf5c3c2f431fa8dfc3fbc9a71d89a.tar.zst
astro-f39a91e6ecbcf5c3c2f431fa8dfc3fbc9a71d89a.zip
Add portfolio example (#140)
* Add portfolio example * Feedback
Diffstat (limited to 'examples/portfolio/src/components/Nav/styles.module.scss')
-rw-r--r--examples/portfolio/src/components/Nav/styles.module.scss65
1 files changed, 65 insertions, 0 deletions
diff --git a/examples/portfolio/src/components/Nav/styles.module.scss b/examples/portfolio/src/components/Nav/styles.module.scss
new file mode 100644
index 000000000..d39a65a5b
--- /dev/null
+++ b/examples/portfolio/src/components/Nav/styles.module.scss
@@ -0,0 +1,65 @@
+.nav {
+ display: flex;
+ align-items: center;
+ padding-top: 1rem;
+ padding-right: 2rem;
+ padding-bottom: 1rem;
+ padding-left: 2rem;
+}
+
+.logolink {
+ display: block;
+ color: var(--t-fg);
+ text-decoration: none;
+}
+
+.link {
+ color: var(--t-subdue);
+ display: block;
+ margin-left: 1rem;
+ text-decoration: none;
+ font-size: var(--f-d1);
+ text-transform: uppercase;
+ padding-top: 0.75em;
+ padding-bottom: 0.75em;
+
+ &:focus,
+ &:hover {
+ color: var(--t-active);
+ }
+}
+
+.monogram {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 2em;
+ height: 2em;
+ margin-right: 0.5rem;
+ color: var(--c-black);
+ font-weight: 900;
+ letter-spacing: -0.125rem;
+ border: 3px solid currentColor;
+ border-radius: 50%;
+}
+
+.social {
+ display: block;
+ margin-left: auto;
+
+ + .social {
+ margin-left: 0.75rem;
+ }
+}
+
+.socialicon {
+ display: block;
+ width: 1.25rem;
+ height: 1.25rem;
+ fill: var(--t-subdue);
+ transition: fill linear 150ms;
+
+ &:hover {
+ fill: var(--t-active);
+ }
+}