summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/components/Nav/styles.module.scss
diff options
context:
space:
mode:
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);
+ }
+}