diff options
Diffstat (limited to 'styles/main.css')
-rw-r--r-- | styles/main.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/styles/main.css b/styles/main.css new file mode 100644 index 0000000..bddd9c2 --- /dev/null +++ b/styles/main.css @@ -0,0 +1,54 @@ +html, body { + font-family: sans-serif; + box-sizing: border-box; +} + +body { + min-height: 100vh; + margin:0; +} + +user { + border-radius: 100%; + border: 3px solid gray; + overflow: hidden; + display: block; + width: 70px; + height: 70px; + position: fixed; + right: 30px; + top: 10px; + z-index: 1; +} + +user img { + width: 100%; + height: 100%; +} + +nav { + display: flex; + align-items: center; + position: fixed; + top:20px; + left: 10px; + padding-right:115px; + width:calc(100% - 20px); + height:50px; + background-color: gray; + z-index: 0; + border-radius: 10px; + box-sizing: border-box; +} + +nav .nav-el { + margin:10px; + font-weight: bold; + text-decoration: none; + color: #ddd; + transition-duration: 0.2s; +} + +nav .nav-el:hover { + color: white; +}
\ No newline at end of file |