Layout optimiert
This commit is contained in:
99
style.css
99
style.css
@@ -1,50 +1,65 @@
|
||||
body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
#title {
|
||||
text-align: center;
|
||||
font-size:xx-large;
|
||||
font-family:'Trebuchet MS';
|
||||
font-weight: bold;
|
||||
width: 50%;
|
||||
padding: 15px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font-family:'Trebuchet MS';
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#logoJadeHs{
|
||||
position: fixed;
|
||||
top: 1%;
|
||||
right: 10%;
|
||||
width: 128px;
|
||||
height: 69px;
|
||||
transform-origin: center center;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
|
||||
#logoLbeg{
|
||||
position: fixed;
|
||||
top: 1%;
|
||||
right: 1%;
|
||||
width: 128px;
|
||||
height: 69px;
|
||||
transform-origin: center center;
|
||||
z-index: 0;
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: 80px 1fr;
|
||||
grid-template-columns: 250px 1fr;
|
||||
grid-template-areas:
|
||||
"header header"
|
||||
"sidebar main";
|
||||
font-family: 'Trebuchet MS';
|
||||
}
|
||||
|
||||
|
||||
#header {
|
||||
color: white;
|
||||
grid-area: header;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
background: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
.logos {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.logos img {
|
||||
width: 100px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
#sidebar {
|
||||
grid-area: sidebar;
|
||||
padding: 20px;
|
||||
background: #eeeeee;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
|
||||
#main {
|
||||
grid-area: main;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
#map {
|
||||
width: 85%;
|
||||
height: 90%;
|
||||
position: fixed;
|
||||
right: 0%;
|
||||
bottom: 0%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user