create sample login page
This commit is contained in:
@@ -12,6 +12,14 @@ body {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: lightcoral;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.landing-bg {
|
||||
background: url("/static/img/nasa_splash.jpg") no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
@@ -19,6 +27,7 @@ body {
|
||||
|
||||
.landing-main-text {
|
||||
text-align: center;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.landing-section {
|
||||
@@ -86,8 +95,6 @@ footer p {
|
||||
margin: 0;
|
||||
color: #c55e00;
|
||||
font-size: 3em;
|
||||
text-decoration: underline 0.1em #c55e00;
|
||||
text-underline-offset: 0.1em;
|
||||
}
|
||||
|
||||
.brand-text {
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
body {
|
||||
font-family: monospace;
|
||||
margin: 0;
|
||||
overflow-x: hidden;
|
||||
color: white;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: lightcoral;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.login-bg {
|
||||
background: url("/static/img/nasa_splash.jpg") no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.shade {
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.login-section {
|
||||
min-height: 100vh;
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.login-section-content {
|
||||
width: 33vw;
|
||||
height: 33vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 2em;
|
||||
}
|
||||
|
||||
.login-input {
|
||||
width: 20em;
|
||||
margin: 0.1em;
|
||||
}
|
||||
|
||||
.spaced {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0.5em 0.5em 0 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.75rem;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
footer p {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: 2.5em;
|
||||
margin: 0;
|
||||
color: #c55e00;
|
||||
}
|
||||
|
||||
|
||||
.header {
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.header-link {
|
||||
color: white;
|
||||
margin: 1rem;
|
||||
font-size: 1rem;
|
||||
text-decoration: underline 0.1em #c55e00;
|
||||
text-underline-offset: 0.1em;
|
||||
transition: text-decoration-color 300ms, text-underline-offset 300ms;
|
||||
}
|
||||
|
||||
.header-link:hover {
|
||||
text-decoration-color: red;
|
||||
text-underline-offset: 0.2em;
|
||||
}
|
||||
|
||||
.header-text {
|
||||
margin: 1rem 1rem 1rem auto;
|
||||
font-size: 1rem;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#logo {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
Reference in New Issue
Block a user