diff options
Diffstat (limited to 'src/styles/main.css')
| -rw-r--r-- | src/styles/main.css | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/styles/main.css b/src/styles/main.css new file mode 100644 index 0000000..06aadaa --- /dev/null +++ b/src/styles/main.css @@ -0,0 +1,52 @@ +* { + background-color: #1c1c1c; +} + +.wrapper { + max-width: 500px; + margin: auto; +} + +p { + color: #dfd7af; +} + +nav { + width: 100%; + height: 80px; + /* position: fixed; */ + margin: 0 auto; + z-index: 1; +} + +nav #menu { + float: left; + right: 80px; + position: fixed; +} + +nav #menu li { + padding-left: 30px; /* 40px */ + display: inline-block; + cursor: pointer; + font-weight: 300; + line-height: 80px; + position: relative; + transition: all 0.3s ease-out; +} + +nav #menu li span { + font-weight: 700; +} + +nav #menu li a { + color: #dfd7af; + transition: 0.5s; +} + +nav #menu li a:hover { + text-decoration: none; + color: #1c1c1c; + background-color: #dfd7af; + transition: 0.5s; +}
\ No newline at end of file |