lorem_ipsum/assets/css/custom.css

156 lines
2.9 KiB
CSS

body {
background: #f0f4f8;
color: #1b1b2f;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
line-height: 1.6;
margin-bottom: 1rem;
padding: 0;
}
/* Navigation Styles */
.navbar {
background: linear-gradient(90deg, #1b1b2f, #4a6fa5)
}
.navbar .nav-link {
color: #fff;
transition: color 0.3s;
}
.navbar .nav-link:hover {
color: #ffd166;
}
/* Main content styles */
.container-dashboard {
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px;
}
/* Cards/Scores styles */
.container > div {
background-color:#ffffff;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
padding: 25px;
font-size: 30px;
flex: 1 1 100%;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.container > div:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* Überschriften und Abstände */
h1, h2, h3, h4, h5, h6 {
margin-top: 1rem;
margin-bottom: 20px;
color: #1b1b2f;
}
p {
margin-top: 0.5rem;
margin-bottom: 1rem;
color: #333;
}
/* Button Styles */
button, .btn {
background-color: #4a6fa5;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
button:hover, .btn:hover {
background-color: #2b4a7c;
}
#page-wrapper {
display: flex;
min-height: 100vh;
font-family: 'Segoe UI', sans-serif;
}
/* Sidebar Styles */
#sidebar {
width: 240px;
min-height: 100vh;
background: linear-gradient(180deg, #1b1b2f, #4a6fa5);
color: white;
padding: 25px;
}
.logo {
font-size: 24px;
margin-bottom: 30px;
}
#sidebar .nav-link {
margin: 0.5rem 0;
transition: color 0.3s background-color 0.3s;
}
#main-area {
flex: 1;
background: #f3f4f6;
display: flex;
flex-direction: column;
}
/* Topbar Styles */
#topbar {
height: 70px;
background: white;
padding: 0px 30px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#main-content {
background-color: #f0f4f8;
padding: 30px;
}
/* Card Styles */
.card {
background: white;
border-radius: 12px;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
padding: 25px;
margin-bottom: 20px;
}
.card h2 {
margin-bottom: 10px;
}
/* Responsive Styles */
@media (max-width: 768px) {
.container > div {
flex: 1 1 calc(50% - 40px);
}
#page-wrapper {
flex-direction: column;
}
#sidebar {
width: 100%;
display: flex;
overflow-x: auto;
}
}
@media (min-width: 1200px) {
body {
font-size: 1.1rem;
}
.container div {
flex: 1 1 calc(25% - 40px);
}
p.columns{
column-count: 2;
column-gap: 2rem;
}
#sidebar .nav-link {
flex: 0 0 auto;
margin: 0 15px;
}
}