diff --git a/assets/global.css b/assets/global.css
index 3831b79..f273a60 100644
--- a/assets/global.css
+++ b/assets/global.css
@@ -1,6 +1,6 @@
body {
margin: 0;
- font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue;
font-size: 14px;
line-height: 1.5;
color: #333;
@@ -36,10 +36,4 @@ code {
background-color: #f0f0f0;
padding: 0.2em 0.4em;
border-radius: 2px;
-}
-
-@media (min-width: 400px) {
- body {
- font-size: 16px;
- }
}
\ No newline at end of file
diff --git a/routes/_components/Nav.html b/routes/_components/Nav.html
index a942d00..001bf47 100644
--- a/routes/_components/Nav.html
+++ b/routes/_components/Nav.html
@@ -3,25 +3,29 @@
-
+
+ Home
-
+
-
+
+ Notifications
-
+
+ Local
-
+
+ Federated
@@ -32,50 +36,49 @@
nav {
border-bottom: 1px solid rgba(170,30,30,0.1);
font-weight: 300;
- padding: 0 1em;
+ padding: 0 15px;
}
ul {
margin: 0;
padding: 0;
- }
-
- /* clearfix */
- ul::after {
- content: '';
- display: block;
- clear: both;
+ list-style: none;
+ display: flex;
+ align-items: center;
}
li {
- display: block;
- float: left;
+ margin: 10px 5px;
}
- .selected {
- position: relative;
- display: inline-block;
- }
-
- .selected::after {
- position: absolute;
- content: '';
- width: calc(100% - 1em);
- height: 2px;
- background-color: rgb(170,30,30);
- display: block;
- bottom: -1px;
+ a.selected {
+ background-color: rgba(65, 105, 225, 0.7);
}
a {
text-decoration: none;
padding: 1em 0.5em;
- display: block;
}
- .nav-link {
+ a:hover {
+ background-color: rgba(65, 105, 225, 0.3);
+ }
+
+ a.selected:hover {
+ background-color: rgba(65, 105, 225, 0.9);
+ }
+
+ img {
width: 20px;
height: 20px;
+ display: inline-block;
+ margin-right: 3px;
+ }
+
+ @media (max-width: 767px) {
+ span {
+ display: none;
+ }
}
\ No newline at end of file