Napassung von home.php und der main.css fuer responsive design
This commit is contained in:
@@ -1,3 +1,50 @@
|
||||
/** 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 #ddd;
|
||||
padding: 15px;
|
||||
border-radius: 8px;
|
||||
background-color: #f9f9f9;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
.category-link {
|
||||
display: block;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
font-weight: none;
|
||||
padding: 10px;
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.article-link a {
|
||||
color: orange;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/** Anpassung fuer grosse Monitore */
|
||||
@media (min-width: 1024px) {
|
||||
.container {
|
||||
padding 25px
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: coral;
|
||||
}
|
||||
Reference in New Issue
Block a user