50 lines
749 B
CSS
50 lines
749 B
CSS
/** Standard Layout */
|
|
main {
|
|
max-width:1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
font-family: Arial;
|
|
}
|
|
|
|
.flexbox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.container {
|
|
border: 1px solid white;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
background-color: coral;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.category-link {
|
|
display: block;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
font-weight: none;
|
|
padding: 10px;
|
|
background-color: blue;
|
|
color: white;
|
|
border-radius: 4px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.article-link a {
|
|
color: blue;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/** Anpassung fuer grosse Monitore */
|
|
@media (min-width: 1024px) {
|
|
.container {
|
|
padding 25px
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-color: coral;
|
|
} |