From 162b969e1f6f04eacfb02a7b593258995d12103b Mon Sep 17 00:00:00 2001 From: Alyona Golz Date: Wed, 17 Jan 2024 12:29:59 +0400 Subject: [PATCH] Update projects_styles.css --- styles/projects_styles.css | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/styles/projects_styles.css b/styles/projects_styles.css index 6c48280..af05551 100644 --- a/styles/projects_styles.css +++ b/styles/projects_styles.css @@ -4,7 +4,7 @@ body { align-items: center; justify-content: flex-start; min-height: 100vh; - margin: 10px; + margin: 10px; padding: 0; font-family: 'Indie Flower'; color: #491617; @@ -31,29 +31,20 @@ body { .project-menu a:active, .project-menu a:focus { border-bottom-color: #491617; - } +} table { border-collapse: collapse; width: 80%; margin-top: 20px; - display: none; - opacity: 0; - visibility: hidden; - transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; -} - -.table-hidden { opacity: 0; transition: opacity 0.5s ease-in-out; } - + .table-visible { opacity: 1; - transition: opacity 0.5s ease-in-out; } - th, td { padding: 10px; font-family: Arial, sans-serif; @@ -68,9 +59,9 @@ td:first-child { th:last-child, td:not(:first-child) { - text-align: center; - font-weight: normal; - font-family: Arial, sans-serif; + text-align: center; + font-weight: normal; + font-family: Arial, sans-serif; } a { @@ -78,18 +69,12 @@ a { font-family: Arial, sans-serif; } -table a:hover, -table a:active, -table a:focus { - text-decoration: underline; -} - strong { font-weight: bold; display: block; margin-top: 10px; } - + #cat { position: absolute; width: 200px; @@ -97,13 +82,11 @@ strong { z-index: 999; pointer-events: none; } - + .fade-in { opacity: 1; - visibility: visible; } .fade-out { opacity: 0; - visibility: hidden; }