From 1f750b3ef0e4e3c0153006551c4449eabb10d1e5 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Mon, 11 May 2020 20:47:11 -0700 Subject: add basic link + route --- frontend/src/css/index.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'frontend/src/css') diff --git a/frontend/src/css/index.css b/frontend/src/css/index.css index 3d05fa0..3279aac 100644 --- a/frontend/src/css/index.css +++ b/frontend/src/css/index.css @@ -94,4 +94,39 @@ input[type=submit] { padding: 0.8em 2em; margin: 2em 0; outline: 0; +} + +ul { + list-style-type: none; + display: inline-block; +} + +li { + display: inline-block; + margin: 0 1em; +} + +.mainLogo { + display: inline-block; +} + +.mainLogo a { + text-decoration: none; + position: relative; + margin: 3px; +} + +.mainLogo a::after { + content: ""; + position: absolute; + left: 0; + bottom: 0; + height: 4px; + background-color: #111111; + width: 0; + transition: width 0.25s ease; +} + +.mainLogo:hover a::after { + width: 100%; } \ No newline at end of file -- cgit v1.2.3