page layout
This commit is contained in:
39
frontend/assets/style.css
Normal file
39
frontend/assets/style.css
Normal file
@@ -0,0 +1,39 @@
|
||||
body {
|
||||
background-color: black;
|
||||
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
|
||||
padding: 5em;
|
||||
}
|
||||
|
||||
#main-grid {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
display: grid;
|
||||
gap: 2em;
|
||||
|
||||
grid-template-rows: 2.5em auto;
|
||||
}
|
||||
|
||||
#search {
|
||||
grid-column: 1 / span 2;
|
||||
}
|
||||
|
||||
#left {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
#right {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
background-color: rgba(255, 192, 203, 1);
|
||||
border: 1px solid blueviolet;
|
||||
|
||||
padding: 1em;
|
||||
border-radius: .5em;
|
||||
}
|
||||
Reference in New Issue
Block a user