Recreated webstie in Dotnet
This commit is contained in:
77
DouwcoWebsite.NET/DouwcoWebsite/wwwroot/css/layout.css
Normal file
77
DouwcoWebsite.NET/DouwcoWebsite/wwwroot/css/layout.css
Normal file
@@ -0,0 +1,77 @@
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
|
||||
/* Navigation menu */
|
||||
.hide_header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav_option {
|
||||
font-family: monsterrat_bold;
|
||||
font-size: 36px;
|
||||
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
background-color: transparent;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.nav_option:hover{
|
||||
background-color: var(--background-accent-clr);
|
||||
}
|
||||
|
||||
.nav_option > p > span {
|
||||
color: var(--green-clr);
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 75px;
|
||||
vertical-align: middle;
|
||||
margin: 10px 20px 10px 50px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
height: 45px;
|
||||
vertical-align: middle;
|
||||
margin: 0 20px 0 10px;
|
||||
}
|
||||
|
||||
/* Main */
|
||||
|
||||
main {
|
||||
flex: 1;
|
||||
margin: 20px;
|
||||
overflow-y: auto;
|
||||
max-height: calc(100vh);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
footer {
|
||||
flex-shrink: 0;
|
||||
background: var(--background-clr);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
footer > Div {
|
||||
justify-content: space-between
|
||||
}
|
||||
|
||||
footer > Div > p {
|
||||
font-size: 16px;
|
||||
margin: 10px 25px 10px 25px;
|
||||
}
|
||||
Reference in New Issue
Block a user