This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/website/public/css/general.css

138 lines
2.6 KiB
CSS
Raw Normal View History

/* GENERAL */
:root {
--border-header-footer: 3px rgba(255, 255, 255, .7) solid;
--background-color: #181818;
--text-color: rgb(222, 222, 222);
--important: #ffd800;
}
html {
line-height: initial;
}
2020-03-18 16:26:18 +01:00
body {
background-color: var(--background-color);
}
#__next {
min-height: 100vh;
display: flex;
flex-flow: column wrap;
background-color: var(--background-color);
color: var(--text-color);
font-family: 'Montserrat', sans-serif;
font-weight: 400;
font-size: 18px;
2020-03-18 16:26:18 +01:00
padding-top: 99px; /* Height of the Header */
}
p {
font-size: 18px;
line-height: 1.9;
}
a:hover {
text-decoration: underline;
}
/* CONTENT */
.content {
flex-grow: 1;
display: flex;
}
.centeredContainer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
div[aria-hidden="true"] > * {
display: none;
}
2020-03-21 23:03:30 +01:00
/* LOADING */
.isLoading {
display: none;
}
#preloader {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes Loader__spin {
0% {
animation-timing-function: cubic-bezier(0.5856, 0.0703, 0.4143, 0.9297);
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* UTILITIES */
.text-center {
text-align: center;
word-break: break-word;
}
.justify-content-center {
justify-content: center;
}
.align-items-center {
align-items: center;
}
.title-important {
color: var(--important);
font-weight: 500;
}
a, .important {
color: var(--important);
text-decoration: none;
}
2020-03-21 16:43:37 +01:00
.d-none {
display: none !important;
}
.form-group {
margin-top: 1.4rem;
}
.form-control {
display: block;
width: 100%;
height: calc(1.5em + .75rem + 2px);
padding: .375rem .75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: .25rem;
}
.form-label {
display: inline-block;
margin-bottom: .5em;
}
.form-result {
margin-top: 25px;
}
.form-success {
color: #90EE90;
}
.form-error {
color: #ff7f7f;
}
.btn {
cursor: pointer;
border: 1px solid transparent;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-dark:hover {
color: #fff;
background-color: #23272b;
border-color: #1d2124;
}
.btn-dark {
color: #fff;
background-color: #343a40;
border-color: #343a40;
}