diff options
| author | Fuwn <[email protected]> | 2020-10-20 09:44:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-10-20 09:44:07 -0700 |
| commit | 0f43eaa14a68c1ec95d97c799841e4771d30f8d3 (patch) | |
| tree | b188301ba20969af8390fcf39c2e55133023426c /src/styles/main.css | |
| parent | Merge branch 'rewrite-test' (diff) | |
| download | me-ascii-rewrite-test.tar.xz me-ascii-rewrite-test.zip | |
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 |