Skip to content

ان #6

Description

@Scayar

:root {
--bg-color: #f4f4f4;
--text-color: #333333;
--link-color: purple;
--accent-color: darkorange;
--hover-color: orange;
--item-bg: burlywood;
--font-main: system-ui, -apple-system, sans-serif;
}

  • {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

body {
font-family: var(--font-main);
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
}

/* Header & Nav */
header {
background: linear-gradient(to right, red, orange, white);
padding: 20px;
text-align: center;
}

nav ul {
list-style-type: none;
padding-top: 15px;
display: flex;
justify-content: center;
gap: 15px;
}

nav a {
text-decoration: none;
color: var(--link-color);
font-weight: bold;
border: 2px solid var(--accent-color);
padding: 10px 15px;
display: inline-block;
background-color: white;
}

nav a:hover {
background-color: var(--hover-color);
}

nav a.active {
background-color: var(--hover-color);
}

/* Main Layout */
main {
padding: 20px;
display: grid;
gap: 20px;
}

/* Boek Items (Index) */
.boek-item {
background-color: var(--item-bg);
border: 2px solid var(--accent-color);
border-radius: 20px;
padding: 20px;
text-align: center;
transition: transform 200ms ease, border-width 200ms ease;
}

.boek-item:hover {
transform: scale(1.2);
border-width: 5px;
}

.boek-item img {
width: 40%;
height: auto;
margin-bottom: 10px;
}

.prijs {
font-weight: bold;
margin: 10px 0;
}

/* Contact Pagina Styling */
.adres-lijst {
list-style-type: none;
padding: 0;
font-style: italic;
margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 2px solid var(--accent-color);
}

fieldset {
border: none;
margin-bottom: 10px;
}

button {
padding: 10px 20px;
background-color: var(--accent-color);
border: none;
color: white;
font-weight: bold;
cursor: pointer;
}

/* Footer */
footer {
background-color: var(--accent-color);
text-align: center;
padding: 10px;
margin-top: 20px;
}

/* Media Query (Desktop > 1025px) */
@media (min-width: 1025px) {
.catalogus {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid voor contact pagina op desktop */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions