New moonlight theme!
This commit is contained in:
parent
e80c514bcd
commit
8519dd3b2b
6 changed files with 1009 additions and 1 deletions
22
Libraries/css/themekit/_colors-moonlight.scss
Normal file
22
Libraries/css/themekit/_colors-moonlight.scss
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
/******************************************************
|
||||||
|
* FIXED COLORS (Change these to propagate chages) *
|
||||||
|
******************************************************/
|
||||||
|
|
||||||
|
$background: #222436;
|
||||||
|
$foreground: #ccdbf1;
|
||||||
|
$components: (
|
||||||
|
"item": #525572,
|
||||||
|
"button": #525572
|
||||||
|
);
|
||||||
|
|
||||||
|
$red: #ff4340;
|
||||||
|
$cyan: #00bee0;
|
||||||
|
$green: #7cb342;
|
||||||
|
$mastColor: #7cb342;
|
||||||
|
|
||||||
|
/******************************************************
|
||||||
|
* DYNAMIC COLORS (Probably Don't Touch!) *
|
||||||
|
******************************************************/
|
||||||
|
|
||||||
|
$cardColor: lighten($background, 2%);
|
||||||
|
$item: lighten($background, 10%);
|
||||||
945
Libraries/css/themekit/main-moonlight.css
Normal file
945
Libraries/css/themekit/main-moonlight.css
Normal file
|
|
@ -0,0 +1,945 @@
|
||||||
|
/******************************************************
|
||||||
|
* FIXED COLORS (Change these to propagate chages) *
|
||||||
|
******************************************************/
|
||||||
|
/******************************************************
|
||||||
|
* DYNAMIC COLORS (Probably Don't Touch!) *
|
||||||
|
******************************************************/
|
||||||
|
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
||||||
|
@import url("https://fonts.googleapis.com/css?family=Spartan&display=swap");
|
||||||
|
body {
|
||||||
|
background-color: #222436;
|
||||||
|
color: #ccdbf1;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blurred {
|
||||||
|
-webkit-filter: blur(5px);
|
||||||
|
filter: blur(5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.blurred.unblurable {
|
||||||
|
-webkit-transition: -webkit-filter ease-in-out 250ms;
|
||||||
|
transition: -webkit-filter ease-in-out 250ms;
|
||||||
|
transition: filter ease-in-out 250ms;
|
||||||
|
transition: filter ease-in-out 250ms, -webkit-filter ease-in-out 250ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blurred.unblurable:hover {
|
||||||
|
-webkit-filter: none;
|
||||||
|
filter: none;
|
||||||
|
-webkit-transition: -webkit-filter ease-in-out 250ms;
|
||||||
|
transition: -webkit-filter ease-in-out 250ms;
|
||||||
|
transition: filter ease-in-out 250ms;
|
||||||
|
transition: filter ease-in-out 250ms, -webkit-filter ease-in-out 250ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bounce {
|
||||||
|
-webkit-animation: bounce 2s 10;
|
||||||
|
animation: bounce 2s 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes bounce {
|
||||||
|
0%,
|
||||||
|
20%,
|
||||||
|
50%,
|
||||||
|
80%,
|
||||||
|
100% {
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
-webkit-transform: translateY(-30px);
|
||||||
|
transform: translateY(-30px);
|
||||||
|
}
|
||||||
|
60% {
|
||||||
|
-webkit-transform: translateY(-15px);
|
||||||
|
transform: translateY(-15px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bounce {
|
||||||
|
0%,
|
||||||
|
20%,
|
||||||
|
50%,
|
||||||
|
80%,
|
||||||
|
100% {
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
-webkit-transform: translateY(-30px);
|
||||||
|
transform: translateY(-30px);
|
||||||
|
}
|
||||||
|
60% {
|
||||||
|
-webkit-transform: translateY(-15px);
|
||||||
|
transform: translateY(-15px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-demo {
|
||||||
|
cursor: pointer;
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 3rem;
|
||||||
|
padding-bottom: 3rem;
|
||||||
|
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
|
||||||
|
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
|
||||||
|
-webkit-transition: all ease-in-out 150ms;
|
||||||
|
transition: all ease-in-out 150ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-demo.red {
|
||||||
|
background-color: #ff4340;
|
||||||
|
-webkit-box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
|
||||||
|
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-demo.blue {
|
||||||
|
background-color: #00bee0;
|
||||||
|
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
|
||||||
|
box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-demo.green {
|
||||||
|
background-color: #7cb342;
|
||||||
|
-webkit-box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
|
||||||
|
box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-demo.bg {
|
||||||
|
background-color: #222436;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-demo.fg {
|
||||||
|
background-color: #ccdbf1;
|
||||||
|
color: #222436;
|
||||||
|
-webkit-box-shadow: 0px 0px 10px 0px rgba(204, 219, 241, 0.5);
|
||||||
|
box-shadow: 0px 0px 10px 0px rgba(204, 219, 241, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-demo:hover {
|
||||||
|
-webkit-transform: translateY(-10px);
|
||||||
|
transform: translateY(-10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.display-mode-icon {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal {
|
||||||
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 2048;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: auto;
|
||||||
|
background-color: #222436;
|
||||||
|
background-color: rgba(0, 0, 0, 0.75);
|
||||||
|
-webkit-transition-duration: 400ms, 400ms;
|
||||||
|
transition-duration: 400ms, 400ms;
|
||||||
|
-webkit-transition-property: visibility, opacity;
|
||||||
|
transition-property: visibility, opacity;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal.visible {
|
||||||
|
visibility: visible;
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transition-duration: 400ms, 0;
|
||||||
|
transition-duration: 400ms, 0;
|
||||||
|
-webkit-transition-property: opacity, visibility;
|
||||||
|
transition-property: opacity, visibility;
|
||||||
|
-webkit-transition-delay: 0, 400ms;
|
||||||
|
transition-delay: 0, 400ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Modal Content */
|
||||||
|
.modal-content {
|
||||||
|
background-color: #222436;
|
||||||
|
padding: 20px;
|
||||||
|
border: 1px solid #363955;
|
||||||
|
width: 80%;
|
||||||
|
height: 80%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 8px;
|
||||||
|
-webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
|
||||||
|
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
|
||||||
|
/* The Close Button */
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content img {
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
width: 80%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .container {
|
||||||
|
width: 80%;
|
||||||
|
height: 80%;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .header {
|
||||||
|
text-align: center;
|
||||||
|
-webkit-margin-before: 0;
|
||||||
|
margin-block-start: 0;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
border-bottom: 1px solid #363955;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .content {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .close {
|
||||||
|
color: #ccdbf1;
|
||||||
|
float: right;
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .close:hover, .modal-content .close:focus {
|
||||||
|
color: #adb6c4;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-no-scroll {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 0.75rem 1rem;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
background-color: #525572;
|
||||||
|
color: #ccdbf1;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
cursor: pointer;
|
||||||
|
width: -webkit-fit-content;
|
||||||
|
width: -moz-fit-content;
|
||||||
|
width: fit-content;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
|
||||||
|
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
|
||||||
|
-webkit-transition: all 150ms ease-in-out;
|
||||||
|
transition: all 150ms ease-in-out;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: #363955;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
background-color: #2c2e46;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.small {
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 0.5rem 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.outlined {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 2px solid #525572;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.outlined:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 2px solid #363955;
|
||||||
|
-webkit-transition: all 150ms ease-in-out;
|
||||||
|
transition: all 150ms ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.outlined:active {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 2px solid #2c2e46;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.inverted {
|
||||||
|
background-color: #dddbc9;
|
||||||
|
color: #33240e;
|
||||||
|
-webkit-box-shadow: 0px 0px 10px 0px rgba(221, 219, 201, 0.5);
|
||||||
|
box-shadow: 0px 0px 10px 0px rgba(221, 219, 201, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
button.inverted:hover {
|
||||||
|
background-color: #f1f0e8;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.inverted:active {
|
||||||
|
background-color: #e7e5d9;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.inverted.outlined {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #dddbc9;
|
||||||
|
border: 2px solid #dddbc9;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.inverted.outlined:hover {
|
||||||
|
color: #f1f0e8;
|
||||||
|
border: 2px solid #f1f0e8;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.inverted.outlined:active {
|
||||||
|
color: #e0e9f6;
|
||||||
|
border: 2px solid #e7e5d9;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red {
|
||||||
|
background-color: #ff4340;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red:hover {
|
||||||
|
background-color: #ff7573;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red:active {
|
||||||
|
background-color: #ff5c5a;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red.outlined {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #ff4340;
|
||||||
|
border: 2px solid #ff4340;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red.outlined:hover {
|
||||||
|
color: #ff7573;
|
||||||
|
border: 2px solid #ff7573;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red.outlined:active {
|
||||||
|
color: #ff5c5a;
|
||||||
|
border: 2px solid #ff5c5a;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green {
|
||||||
|
background-color: #7cb342;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green:hover {
|
||||||
|
background-color: #95c563;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green:active {
|
||||||
|
background-color: #89be50;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green.outlined {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #7cb342;
|
||||||
|
border: 2px solid #7cb342;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green.outlined:hover {
|
||||||
|
color: #95c563;
|
||||||
|
border: 2px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green.outlined:active {
|
||||||
|
color: #89be50;
|
||||||
|
border: 2px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan {
|
||||||
|
background-color: #00bee0;
|
||||||
|
color: #222436;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan:hover {
|
||||||
|
background-color: #14dbff;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan:active {
|
||||||
|
background-color: #00d4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan.outlined {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #00bee0;
|
||||||
|
border: 2px solid #00bee0;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan.outlined:hover {
|
||||||
|
color: #14dbff;
|
||||||
|
border: 2px solid #14dbff;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan.outlined:active {
|
||||||
|
color: #00d4fa;
|
||||||
|
border: 2px solid #00d4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: 90vw;
|
||||||
|
margin: 2rem 5vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider {
|
||||||
|
width: 70vw;
|
||||||
|
height: 10px;
|
||||||
|
border-bottom: 1px solid #525572;
|
||||||
|
margin: 1rem auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider.wide {
|
||||||
|
width: 100vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.embed {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.embed iframe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid {
|
||||||
|
display: -ms-grid;
|
||||||
|
display: grid;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-ms-grid-columns: (minmax(120px, 1fr))[auto-fit];
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
||||||
|
grid-gap: 2rem;
|
||||||
|
grid-auto-flow: dense;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cards {
|
||||||
|
display: -ms-grid;
|
||||||
|
display: grid;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
|
||||||
|
grid-gap: 2rem;
|
||||||
|
grid-auto-flow: dense;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cards .card {
|
||||||
|
background-color: #26283c;
|
||||||
|
color: #ccdbf1;
|
||||||
|
-webkit-box-shadow: 0 0 10px 0 rgba(18, 19, 29, 0.95);
|
||||||
|
box-shadow: 0 0 10px 0 rgba(18, 19, 29, 0.95);
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 2px solid #3a3d5c;
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-transition: all ease-in-out 150ms;
|
||||||
|
transition: all ease-in-out 150ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cards .card:hover {
|
||||||
|
-webkit-transform: translateY(-10px);
|
||||||
|
transform: translateY(-10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cards .card .header {
|
||||||
|
text-align: center;
|
||||||
|
-webkit-margin-before: 0;
|
||||||
|
margin-block-start: 0;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
border-bottom: 1px solid #3a3d5c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cards .card .content {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.centered {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.rounded {
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.thumbnail {
|
||||||
|
width: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.small {
|
||||||
|
width: 128px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.medium {
|
||||||
|
width: 256px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.large {
|
||||||
|
width: 512px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead {
|
||||||
|
height: 100vh;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #7cb342;
|
||||||
|
color: #222436;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead.gradient {
|
||||||
|
background: url("../../../Resources/img/cover.png"), #7cb342;
|
||||||
|
background: url("../../../Resources/img/cover.png"), -webkit-gradient(linear, right top, left bottom, from(#00bee0), to(#7cb342));
|
||||||
|
background: url("../../../Resources/img/cover.png"), linear-gradient(to bottom left, #00bee0, #7cb342);
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead.gradient.rainbow {
|
||||||
|
background: linear-gradient(45deg, #ff0000, #ffb200, #f2ff00, #00c00c, #00d2d0, #0040d2, #a400f6, #f600f1);
|
||||||
|
background-size: 1600% 1600%;
|
||||||
|
color: #252525;
|
||||||
|
-webkit-animation: RainbowGradient 30s ease infinite;
|
||||||
|
animation: RainbowGradient 30s ease infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes RainbowGradient {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
background-position: 100% 51%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes RainbowGradient {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
background-position: 100% 51%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead p.content {
|
||||||
|
font-size: 64px;
|
||||||
|
font-weight: 900;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead p.content .subheader {
|
||||||
|
font-size: 32px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead .down {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead .down i {
|
||||||
|
font-size: 64px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top {
|
||||||
|
background-color: #222436;
|
||||||
|
color: #ccdbf1;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100vw;
|
||||||
|
height: 3rem;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-box-shadow: 0px 2px 0px 0px rgba(14, 15, 23, 0.5);
|
||||||
|
box-shadow: 0px 2px 0px 0px rgba(14, 15, 23, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.masthead {
|
||||||
|
height: calc(100vh - 3rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin-top: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top a {
|
||||||
|
color: #ccdbf1;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top.translucent {
|
||||||
|
background-color: rgba(34, 36, 54, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top .item {
|
||||||
|
display: -webkit-inline-box;
|
||||||
|
display: -ms-inline-flexbox;
|
||||||
|
display: inline-flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
background-color: #525572;
|
||||||
|
padding: 0px 1rem;
|
||||||
|
height: 100%;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top .item span {
|
||||||
|
display: -webkit-inline-box;
|
||||||
|
display: -ms-inline-flexbox;
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top .item:hover {
|
||||||
|
background-color: #181a26;
|
||||||
|
-webkit-transition: all ease-in 150ms;
|
||||||
|
transition: all ease-in 150ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 767px) {
|
||||||
|
.dropdown.item.compact > *,
|
||||||
|
.dropdown.item.compact {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.titlebar.top .item:not(.compact) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu {
|
||||||
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 1024;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: rgba(34, 36, 54, 0.95);
|
||||||
|
color: #ccdbf1;
|
||||||
|
-webkit-transition-duration: 200ms, 200ms;
|
||||||
|
transition-duration: 200ms, 200ms;
|
||||||
|
-webkit-transition-property: visibility, opacity;
|
||||||
|
transition-property: visibility, opacity;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu.visible {
|
||||||
|
visibility: visible;
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transition-duration: 200ms, 0;
|
||||||
|
transition-duration: 200ms, 0;
|
||||||
|
-webkit-transition-property: opacity, visibility;
|
||||||
|
transition-property: opacity, visibility;
|
||||||
|
-webkit-transition-delay: 0, 200ms;
|
||||||
|
transition-delay: 0, 200ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu .close-mobile-menu {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: reverse;
|
||||||
|
-ms-flex-direction: row-reverse;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
justify-items: flex-end;
|
||||||
|
width: 100vw;
|
||||||
|
max-width: 100vw;
|
||||||
|
font-size: 4rem;
|
||||||
|
background-color: rgba(255, 17, 13, 0.5);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu .close-mobile-menu:hover {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu .item {
|
||||||
|
width: 100vw;
|
||||||
|
height: 10px;
|
||||||
|
max-height: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu .sub.item {
|
||||||
|
display: block;
|
||||||
|
padding-left: 3rem;
|
||||||
|
background-color: #404365;
|
||||||
|
-webkit-animation: disappear 250ms 1;
|
||||||
|
animation: disappear 250ms 1;
|
||||||
|
max-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-menu .sub.item.visible {
|
||||||
|
display: -webkit-inline-box;
|
||||||
|
display: -ms-inline-flexbox;
|
||||||
|
display: inline-flex;
|
||||||
|
max-height: 4rem;
|
||||||
|
-webkit-animation: appear 250ms 1;
|
||||||
|
animation: appear 250ms 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes appear {
|
||||||
|
0% {
|
||||||
|
max-height: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
max-height: 4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes appear {
|
||||||
|
0% {
|
||||||
|
max-height: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
max-height: 4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes disappear {
|
||||||
|
0% {
|
||||||
|
max-height: 4rem;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
max-height: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes disappear {
|
||||||
|
0% {
|
||||||
|
max-height: 4rem;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
max-height: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.no-scroll {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item:hover .dropdown-content {
|
||||||
|
max-height: 100vh;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content {
|
||||||
|
max-height: 0px;
|
||||||
|
overflow-y: hidden;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
-webkit-transition: max-height 0.5s ease-in-out;
|
||||||
|
transition: max-height 0.5s ease-in-out;
|
||||||
|
position: absolute;
|
||||||
|
background-color: #525572;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content .item {
|
||||||
|
color: #ccdbf1;
|
||||||
|
padding: 12px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content .item:hover {
|
||||||
|
background-color: #181a26;
|
||||||
|
-webkit-transition: all ease-in 150ms;
|
||||||
|
transition: all ease-in 150ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content .dropdown.item {
|
||||||
|
display: inline-block;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content .dropdown.item:hover .dropdown-content {
|
||||||
|
position: unset;
|
||||||
|
max-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content .dropdown.item .dropdown-content {
|
||||||
|
max-height: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content .dropdown.item .dropdown-content .item {
|
||||||
|
display: -webkit-inline-box;
|
||||||
|
display: -ms-inline-flexbox;
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown.item .dropdown-content {
|
||||||
|
top: 0;
|
||||||
|
left: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a,
|
||||||
|
p,
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
b,
|
||||||
|
i,
|
||||||
|
body,
|
||||||
|
button {
|
||||||
|
font-family: "Spartan";
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #ff4340;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #ff110d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.code {
|
||||||
|
font-family: "Fira Code";
|
||||||
|
-webkit-font-variant-ligatures: common-ligatures;
|
||||||
|
font-variant-ligatures: common-ligatures;
|
||||||
|
background-color: #363955;
|
||||||
|
border: 2px solid #181a26;
|
||||||
|
padding: 0.1rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.code,
|
||||||
|
pre {
|
||||||
|
display: inline-block;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
font-family: "Fira Code";
|
||||||
|
-webkit-font-variant-ligatures: common-ligatures;
|
||||||
|
font-variant-ligatures: common-ligatures;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
/* css-3 */
|
||||||
|
white-space: -moz-pre-wrap;
|
||||||
|
/* Mozilla, since 1999 */
|
||||||
|
white-space: -pre-wrap;
|
||||||
|
/* Opera 4-6 */
|
||||||
|
white-space: -o-pre-wrap;
|
||||||
|
/* Opera 7 */
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centered {
|
||||||
|
text-align: center;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.in-center {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
-webkit-padding-start: 0;
|
||||||
|
padding-inline-start: 0;
|
||||||
|
-webkit-padding-end: 40px;
|
||||||
|
padding-inline-end: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
line-height: 1.75;
|
||||||
|
}
|
||||||
|
/*# sourceMappingURL=main-moonlight.css.map */
|
||||||
20
Libraries/css/themekit/main-moonlight.css.map
Normal file
20
Libraries/css/themekit/main-moonlight.css.map
Normal file
File diff suppressed because one or more lines are too long
13
Libraries/css/themekit/main-moonlight.scss
Normal file
13
Libraries/css/themekit/main-moonlight.scss
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
@import "colors-moonlight";
|
||||||
|
|
||||||
|
@import "_custom";
|
||||||
|
|
||||||
|
@import "modal";
|
||||||
|
@import "button";
|
||||||
|
@import "container";
|
||||||
|
@import "embed";
|
||||||
|
@import "grid";
|
||||||
|
@import "image";
|
||||||
|
@import "masthead";
|
||||||
|
@import "menu";
|
||||||
|
@import "text";
|
||||||
|
|
@ -3,6 +3,8 @@ let currentDisplayMode = "dark";
|
||||||
const updateDisplayModeIcons = () => {
|
const updateDisplayModeIcons = () => {
|
||||||
document.querySelectorAll(".display-mode-icon").forEach((el) => {
|
document.querySelectorAll(".display-mode-icon").forEach((el) => {
|
||||||
if (currentDisplayMode == "dark") {
|
if (currentDisplayMode == "dark") {
|
||||||
|
el.innerHTML = "🌙";
|
||||||
|
} else if (currentDisplayMode == "moonlight") {
|
||||||
el.innerHTML = "☀️";
|
el.innerHTML = "☀️";
|
||||||
} else {
|
} else {
|
||||||
el.innerHTML = "🌑";
|
el.innerHTML = "🌑";
|
||||||
|
|
@ -12,6 +14,10 @@ const updateDisplayModeIcons = () => {
|
||||||
|
|
||||||
const toggleDisplayMode = () => {
|
const toggleDisplayMode = () => {
|
||||||
if (currentDisplayMode == "dark") {
|
if (currentDisplayMode == "dark") {
|
||||||
|
window.localStorage.setItem("displayMode", "moonlight");
|
||||||
|
currentDisplayMode = "moonlight";
|
||||||
|
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-moonlight.css";
|
||||||
|
} else if (currentDisplayMode == "moonlight") {
|
||||||
window.localStorage.setItem("displayMode", "light");
|
window.localStorage.setItem("displayMode", "light");
|
||||||
currentDisplayMode = "light";
|
currentDisplayMode = "light";
|
||||||
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-light.css";
|
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-light.css";
|
||||||
|
|
@ -32,6 +38,8 @@ window.addEventListener("DOMContentLoaded", (evt) => {
|
||||||
|
|
||||||
if (currentDisplayMode == "dark") {
|
if (currentDisplayMode == "dark") {
|
||||||
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-dark.css";
|
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-dark.css";
|
||||||
|
} else if (currentDisplayMode == "moonlight") {
|
||||||
|
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-moonlight.css";
|
||||||
} else {
|
} else {
|
||||||
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-light.css";
|
document.getElementById("themekit-css").href = "Libraries/css/themekit/main-light.css";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
<span>
|
<span>
|
||||||
Support <i class="fa fa-caret-right"></i>
|
Support <i class="fa fa-caret-right"></i>
|
||||||
</span>
|
</span>
|
||||||
<div class="compact sub item">
|
<div class="compact sub item"4>
|
||||||
Item 1
|
Item 1
|
||||||
</div>
|
</div>
|
||||||
<div class="compact sub item">
|
<div class="compact sub item">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue