mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-01-19 18:14:45 +00:00
131 lines
1.8 KiB
SCSS
131 lines
1.8 KiB
SCSS
$bg-color: #171d3a;
|
|
|
|
$faction-vs: #440E62;
|
|
$faction-nc: #004B80;
|
|
$faction-tr: #9E0B0F;
|
|
|
|
.faction-vs {
|
|
color: $faction-vs;
|
|
}
|
|
.faction-nc {
|
|
color: $faction-nc;
|
|
}
|
|
.faction-tr {
|
|
color: $faction-tr;
|
|
}
|
|
|
|
.faction-vs-bg {
|
|
background: $faction-vs;
|
|
}
|
|
.faction-nc-bg {
|
|
background: $faction-nc;
|
|
}
|
|
.faction-tr-bg {
|
|
background: $faction-tr;
|
|
}
|
|
|
|
html, body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: $bg-color;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
// Sticky footer code
|
|
main {
|
|
min-height: calc(100vh - 160px);
|
|
margin: 20px 0;
|
|
color: white;
|
|
|
|
.modal {
|
|
color: black;
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
height: 60px;
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
a {
|
|
color: rgb(0,150,250);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/*a:visited {
|
|
color: rgb(0,160,190);
|
|
}*/
|
|
|
|
label {
|
|
display: block;
|
|
}
|
|
|
|
input, button, select, textarea {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
padding: 0.4em;
|
|
margin: 0 0 0.5em 0;
|
|
box-sizing: border-box;
|
|
border: 1px solid #ccc;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
input:disabled {
|
|
color: #ccc;
|
|
}
|
|
|
|
input[type="range"] {
|
|
height: 0;
|
|
}
|
|
|
|
button {
|
|
background-color: #f4f4f4;
|
|
outline: none;
|
|
}
|
|
|
|
button:active {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
button:focus {
|
|
border-color: #666;
|
|
}
|
|
|
|
.form-control-plaintext {
|
|
color: white;
|
|
}
|
|
|
|
.notification-shake {
|
|
animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
|
|
@keyframes shake {
|
|
10%, 90% {
|
|
transform: translate3d(-1px, 0, 0);
|
|
}
|
|
|
|
20%, 80% {
|
|
transform: translate3d(2px, 0, 0);
|
|
}
|
|
|
|
30%, 50%, 70% {
|
|
transform: translate3d(-4px, 0, 0);
|
|
}
|
|
|
|
40%, 60% {
|
|
transform: translate3d(4px, 0, 0);
|
|
}
|
|
}
|