Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
soberbichler authored Oct 5, 2024
1 parent dc5898d commit 9644b07
Showing 1 changed file with 25 additions and 67 deletions.
92 changes: 25 additions & 67 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,123 +3,81 @@
margin: 0;
padding: 0;
}

body, html {
width: 100%;
overflow-x: hidden;
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
height: 100%;
}

body {
display: flex;
flex-direction: column;
min-height: 100vh;
}

header {
background-color: #8B0000;
color: white;
text-align: center;
padding: 1rem;
width: 100%;
}

.logo svg {
max-width: 100px;
height: auto;
}

h1 {
font-size: 1.8em;
margin: 0.5rem 0;
}

.content-wrapper {
display: flex;
flex: 1;
}

.sidebar {
width: 250px;
background-color: #f0f0f0;
padding: 1rem;
border-right: 1px solid #ddd;
}

.sidebar h2 {
color: #8B0000;
border-bottom: 2px solid #8B0000;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
}

.sidebar ul {
list-style-type: none;
}

.sidebar li {
margin-bottom: 0.5rem;
}

.sidebar a {
color: #333;
text-decoration: none;
transition: color 0.3s;
}

.sidebar a:hover {
color: #8B0000;
ul {
background-color: #f2f2f2;
padding: 20px 20px 20px 40px;
border-radius: 5px;
}

main {
flex: 1;
padding: 2rem;
width: 100%;
max-width: 800px;
margin: 0 auto;
padding: 1rem;
}

section {
background-color: white;
margin-bottom: 2rem;
padding: 2rem;
margin-bottom: 1rem;
padding: 1rem;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
color: #8B0000;
border-bottom: 2px solid #8B0000;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
}

h3 {
color: #8B0000;
margin-bottom: 0.5rem;
}

ul {
padding-left: 1.5rem;
}

li {
margin-bottom: 0.5rem;
}

footer {
background-color: #333;
color: white;
text-align: center;
padding: 1rem;
width: 100%;
}

@media (max-width: 768px) {
.content-wrapper {
flex-direction: column;
@media (max-width: 600px) {
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1.3em;
}
h3 {
font-size: 1.1em;
}

.sidebar {
width: 100%;
border-right: none;
border-bottom: 1px solid #ddd;
.logo svg {
max-width: 80px;
}
}

0 comments on commit 9644b07

Please sign in to comment.