This commit is contained in:
oitsjustjose 2020-03-05 11:23:37 -05:00
commit 3d2ff01e78
223 changed files with 4819 additions and 127381 deletions

View file

@ -0,0 +1,85 @@
body {
background-color: $background;
color: $foreground;
margin-left: 0px;
margin-right: 0px;
}
.blurred {
filter: blur(5px);
&.unblurable {
transition: filter ease-in-out 250ms;
&:hover {
filter: none;
transition: filter ease-in-out 250ms;
}
}
}
.bounce {
-moz-animation: bounce 2s 10;
-webkit-animation: bounce 2s 10;
animation: bounce 2s 10;
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}
.color-demo {
cursor: pointer;
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
transition: all ease-in-out 150ms;
&.red {
background-color: $red;
box-shadow: 0px 0px 10px 0px rgba(darken($red, 10%), 0.5);
}
&.blue {
background-color: $cyan;
box-shadow: 0px 0px 10px 0px rgba(darken($cyan, 10%), 0.5);
}
&.green {
background-color: $green;
box-shadow: 0px 0px 10px 0px rgba(darken($green, 10%), 0.5);
}
&.bg {
background-color: $background;
}
&.fg {
background-color: $foreground;
color: $background;
box-shadow: 0px 0px 10px 0px rgba($foreground, 0.5);
}
&:hover {
transform: translateY(-10px);
}
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
text-decoration: none;
font-style: normal;
}

View file

@ -0,0 +1,159 @@
button {
padding: 0.75rem 1rem;
border: none;
outline: none;
background-color: map-get($components, "button");
color: $foreground;
user-select: none;
cursor: pointer;
width: fit-content;
border-radius: 0.3em;
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
transition: all 150ms ease-in-out;
font-size: 14px;
&:hover {
background-color: lighten($background, 10%);
}
&:active {
background-color: lighten($background, 5%);
}
&.small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
&.outlined {
background-color: transparent;
border: 2px solid map-get($components, "button");
&:hover {
background-color: transparent;
border: 2px solid lighten($background, 10%);
transition: all 150ms ease-in-out;
}
&:active {
background-color: transparent;
border: 2px solid lighten($background, 5%);
}
}
&.inverted {
background-color: invert($background);
color: invert($foreground);
box-shadow: 0px 0px 10px 0px rgba(invert($background), 0.5);
&:hover {
background-color: lighten(invert($background), 10%);
}
&:active {
background-color: lighten(invert($background), 5%);
}
&.outlined {
background-color: transparent;
color: invert($background);
border: 2px solid invert($background);
&:hover {
color: lighten(invert($background), 10%);
border: 2px solid lighten(invert($background), 10%);
}
&:active {
color: lighten($foreground, 5%);
border: 2px solid lighten(invert($background), 5%);
}
}
}
&.red {
background-color: $red;
&:hover {
background-color: lighten($red, 10%);
}
&:active {
background-color: lighten($red, 5%);
}
&.outlined {
background-color: transparent;
color: $red;
border: 2px solid $red;
&:hover {
color: lighten($red, 10%);
border: 2px solid lighten($red, 10%);
}
&:active {
color: lighten($red, 5%);
border: 2px solid lighten($red, 5%);
}
}
}
&.green {
background-color: $green;
&:hover {
background-color: lighten($green, 10%);
}
&:active {
background-color: lighten($green, 5%);
}
&.outlined {
background-color: transparent;
color: $green;
border: 2px solid $green;
&:hover {
color: lighten($green, 10%);
border: 2px solid;
}
&:active {
color: lighten($green, 5%);
border: 2px solid;
}
}
}
&.cyan {
background-color: $cyan;
color: $background;
&:hover {
background-color: lighten($cyan, 10%);
}
&:active {
background-color: lighten($cyan, 5%);
}
&.outlined {
background-color: transparent;
color: $cyan;
border: 2px solid $cyan;
&:hover {
color: lighten($cyan, 10%);
border: 2px solid lighten($cyan, 10%);
}
&:active {
color: lighten($cyan, 5%);
border: 2px solid lighten($cyan, 5%);
}
}
}
}

View file

@ -0,0 +1,22 @@
/******************************************************
* FIXED COLORS (Change these to propagate chages) *
******************************************************/
$background: #252525;
$foreground: #eeeeee;
$components: (
"item": #3a3a3a,
"button": #3a3a3a
);
$red: #ff4340;
$cyan: #00bee0;
$green: #7cb342;
$mastColor: #7cb342;
/******************************************************
* DYNAMIC COLORS (Probably Don't Touch!) *
******************************************************/
$cardColor: lighten($background, 2%);
$item: lighten($background, 10%);

View file

@ -0,0 +1,21 @@
/******************************************************
* FIXED COLORS (Change these to propagate chages) *
******************************************************/
$background: #eeeeee;
$foreground: #252525;
$components: (
"item": #d0d0d0,
"button": #d0d0d0
);
$red: #ff4340;
$cyan: #00bee0;
$green: #7cb342;
$mastColor: #7cb342;
/******************************************************
* DYNAMIC COLORS (Probably Don't Touch!) *
******************************************************/
$cardColor: lighten($background, 2%);
$item: lighten($background, 10%);

View 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%);

View file

@ -0,0 +1,17 @@
.container {
width: 90vw;
padding: 2rem 5vw;
}
.divider {
width: 70vw;
height: 10px;
border-bottom: 1px solid map-get($components, "item");
margin: 1rem auto;
&.wide {
width: 100vw;
}
&.narrow {
width: 30vw;
}
}

View file

@ -0,0 +1,14 @@
.embed {
position: relative;
overflow: hidden;
padding-top: 56.25%;
& iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
}

View file

@ -0,0 +1,44 @@
.grid {
display: grid;
align-items: center;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
grid-gap: 2rem;
grid-auto-flow: dense;
}
.cards {
display: grid;
flex-direction: row;
justify-content: center;
grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
grid-auto-rows: 1fr;
grid-gap: 2rem;
grid-auto-flow: dense;
.card {
background-color: $cardColor;
color: $foreground;
box-shadow: 0 0 10px 0 rgba(darken($cardColor, 10%), 0.95);
padding: 1rem;
border-radius: 8px;
border: 2px solid lighten($cardColor, 10%);
cursor: pointer;
transition: all ease-in-out 150ms;
&:hover {
transform: translateY(-10px);
}
.header {
text-align: center;
margin-block-start: 0;
padding-bottom: 1rem;
border-bottom: 1px solid lighten($cardColor, 10%);
}
.content {
overflow: hidden;
}
}
}

View file

@ -0,0 +1,23 @@
img.centered {
display: block;
}
img {
max-width: 100%;
height: auto;
&.rounded {
border-radius: 8px;
}
&.thumbnail {
width: 24px;
}
&.small {
width: 128px;
}
&.medium {
width: 256px;
}
&.large {
width: 512px;
}
}

View file

@ -0,0 +1,90 @@
.masthead {
height: 100vh;
width: 100%;
background-color: $mastColor;
color: $background;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
&.gradient {
background: url("../../../Resources/img/cover.png"), $mastColor;
background: url("../../../Resources/img/cover.png"), -webkit-linear-gradient(to bottom left, $cyan, $green);
background: url("../../../Resources/img/cover.png"), linear-gradient(to bottom left, $cyan, $green);
&.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;
-moz-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%;
}
}
@-moz-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%;
}
}
}
}
p.content {
font-size: 64px;
font-weight: 900;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
.subheader {
font-size: 32px;
text-align: center;
}
.subsubheader {
font-size: 20px;
text-align: center;
}
}
.down {
position: absolute;
bottom: 0;
i {
font-size: 64px;
}
}
}

View file

@ -0,0 +1,215 @@
.titlebar.top {
background-color: $background;
color: $foreground;
position: fixed;
z-index: 1;
top: 0;
left: 0;
width: 100vw;
height: 3rem;
display: flex;
flex-direction: row;
align-items: center;
box-shadow: 0px 2px 0px 0px rgba(darken($background, 10%), 0.5);
@at-root .masthead {
height: calc(100vh - 3rem);
}
@at-root body {
margin-top: 3rem;
}
a {
color: $foreground;
text-decoration: none;
}
&.translucent {
background-color: rgba($background, 0.95);
}
.item {
display: inline-flex;
flex-direction: column;
justify-content: center;
background-color: map-get($components, "item");
padding: 0px 1rem;
height: 100%;
cursor: pointer;
span {
display: inline-flex;
}
&:hover {
background-color: darken($background, 5%);
transition: all ease-in 150ms;
}
}
}
// Desktop Titlebar Logic
@media (min-width: 767px) {
.dropdown.item.compact > *,
.dropdown.item.compact {
display: none;
}
}
// Mobile Titlebar Logic
@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($background, 0.95);
color: $foreground;
transition-duration: 200ms, 200ms;
transition-property: visibility, opacity;
&.visible {
visibility: visible;
opacity: 1;
transition-duration: 200ms, 0;
transition-property: opacity, visibility;
transition-delay: 0, 200ms;
}
.close-mobile-menu {
display: flex;
flex-direction: row-reverse;
justify-items: flex-end;
width: 100vw;
max-width: 100vw;
font-size: 4rem;
background-color: rgba(darken($red, 10%), 0.5);
cursor: pointer;
&:hover {
color: #ffffff;
}
}
.item {
width: 100vw;
height: 10px;
max-height: 4rem;
}
.sub.item {
display: block;
padding-left: 3rem;
background-color: lighten($background, 15%);
-moz-animation: disappear 250ms 1;
-webkit-animation: disappear 250ms 1;
animation: disappear 250ms 1;
// USE HEIGHT TO ANIMATE
max-height: 0;
&.visible {
display: -webkit-inline-box;
// USE HEIGHT TO ANIMATE
max-height: 4rem;
-moz-animation: appear 250ms 1;
-webkit-animation: appear 250ms 1;
animation: appear 250ms 1;
}
}
}
@keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
@keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
}
.no-scroll {
overflow: hidden;
}
.dropdown.item {
position: relative;
display: inline-block;
&:hover .dropdown-content {
max-height: 100vh;
display: block;
}
& .dropdown-content {
max-height: 0px;
overflow-y: hidden;
top: 100%;
left: 0;
-webkit-transition: max-height 0.5s ease-in-out;
-moz-transition: max-height 0.5s ease-in-out;
-o-transition: max-height 0.5s ease-in-out;
transition: max-height 0.5s ease-in-out;
position: absolute;
background-color: map-get($components, "item");
& .item {
color: $foreground;
padding: 12px 16px;
text-decoration: none;
display: block;
&:hover {
background-color: darken($background, 5%);
transition: all ease-in 150ms;
}
}
& .dropdown.item {
display: inline-block;
overflow: visible;
&:hover .dropdown-content {
position: unset;
max-height: 100vh;
}
& .dropdown-content {
max-height: 0px;
& .item {
display: inline-flex;
}
}
}
}
& & .dropdown-content {
top: 0;
left: 100%;
}
}

View file

