mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-07-15 00:14:37 +00:00
Initial commit
This commit is contained in:
commit
20946fdb43
49 changed files with 2393 additions and 0 deletions
0
scss/custom.scss
Normal file
0
scss/custom.scss
Normal file
130
scss/defaults.scss
Normal file
130
scss/defaults.scss
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
$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);
|
||||
}
|
||||
}
|
||||
4
scss/main.scss
Normal file
4
scss/main.scss
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// bootstrap style overrides
|
||||
@import "custom";
|
||||
@import "~bootstrap/scss/bootstrap";
|
||||
@import "defaults";
|
||||
Loading…
Add table
Add a link
Reference in a new issue