design tweaks

This commit is contained in:
2023-02-10 19:25:41 -05:00
parent 96f06c6e6d
commit 92b38e2600
8 changed files with 85 additions and 14 deletions
+34 -4
View File
@@ -20,6 +20,8 @@
--orange: #e56045;
--text: #444444;
--background: white;
--radius: 5px;
--shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.dark {
@@ -43,6 +45,12 @@ body {
header {
margin: 0;
padding: 0.5rem 1rem;
max-width: 800px;
display: flex;
flex-direction: column;
margin: auto;
justify-content: space-between;
align-items: center;
}
header h1 {
@@ -52,12 +60,33 @@ header h1 {
nav ul {
display: flex;
justify-content: center;
gap: 1rem;
align-items: center;
gap: 1.5rem;
padding: 0;
margin: 0;
}
nav ul li {
height: 40px;
align-items: center;
}
nav ul li a {
position: relative;
font-size: 1.2rem;
display: flex;
gap: 0.5rem;
align-items: center;
}
.active-nav::before {
content: "";
position: absolute;
left: -10px;
width: 6px;
height: 6px;
border-radius: 10px;
background-color: var(--blue);
}
nav ul li::before {
@@ -112,7 +141,7 @@ code {
color: var(--orange);
border: lightgray solid 1px;
padding: 2px 4px;
border-radius: 5px;
border-radius: var(--radius);
}
/* List Styles */
@@ -223,8 +252,9 @@ dialog {
}
.post-preview {
background: #f9f9f9;
background: white;
padding: 0.1rem 1rem 1.5rem;
margin: 1rem 0;
margin: 0 0 1.5rem 0;
border-radius: 5px;
border: 1px solid rgb(237, 237, 237);
}