diff --git a/assets/images/monogram.svg b/assets/images/monogram.svg new file mode 100644 index 0000000..7f34e5a --- /dev/null +++ b/assets/images/monogram.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/index.html b/index.html index 080cd6c..6c94106 100644 --- a/index.html +++ b/index.html @@ -10,43 +10,12 @@
- - - -
-
I'm

Elizabeth Pankratz

,
- a linguist, - textile artist, -
- and applied statistician + a linguist, + textile artist, + and applied statistician
+ + \ No newline at end of file diff --git a/style.css b/style.css index ade41c3..17b2fc3 100644 --- a/style.css +++ b/style.css @@ -40,52 +40,11 @@ body { /* Monogram */ .monogram { - display: flex; -} - -.triangle { - display: block; /* Because these are tags */ - background-color: black; - position: relative; /* Required for the absolute positioning of the triangle-label */ - width: 15vh; - height: 15vh; - max-width: 40vw; - max-height: 40vw; -} - -.triangle-bottom { - clip-path: polygon(0 0, 0 100%, 100% 100%); -} - -.triangle-top { - clip-path: polygon(0 0, 0 100%, 100% 0); -} - -.triangle img { - display: block; /* Prevents the annoying inline-block gap after */ - filter: grayscale(100%); - mix-blend-mode: overlay; - width: 100%; - height: 100%; -} - -.triangle:hover { - background-color: hsl(50, 90%, 50%); -} - -.triangle-label { - position: absolute; - color: black; - left: 0.5rem; - bottom: 0.5rem; -} - -.triangle-label.multiline { - margin-top: -2rem; -} - -.triangle-top .triangle-label { - top: 0.5rem; + width: 20vw; + height: 30vw; + mask-image: url('assets/images/monogram.svg'); + background: black; + background-size: cover; }