@ -0,0 +1,87 @@
.modal {
visibility: hidden;
opacity: 0;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
position: fixed;
z-index: 2048;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
overflow: auto;
background-color: $background;
background-color: rgba(0, 0, 0, 0.75);
transition-duration: 400ms, 400ms;
transition-property: visibility, opacity;
&.visible {
visibility: visible;
opacity: 1;
transition-duration: 400ms, 0;
transition-property: opacity, visibility;
transition-delay: 0, 400ms;
}
}
/* Modal Content */
.modal-content {
background-color: $background;
padding: 20px;
border: 1px solid lighten($background, 10%);
width: 80%;
height: 80%;
height: auto;
border-radius: 8px;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
img {
display: block;
margin: auto;
width: 80%;
height: auto;
}
.container {
width: 80%;
height: 80%;
display: block;
margin: auto;
}
.header {
text-align: center;
margin-block-start: 0;
padding-bottom: 1rem;
border-bottom: 1px solid lighten($background, 10%);
}
.content {
overflow: auto;
}
/* The Close Button */
.close {
color: $foreground;
float: right;
font-size: 28px;
font-weight: bold;
&:hover,
&:focus {
color: invert($foreground, 20%);
text-decoration: none;
cursor: pointer;
}
}
}
.modal-no-scroll {
overflow: hidden;
}

View file

@ -0,0 +1,73 @@
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
@import url("https://fonts.googleapis.com/css?family=Spartan&display=swap");
a,
p,
h1,
h2,
h3,
h4,
b,
i,
body,
button {
font-family: "Spartan";
}
p {
line-height: 2;
}
a {
color: $red;
&:hover {
color: darken($red, 10%);
}
}
.code {
font-family: "Fira Code";
font-variant-ligatures: common-ligatures;
background-color: lighten($background, 10%);
border: 2px solid darken($background, 5%);
padding: 0.1rem;
border-radius: 4px;
}
p.code,
pre {
display: inline-block;
overflow: auto;
}
pre {
font-family: "Fira Code";
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: flex;
justify-content: center;
flex-direction: row;
}
ul {
padding-inline-start: 0;
padding-inline-end: 40px;
}
li {
margin-top: 0.75rem;
margin-bottom: 0.75rem;
line-height: 1.75;
}

View file

