Erste Schritte der Navigation implementiert
This commit is contained in:
1 parent
5e1106b72a
commit
fa0bcf0af8
2 files changed
+244
-54
No files matched your search
+128
-30
@@ -1,56 +1,154 @@
|
||||
|
||||
body {
|
||||
background: white;
|
||||
color: black;
|
||||
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;
|
||||
}
|
||||
p.image {
|
||||
text-align: center;
|
||||
|
||||
/* Navigation Styles */
|
||||
.navbar {
|
||||
background: linear-gradient(90deg, #1b1b2f, #4a6fa5)
|
||||
}
|
||||
.container {
|
||||
display: flex;
|
||||
.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;
|
||||
background-color: dodgerblue;
|
||||
}
|
||||
.container div {
|
||||
background-color:#f1f1f1;
|
||||
margin: 10px;
|
||||
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;
|
||||
color: black;
|
||||
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;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
body {
|
||||
background-color: steelblue;
|
||||
color: white;
|
||||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
}
|
||||
.container div {
|
||||
/* 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 {
|
||||
background-color: darkblue;
|
||||
color: white;
|
||||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
p {
|
||||
.container div {
|
||||
flex: 1 1 calc(25% - 40px);
|
||||
}
|
||||
p.columns{
|
||||
column-count: 2;
|
||||
column-gap: 2rem;
|
||||
}
|
||||
p.dotted {
|
||||
column-gap: 2rem;
|
||||
column-rule: 5px dotted black;
|
||||
outline-style: dotted;
|
||||
}
|
||||
.container div {
|
||||
flex: 1 1 calc(25% - 20px);
|
||||
#sidebar .nav-link {
|
||||
flex: 0 0 auto;
|
||||
margin: 0 15px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user