repaircafe/static/css/style.css
2025-12-05 22:07:02 +01:00

154 lines
No EOL
2.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
color: #2e2c7e;
background-color: white;
}
header {
background: #2e2c7e;
color: white;
padding: 1rem 0;
}
nav {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
nav h1 {
font-size: 1.8rem;
font-weight: bold;
}
nav h1 a {
color: white;
text-decoration: none;
}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
}
nav a {
color: white;
text-decoration: none;
transition: color 0.3s;
font-weight: 500;
}
nav a:hover {
color: #EF694A;
}
main {
max-width: 1200px;
min-height: 60vh;
background-color: white;
margin: auto;
}
footer {
background: #2e2c7e;
color: white;
text-align: center;
padding: 2rem;
margin-top: 4rem;
}
footer p {
margin: 0.5rem 0;
}
footer a {
color: #EF694A;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.btn {
display: inline-block;
padding: 1rem 2rem;
background: #2e2c7e;
color: white;
text-decoration: none;
border: none;
font-weight: bold;
font-size: 1.1rem;
transition: all 0.3s;
cursor: pointer;
border-radius: 5px;
}
.btn:hover {
background: #EF694A;
}
.btn-secondary {
background: #EF694A;
}
.btn-secondary:hover {
background: #2e2c7e;
}
img[alt=signal-qrcode] {
width: 20%;
align-items: center;
}
@media (max-width: 768px) {
nav {
flex-direction: column;
gap: 1rem;
}
nav ul {
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.maintitle h1 {
font-size: 2rem;
}
.maintitle p {
font-size: 1.1rem;
}
section {
padding: 1.5rem;
}
section h2 {
font-size: 1.5rem;
}
}
.btn-nav {
background: #EF694A;
padding: 0.5rem 1rem;
border-radius: 5px;
transition: all 0.3s;
}
.btn-nav:hover {
background: white;
color: #EF694A !important;
}