@ -0,0 +1,955 @@
/******************************************************
* 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: #252525;
color: #eeeeee;
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(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 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: #252525;
}
.color-demo.fg {
background-color: #eeeeee;
color: #252525;
-webkit-box-shadow: 0px 0px 10px 0px rgba(238, 238, 238, 0.5);
box-shadow: 0px 0px 10px 0px rgba(238, 238, 238, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
text-decoration: none;
font-style: normal;
}
.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: #252525;
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: #252525;
padding: 20px;
border: 1px solid #3f3f3f;
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 #3f3f3f;
}
.modal-content .content {
overflow: auto;
}
.modal-content .close {
color: #eeeeee;
float: right;
font-size: 28px;
font-weight: bold;
}
.modal-content .close:hover, .modal-content .close:focus {
color: #c2c2c2;
text-decoration: none;
cursor: pointer;
}
.modal-no-scroll {
overflow: hidden;
}
button {
padding: 0.75rem 1rem;
border: none;
outline: none;
background-color: #3a3a3a;
color: #eeeeee;
-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(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
}
button:hover {
background-color: #3f3f3f;
}
button:active {
background-color: #323232;
}
button.small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined {
background-color: transparent;
border: 2px solid #3a3a3a;
}
button.outlined:hover {
background-color: transparent;
border: 2px solid #3f3f3f;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
button.outlined:active {
background-color: transparent;
border: 2px solid #323232;
}
button.inverted {
background-color: #dadada;
color: #111111;
-webkit-box-shadow: 0px 0px 10px 0px rgba(218, 218, 218, 0.5);
box-shadow: 0px 0px 10px 0px rgba(218, 218, 218, 0.5);
}
button.inverted:hover {
background-color: #f4f4f4;
}
button.inverted:active {
background-color: #e7e7e7;
}
button.inverted.outlined {
background-color: transparent;
color: #dadada;
border: 2px solid #dadada;
}
button.inverted.outlined:hover {
color: #f4f4f4;
border: 2px solid #f4f4f4;
}
button.inverted.outlined:active {
color: #fbfbfb;
border: 2px solid #e7e7e7;
}
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: #252525;
}
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;
padding: 2rem 5vw;
}
.divider {
width: 70vw;
height: 10px;
border-bottom: 1px solid #3a3a3a;
margin: 1rem auto;
}
.divider.wide {
width: 100vw;
}
.divider.narrow {
width: 30vw;
}
.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(384px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
grid-auto-rows: 1fr;
grid-gap: 2rem;
grid-auto-flow: dense;
}
.cards .card {
background-color: #2a2a2a;
color: #eeeeee;
-webkit-box-shadow: 0 0 10px 0 rgba(17, 17, 17, 0.95);
box-shadow: 0 0 10px 0 rgba(17, 17, 17, 0.95);
padding: 1rem;
border-radius: 8px;
border: 2px solid #444444;
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 #444444;
}
.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: #252525;
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 p.content .subsubheader {
font-size: 20px;
text-align: center;
}
.masthead .down {
position: absolute;
bottom: 0;
}
.masthead .down i {
font-size: 64px;
}
.titlebar.top {
background-color: #252525;
color: #eeeeee;
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(12, 12, 12, 0.5);
box-shadow: 0px 2px 0px 0px rgba(12, 12, 12, 0.5);
}
.masthead {
height: calc(100vh - 3rem);
}
body {
margin-top: 3rem;
}
.titlebar.top a {
color: #eeeeee;
text-decoration: none;
}
.titlebar.top.translucent {
background-color: rgba(37, 37, 37, 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: #3a3a3a;
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: #181818;
-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(37, 37, 37, 0.95);
color: #eeeeee;
-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: #4b4b4b;
-webkit-animation: disappear 250ms 1;
animation: disappear 250ms 1;
max-height: 0;
}
.mobile-menu .sub.item.visible {
display: -webkit-inline-box;
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: #3a3a3a;
}
.dropdown.item .dropdown-content .item {
color: #eeeeee;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown.item .dropdown-content .item:hover {
background-color: #181818;
-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: #3f3f3f;
border: 2px solid #181818;
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-dark.css.map */

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,13 @@
@import "colors-dark";
@import "_custom";
@import "modal";
@import "button";
@import "container";
@import "embed";
@import "grid";
@import "image";
@import "masthead";
@import "menu";
@import "text";

View file

