Skip to content

Cc #3

Description

@Scayar

:root {
--bg-color: #f4f4f4;
--text-color: #333;
--link-color: purple;
--border-color: darkorange;
--hover-bg: orange;
--book-bg: burlywood;
--font-stack: system-ui, -apple-system, sans-serif;
}

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

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

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

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

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

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

main {
padding: 20px;
display: grid;
gap: 20px;
}

/* Boek Items Styling */
.boek-item {
background-color: var(--book-bg);
border: 2px solid var(--border-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;
}

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

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

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

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

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

/* Grid layout voor contact pagina */
main {
grid-template-columns: 1fr 1fr;
}
}

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