69 lines
1.0 KiB
CSS
69 lines
1.0 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
display: flex;
|
|
height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 200px;
|
|
background-color: #2c3e50;
|
|
color: #ecf0f1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.sidebar-button {
|
|
background-color: #34495e;
|
|
color: #ecf0f1;
|
|
border: none;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.sidebar-button:hover {
|
|
background-color: #1abc9c;
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 20px;
|
|
backgound-color: #ecf0f1;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.post-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.post {
|
|
background-color: #3498db;
|
|
color: #fff;
|
|
padding: 20px;
|
|
text-align: center;
|
|
border-radius: 5px;
|
|
height: 150px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/*# sourceMappingURL=main.css.map */
|