diff --git a/PTG/src/Footer.css b/PTG/src/Footer.css index 1aec02e..2d160a1 100644 --- a/PTG/src/Footer.css +++ b/PTG/src/Footer.css @@ -24,7 +24,3 @@ p, a{ justify-content: space-evenly; flex-wrap: wrap; } - -a:hover{ - transform: translateY(-8px); -} \ No newline at end of file diff --git a/PTG/src/Header.css b/PTG/src/Header.css index 511e8e1..1370523 100644 --- a/PTG/src/Header.css +++ b/PTG/src/Header.css @@ -1,34 +1,25 @@ -.header { +header { background-color: red; - color: white; - align-items: center; display: flex; - flex-direction: row; - justify-content: space-between; -} - -.name{ - margin: 0; - padding: 10px; + align-items: center; + justify-content: center; + width: 100%; + margin-bottom: 5px; } .about{ - height: 100%; - padding: 10px; - border: 0; - background-color: red; + right: 5%; + position: absolute; color: white; - transition: transform 0.3s ease-in-out; - + margin-top: 5px; + margin-bottom: 5px; } -.about:hover{ - cursor: pointer; - transform: translateY(-8px); -} +.websiteName{ + color: white; + margin-top: 5px; + margin-bottom: 5px; -div{ - margin-bottom: 10px; } @media screen and (max-width: 400px){ diff --git a/PTG/src/Header.tsx b/PTG/src/Header.tsx index 72f5af4..ea6648e 100644 --- a/PTG/src/Header.tsx +++ b/PTG/src/Header.tsx @@ -1,11 +1,12 @@ import './Header.css' +import { Link } from 'react-router-dom' export default function Header(){ return( -