start work on page
This commit is contained in:
@@ -1,2 +1,32 @@
|
|||||||
@page "/"
|
@page "/"
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<div id="PageFrame">
|
||||||
|
|
||||||
|
<div id="Header">
|
||||||
|
<div id="LoginButtons">
|
||||||
|
<button @onclick="LoginClick" class="LoginButton">Login</button>
|
||||||
|
<button @onclick="RegisterClick" class="LoginButton">Register</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="Body">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="Footer">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@code{
|
||||||
|
|
||||||
|
void LoginClick(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void RegisterClick(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,3 +1,52 @@
|
|||||||
|
* {
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#Header {
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
background-color: blue;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#LoginButtons {
|
||||||
|
width: 400px;
|
||||||
|
height: 100px;
|
||||||
|
background-color: #b32121;
|
||||||
|
margin-right: 50px;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.LoginButton {
|
||||||
|
width: 125px;
|
||||||
|
margin: 25px 0 25px 50px;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #aaa;
|
||||||
|
color: #000;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.LoginButton:hover {
|
||||||
|
background-color: #555;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#Body {
|
||||||
|
background-color: green;
|
||||||
|
min-height: calc( 100vh - 400px );
|
||||||
|
}
|
||||||
|
|
||||||
|
#Footer {
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
background-color: blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#blazor-error-ui {
|
#blazor-error-ui {
|
||||||
background: lightyellow;
|
background: lightyellow;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user