From 7c406b9be67357f4dc514f788eb1dd2df561dcff Mon Sep 17 00:00:00 2001 From: Akis Date: Sun, 7 Aug 2022 12:51:39 +0300 Subject: [PATCH] add projects to nav and add anim to all buttons --- src/lib/Nav.svelte | 3 ++- src/routes/projects.svelte | 2 +- src/routes/team.svelte | 15 ++++++++------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 8527d99..9e0d6ec 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -9,6 +9,7 @@ const menus = [ {name: "Instances", url: "https://instances.projectsegfau.lt/"}, + {name: "Projects", url: "/projects"}, {name: "Minecraft", url: "/minecraft"}, {name: "Donate", url: "/donate"}, {name: "FAQ", url: "/faq"}, @@ -113,7 +114,7 @@ display: none; } - @media screen and (max-width: 984px) { + @media screen and (max-width: 1058px) { .links { display: none; width: 100%; diff --git a/src/routes/projects.svelte b/src/routes/projects.svelte index 81ea80c..888a9b0 100644 --- a/src/routes/projects.svelte +++ b/src/routes/projects.svelte @@ -89,7 +89,7 @@ color: #fff !important; font-size: 20px; height: 23px; - transition: all 0.5s; + transition: all 0.25s; } .web:hover { diff --git a/src/routes/team.svelte b/src/routes/team.svelte index 2507877..518e38e 100644 --- a/src/routes/team.svelte +++ b/src/routes/team.svelte @@ -104,7 +104,8 @@ } .matrixcolored { - background-color: var(--tertiary); + background-color: #333; + color: #fff !important; font-size: 20px; height: 23px; } @@ -131,15 +132,15 @@ color: #fff !important; font-size: 20px; height: 23px; + transition: all 0.25s; } - .web { - transition: all 0.5s; - } - - .web:hover { + .web:hover, + .email:hover, + .picture:hover, + .pgp:hover { background-color: var(--accent); - color: var(--secondary) !important; + color: #333 !important; } .socials {