tasko-frontend/style.css
2020-01-14 15:23:01 +01:00

150 lines
1.9 KiB
CSS

:root {
--navbar-text-color: #B5BDFB;
}
* {
font-family: sans-serif;
}
html {
height: 100%;
}
body {
margin: 0;
height: 100%;
}
/* body div:first-child {
height: 100%;
} */
#__next,
.root-container {
height: 100%;
}
/* navbar */
header {
width: 100%;
position: fixed;
}
nav ul {
background-color: #465DEF;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
}
nav div {
display: flex;
flex-wrap: wrap;
}
.navbar-options {
width: 65%;
}
.navbar-auth {
justify-content: flex-end;
width: 35%;
}
nav li {
display: flex;
}
nav a {
padding: 1em;
text-decoration: none;
color: var(--navbar-text-color);
font-size: 80%;
}
@media (min-width: 400px) {
nav a {
font-size: 90%;
}
}
nav img {
width: 1.1rem;
}
.navbar-auth li:first-of-type a {
border: solid 1px rgba(255, 255, 255, .1);
}
.navbar-auth li:last-of-type a:last-of-type {
background-color: #5D6CED;
color: #FFF;
}
/* footer */
footer {
position: fixed;
left: 0;
bottom: 0;
margin: .5em;
width: 100%;
color: #8F9DBE;
text-align: center;
font-size: 90%;
}
/* index page */
.page-content-center {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
h1 {
font-size: 1.4rem;
}
.login-areas {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 1em;
}
.login-area {
display: flex;
flex-direction: column;
justify-content: space-between;
margin: 1em;
height: 10rem;
width: 18rem;
max-width: 300px;
color: #FFF;
border-radius: 2%;
}
.developer-account {
background-color: #4457F3;
}
.company-account {
background-color: #FF733F;
}
.login-area span {
display: inline-block;
margin: 1em;
}
.account-icon {
align-self: flex-end;
font-size: 2rem;
}