@ -0,0 +1,955 @@
/******************************************************
* 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: #eeeeee;
color: #252525;
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(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 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: #eeeeee;
}
.color-demo.fg {
background-color: #252525;
color: #eeeeee;
-webkit-box-shadow: 0px 0px 10px 0px rgba(37, 37, 37, 0.5);
box-shadow: 0px 0px 10px 0px rgba(37, 37, 37, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
text-decoration: none;
font-style: normal;
}
.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: #eeeeee;
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: #eeeeee;
padding: 20px;
border: 1px solid white;
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 white;
}
.modal-content .content {
overflow: auto;
}
.modal-content .close {
color: #252525;
float: right;
font-size: 28px;
font-weight: bold;
}
.modal-content .close:hover, .modal-content .close:focus {
color: #494949;
text-decoration: none;
cursor: pointer;
}
.modal-no-scroll {
overflow: hidden;
}
button {
padding: 0.75rem 1rem;
border: none;
outline: none;
background-color: #d0d0d0;
color: #252525;
-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(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
}
button:hover {
background-color: white;
}
button:active {
background-color: #fbfbfb;
}
button.small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined {
background-color: transparent;
border: 2px solid #d0d0d0;
}
button.outlined:hover {
background-color: transparent;
border: 2px solid white;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
button.outlined:active {
background-color: transparent;
border: 2px solid #fbfbfb;
}
button.inverted {
background-color: #111111;
color: #dadada;
-webkit-box-shadow: 0px 0px 10px 0px rgba(17, 17, 17, 0.5);
box-shadow: 0px 0px 10px 0px rgba(17, 17, 17, 0.5);
}
button.inverted:hover {
background-color: #2b2b2b;
}
button.inverted:active {
background-color: #1e1e1e;
}
button.inverted.outlined {
background-color: transparent;
color: #111111;
border: 2px solid #111111;
}
button.inverted.outlined:hover {
color: #2b2b2b;
border: 2px solid #2b2b2b;
}
button.inverted.outlined:active {
color: #323232;
border: 2px solid #1e1e1e;
}
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: #eeeeee;
}
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;
padding: 2rem 5vw;
}
.divider {
width: 70vw;
height: 10px;
border-bottom: 1px solid #d0d0d0;
margin: 1rem auto;
}
.divider.wide {
width: 100vw;
}
.divider.narrow {
width: 30vw;
}
.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(384px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
grid-auto-rows: 1fr;
grid-gap: 2rem;
grid-auto-flow: dense;
}
.cards .card {
background-color: #f3f3f3;
color: #252525;
-webkit-box-shadow: 0 0 10px 0 rgba(218, 218, 218, 0.95);
box-shadow: 0 0 10px 0 rgba(218, 218, 218, 0.95);
padding: 1rem;
border-radius: 8px;
border: 2px solid white;
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 white;
}
.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: #eeeeee;
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 p.content .subsubheader {
font-size: 20px;
text-align: center;
}
.masthead .down {
position: absolute;
bottom: 0;
}
.masthead .down i {
font-size: 64px;
}
.titlebar.top {
background-color: #eeeeee;
color: #252525;
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(213, 213, 213, 0.5);
box-shadow: 0px 2px 0px 0px rgba(213, 213, 213, 0.5);
}
.masthead {
height: calc(100vh - 3rem);
}
body {
margin-top: 3rem;
}
.titlebar.top a {
color: #252525;
text-decoration: none;
}
.titlebar.top.translucent {
background-color: rgba(238, 238, 238, 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: #d0d0d0;
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: #e1e1e1;
-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(238, 238, 238, 0.95);
color: #252525;
-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: white;
-webkit-animation: disappear 250ms 1;
animation: disappear 250ms 1;
max-height: 0;
}
.mobile-menu .sub.item.visible {
display: -webkit-inline-box;
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: #d0d0d0;
}
.dropdown.item .dropdown-content .item {
color: #252525;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown.item .dropdown-content .item:hover {
background-color: #e1e1e1;
-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: white;
border: 2px solid #e1e1e1;
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-light.css.map */

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,13 @@
@import "colors-light";
@import "_custom";
@import "modal";
@import "button";
@import "container";
@import "embed";
@import "grid";
@import "image";
@import "masthead";
@import "menu";
@import "text";

View file

@ -0,0 +1,955 @@
/******************************************************
* 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;
text-decoration: none;
font-style: normal;
}
.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;
padding: 2rem 5vw;
}
.divider {
width: 70vw;
height: 10px;
border-bottom: 1px solid #525572;
margin: 1rem auto;
}
.divider.wide {
width: 100vw;
}
.divider.narrow {
width: 30vw;
}
.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(384px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
grid-auto-rows: 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 p.content .subsubheader {
font-size: 20px;
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;
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 */

File diff suppressed because one or more lines are too long

View 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";

47
Libraries/js/app.js Normal file
View file

