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 56de0f0 commit f1a03d5
Showing 1 changed file with 97 additions and 24 deletions.
121 changes: 97 additions & 24 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,81 +3,154 @@
margin: 0;
padding: 0;
}

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

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;

.header-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}

.logo-title {
display: flex;
align-items: center;
margin-bottom: 1rem;
}

.logo-title svg {
width: 60px;
height: 60px;
margin-right: 1rem;
}

h1 {
font-size: 1.8em;
margin: 0.5rem 0;
font-size: 1.5em;
margin: 0;
}
ul {
background-color: #f2f2f2;
padding: 20px 20px 20px 40px;

.header-nav {
width: 100%;
}

.header-nav h2 {
font-size: 1.2em;
margin-bottom: 0.5rem;
text-align: center;
}

.header-nav ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
}

.header-nav li {
margin: 0.5rem;
}

.header-nav a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.1);
transition: background-color 0.3s;
}

.header-nav a:hover {
background-color: rgba(255, 255, 255, 0.2);
}

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

section {
background-color: white;
margin-bottom: 1rem;
padding: 1rem;
margin-bottom: 2rem;
padding: 2rem;
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: 600px) {
h1 {
font-size: 1.5em;

@media (max-width: 800px) {
.logo-title {
flex-direction: column;
text-align: center;
}

.logo-title svg {
margin-right: 0;
margin-bottom: 1rem;
}
h2 {
font-size: 1.3em;

h1 {
font-size: 1.2em;
}
h3 {
font-size: 1.1em;

.header-nav ul {
flex-direction: column;
align-items: center;
}
.logo svg {
max-width: 80px;

.header-nav li {
margin: 0.25rem 0;
}
}

0 comments on commit f1a03d5

Please sign in to comment.