From f46fb9fe0233cb3f88dee637505a894a4912f798 Mon Sep 17 00:00:00 2001 From: Cobular <22972550+Cobular@users.noreply.github.com> Date: Mon, 15 Jun 2020 21:38:18 -0700 Subject: [PATCH] Added slanty description thing, trying out clip paths instead --- about.html | 1 + contact.html | 1 + css/main.css | 4 +- css/masonry.css | 54 +++++++++++++++++++++++++- images/codeday-notext-color.svg | 1 + index.html | 29 +++++++++++++- resume.html | 23 +++++++++++ sass/colors.sass | 12 ++++++ sass/main.sass | 9 +++-- sass/masonry.sass | 69 +++++++++++++++++++++++++++++++-- 10 files changed, 189 insertions(+), 14 deletions(-) create mode 100644 images/codeday-notext-color.svg create mode 100644 resume.html create mode 100644 sass/colors.sass diff --git a/about.html b/about.html index 56a4575..6ae4dc1 100644 --- a/about.html +++ b/about.html @@ -15,6 +15,7 @@ Home Contact About + Resume GitHub diff --git a/contact.html b/contact.html index 060414a..fe98ed6 100644 --- a/contact.html +++ b/contact.html @@ -15,6 +15,7 @@ Home Contact About + Resume GitHub diff --git a/css/main.css b/css/main.css index cbf6b9f..1179829 100644 --- a/css/main.css +++ b/css/main.css @@ -25,7 +25,7 @@ color: black; } .header a:active { - background-color: dodgerblue; + background-color: #FF1E90; color: white; } .header-right { @@ -40,7 +40,7 @@ .header-right { float: none; } } .page { - background-color: rgba(240, 240, 240, 0.94); + background-color: #f1f1f1; height: fit-content; padding: 10px; margin-top: 10px; diff --git a/css/masonry.css b/css/masonry.css index 1c71715..999d511 100644 --- a/css/masonry.css +++ b/css/masonry.css @@ -6,7 +6,57 @@ padding: 5px; box-sizing: border-box; height: 200px; - animation: FadeIn 0.22s; } + transition: 0.18s ease-in-out; + overflow: hidden; + position: relative; } + +.service-wrapper-inner { + height: 100%; + width: 90%; + position: absolute; + z-index: 1; + top: 68%; + padding: 15px 20px; + transition: 0.2s ease; } + .service-wrapper-inner p { + color: #e7e7e7; } + .service-wrapper-inner.notitle { + width: 60%; + top: 70%; } + +.service-overlay { + background-color: rgba(32, 32, 32, 0.4); + width: 120%; + height: 120%; + position: absolute; + top: 80%; + left: -28px; + z-index: 0; + transition: 0.2s ease; } + .service-overlay.notitle { + -webkit-transform: rotate(35deg); + -moz-transform: rotate(35deg); + -ms-transform: rotate(35deg); + -o-transform: rotate(35deg); + left: -65%; + height: 300%; } + .service-overlay.title { + -webkit-transform: rotate(10deg); + -moz-transform: rotate(10deg); + -ms-transform: rotate(10deg); + -o-transform: rotate(10deg); } + +.grid-item:hover .service-wrapper-inner { + top: -10%; + padding: 20px 20px; } + .grid-item:hover .service-wrapper-inner.notitle { + padding: 15px 20px; } +.grid-item:hover .service-overlay { + top: -10%; + background-color: rgba(32, 32, 32, 0.8); } + .grid-item:hover .service-overlay.notitle { + top: -20%; + left: -20%; } .grid { margin: 0 auto; @@ -30,7 +80,7 @@ .grid-item--width2 { width: 100%; } } .blur-me { - filter: grayscale(10%) blur(0.5px) brightness(100%); + filter: grayscale(15%) blur(0.5px) brightness(100%); opacity: 0.8; box-shadow: none; } diff --git a/images/codeday-notext-color.svg b/images/codeday-notext-color.svg new file mode 100644 index 0000000..5ebe89e --- /dev/null +++ b/images/codeday-notext-color.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html index e5e6668..16dbc30 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,7 @@ Home Contact About + Resume GitHub @@ -30,10 +31,28 @@
+ CodeDay, an event by SRND, is a beginner-friendly 24 hour event for students that challenges attendees to create a game or an app.
+ I served as the Regional Manager for CodeDay San Diego for one year.
+
SRND is an educational nonprofit that works to provide CS education to high school and college students and to increase diversity in tech.
+SRND is an educational nonprofit that works to provide CS education to high school and college students and to increase diversity in tech.
+