@ -0,0 +1,47 @@
let currentDisplayMode = "dark";
const updateDisplayModeIcons = () => {
document.querySelectorAll(".display-mode-icon").forEach((el) => {
if (currentDisplayMode == "dark") {
el.innerHTML = "🌙";
} else if (currentDisplayMode == "moonlight") {
el.innerHTML = "☀️";
} else {
el.innerHTML = "🌑";
}
});
};
const toggleDisplayMode = () => {
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");
currentDisplayMode = "light";
document.getElementById("themekit-css").href = "/Libraries/css/themekit/main-light.css";
} else {
window.localStorage.setItem("displayMode", "dark");
currentDisplayMode = "dark";
document.getElementById("themekit-css").href = "/Libraries/css/themekit/main-dark.css";
}
updateDisplayModeIcons();
};
window.addEventListener("DOMContentLoaded", (evt) => {
if (window.localStorage.getItem("displayMode") != null) {
currentDisplayMode = window.localStorage.getItem("displayMode");
} else {
window.localStorage.setItem("displayMode", "dark");
}
if (currentDisplayMode == "dark") {
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 {
document.getElementById("themekit-css").href = "/Libraries/css/themekit/main-light.css";
}
updateDisplayModeIcons();
});

View file

@ -0,0 +1,63 @@
/**
* Uses ZERO Jquery!!
*/
let menuOpen = false;
const toggleSubMenu = (el) => {
let icon = el.querySelector("i.fa");
let isOpen = icon.hasAttribute("submenuOpen") ? parseInt(icon.getAttribute("submenuOpen")) : 0;
document.querySelectorAll(`[for=${el.getAttribute("from")}]`).forEach((elSearched) => {
if (isOpen == 1) {
elSearched.classList.remove("visible");
} else {
elSearched.classList.add("visible");
}
});
if (isOpen == 1) {
icon.style.transition = "transform ease-in-out 250ms";
icon.style.transform = "rotate(0deg)";
icon.setAttribute("submenuOpen", 0);
} else { // Not open..
icon.style.transition = "transform ease-in-out 250ms";
icon.style.transform = "rotate(90deg)";
icon.setAttribute("submenuOpen", 1);
}
};
const toggleMenu = () => {
let menu = document.querySelector(".mobile-menu");
menuOpen = !menuOpen;
if (menuOpen) {
menu.classList.add("visible");
document.body.classList.add("no-scroll");
} else {
menu.classList.remove("visible");
document.body.classList.remove("no-scroll");
}
};
window.addEventListener("DOMContentLoaded", (evt) => {
document.querySelectorAll(".compact.submenu.item").forEach((el) => {
let id = `subMenu_${new Date().getMilliseconds()}`;
el.setAttribute("from", id);
let subMenuItems = [];
el.querySelectorAll(".compact.sub.item").forEach((child) => {
subMenuItems.push(child);
});
subMenuItems.reverse();
subMenuItems.forEach((child) => {
child.setAttribute("for", id);
el.parentElement.insertBefore(child, el.nextSibling);
});
});
});

View file

@ -0,0 +1,43 @@
window.addEventListener("DOMContentLoaded", (evt) => {
window.onclick = (event) => {
if (event.target.classList.contains("modal")) {
let modal = event.target;
modal.classList.remove("visible");
modal.removeAttribute("active");
document.body.classList.remove("modal-no-scroll");
}
};
document.querySelectorAll(".modal .close").forEach((closeBtn) => {
closeBtn.addEventListener('click', (evt) => {
let modal = closeBtn.parentElement.parentElement;
modal.classList.remove("visible");
modal.removeAttribute("active");
document.body.classList.remove("modal-no-scroll");
});
});
document.querySelectorAll("[for-modal]").forEach((modalTrigerEl) => {
modalTrigerEl.addEventListener('click', (evt) => {
let modal = document.getElementById(modalTrigerEl.getAttribute("for-modal"));
modal.classList.add("visible");
modal.setAttribute("active", "");
document.body.classList.add("modal-no-scroll");
});
});
// document.querySelectorAll("[for-modal]").forEach((modalTrigerEl) => {
// let modal = document.getElementById(modalTrigerEl.getAttribute("for-modal"));
// modal.classList.remove("visible");
// modal.removeAttribute("active");
// });
document.body.addEventListener('keydown', (evt) => {
if (evt.key == "Escape") {
let modal = document.querySelector(".modal[active]");
modal.classList.remove("visible");
modal.removeAttribute("active");
document.body.classList.remove("modal-no-scroll");
}
});
});