Compare commits

...
Sign in to create a new pull request.
Author SHA1 Message Date
oitsjustjose
69b3442f03 Fix modal issues in smooth transition 2020-07-27 03:26:50 +00:00
oitsjustjose
a657adf9b1 Smoothly transition between pages 2020-07-27 03:06:08 +00:00
oitsjustjose
1f18c43de8 Update CSS, remove hoverable attr 2020-05-02 22:54:45 -05:00
oitsjustjose
80c88ec0d9 Fix image issues on the NP page 2020-04-11 10:55:18 -04:00
oitsjustjose
41e515ed36 NatPro docs! 2020-04-11 00:01:02 -04:00
13 changed files with 2475 additions and 2105 deletions

View file

@ -1,11 +1,9 @@
/******************************************************
* 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");
.color-demo {
@ -65,7 +63,11 @@ body {
margin-right: 0px;
}
body, .item, .titlebar, .titlebar a span, .masthead {
body,
.item,
.titlebar,
.titlebar a span,
.masthead {
-webkit-transition: all ease-in-out 200ms;
transition: all ease-in-out 200ms;
}
@ -97,7 +99,11 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
@-webkit-keyframes bounce {
0%, 20%, 50%, 80%, 100% {
0%,
20%,
50%,
80%,
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
@ -112,7 +118,11 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
0%,
20%,
50%,
80%,
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
@ -169,7 +179,6 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
/* Modal Content */
.modal-content {
background-color: #252525;
padding: 20px;
@ -228,7 +237,9 @@ body, .item, .titlebar, .titlebar a span, .masthead {
overflow: hidden;
}
button, input[type="button"], input[type="submit"] {
button,
input[type="button"],
input[type="submit"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
@ -250,154 +261,231 @@ button, input[type="button"], input[type="submit"] {
font-size: 14px;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
background-color: #3f3f3f;
}
button:active, input[type="button"]:active, input[type="submit"]:active {
button:active,
input[type="button"]:active,
input[type="submit"]:active {
background-color: #323232;
}
button.small, input[type="button"].small, input[type="submit"].small {
button.small,
input[type="button"].small,
input[type="submit"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined, input[type="button"].outlined, input[type="submit"].outlined {
button.outlined,
input[type="button"].outlined,
input[type="submit"].outlined {
background-color: transparent;
border: 2px solid #3a3a3a;
}
button.outlined:hover, input[type="button"].outlined:hover, input[type="submit"].outlined:hover {
button.outlined:hover,
input[type="button"].outlined:hover,
input[type="submit"].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, input[type="button"].outlined:active, input[type="submit"].outlined:active {
button.outlined:active,
input[type="button"].outlined:active,
input[type="submit"].outlined:active {
background-color: transparent;
border: 2px solid #323232;
}
button.inverted, input[type="button"].inverted, input[type="submit"].inverted {
button.inverted,
input[type="button"].inverted,
input[type="submit"].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, input[type="button"].inverted:hover, input[type="submit"].inverted:hover {
button.inverted:hover,
input[type="button"].inverted:hover,
input[type="submit"].inverted:hover {
background-color: #f4f4f4;
}
button.inverted:active, input[type="button"].inverted:active, input[type="submit"].inverted:active {
button.inverted:active,
input[type="button"].inverted:active,
input[type="submit"].inverted:active {
background-color: #e7e7e7;
}
button.inverted.outlined, input[type="button"].inverted.outlined, input[type="submit"].inverted.outlined {
button.inverted.outlined,
input[type="button"].inverted.outlined,
input[type="submit"].inverted.outlined {
background-color: transparent;
color: #dadada;
border: 2px solid #dadada;
}
button.inverted.outlined:hover, input[type="button"].inverted.outlined:hover, input[type="submit"].inverted.outlined:hover {
button.inverted.outlined:hover,
input[type="button"].inverted.outlined:hover,
input[type="submit"].inverted.outlined:hover {
color: #f4f4f4;
border: 2px solid #f4f4f4;
}
button.inverted.outlined:active, input[type="button"].inverted.outlined:active, input[type="submit"].inverted.outlined:active {
button.inverted.outlined:active,
input[type="button"].inverted.outlined:active,
input[type="submit"].inverted.outlined:active {
color: #fbfbfb;
border: 2px solid #e7e7e7;
}
button.red, button input[type="reset"], input[type="button"].red, input[type="button"] input[type="reset"], input[type="submit"].red, input[type="submit"] input[type="reset"] {
button.red,
button input[type="reset"],
input[type="button"].red,
input[type="button"] input[type="reset"],
input[type="submit"].red,
input[type="submit"] input[type="reset"] {
background-color: #ff4340;
}
button.red:hover, button input[type="reset"]:hover, input[type="button"].red:hover, input[type="button"] input[type="reset"]:hover, input[type="submit"].red:hover, input[type="submit"] input[type="reset"]:hover {
button.red:hover,
button input[type="reset"]:hover,
input[type="button"].red:hover,
input[type="button"] input[type="reset"]:hover,
input[type="submit"].red:hover,
input[type="submit"] input[type="reset"]:hover {
background-color: #ff7573;
}
button.red:active, button input[type="reset"]:active, input[type="button"].red:active, input[type="button"] input[type="reset"]:active, input[type="submit"].red:active, input[type="submit"] input[type="reset"]:active {
button.red:active,
button input[type="reset"]:active,
input[type="button"].red:active,
input[type="button"] input[type="reset"]:active,
input[type="submit"].red:active,
input[type="submit"] input[type="reset"]:active {
background-color: #ff5c5a;
}
button.red.outlined, button input[type="reset"].outlined, input[type="button"].red.outlined, input[type="button"] input[type="reset"].outlined, input[type="submit"].red.outlined, input[type="submit"] input[type="reset"].outlined {
button.red.outlined,
button input[type="reset"].outlined,
input[type="button"].red.outlined,
input[type="button"] input[type="reset"].outlined,
input[type="submit"].red.outlined,
input[type="submit"] input[type="reset"].outlined {
background-color: transparent;
color: #ff4340;
border: 2px solid #ff4340;
}
button.red.outlined:hover, button input[type="reset"].outlined:hover, input[type="button"].red.outlined:hover, input[type="button"] input[type="reset"].outlined:hover, input[type="submit"].red.outlined:hover, input[type="submit"] input[type="reset"].outlined:hover {
button.red.outlined:hover,
button input[type="reset"].outlined:hover,
input[type="button"].red.outlined:hover,
input[type="button"] input[type="reset"].outlined:hover,
input[type="submit"].red.outlined:hover,
input[type="submit"] input[type="reset"].outlined:hover {
color: #ff7573;
border: 2px solid #ff7573;
}
button.red.outlined:active, button input[type="reset"].outlined:active, input[type="button"].red.outlined:active, input[type="button"] input[type="reset"].outlined:active, input[type="submit"].red.outlined:active, input[type="submit"] input[type="reset"].outlined:active {
button.red.outlined:active,
button input[type="reset"].outlined:active,
input[type="button"].red.outlined:active,
input[type="button"] input[type="reset"].outlined:active,
input[type="submit"].red.outlined:active,
input[type="submit"] input[type="reset"].outlined:active {
color: #ff5c5a;
border: 2px solid #ff5c5a;
}
button.green, input[type="button"].green, input[type="submit"].green {
button.green,
input[type="button"].green,
input[type="submit"].green {
background-color: #7cb342;
}
button.green:hover, input[type="button"].green:hover, input[type="submit"].green:hover {
button.green:hover,
input[type="button"].green:hover,
input[type="submit"].green:hover {
background-color: #95c563;
}
button.green:active, input[type="button"].green:active, input[type="submit"].green:active {
button.green:active,
input[type="button"].green:active,
input[type="submit"].green:active {
background-color: #89be50;
}
button.green.outlined, input[type="button"].green.outlined, input[type="submit"].green.outlined {
button.green.outlined,
input[type="button"].green.outlined,
input[type="submit"].green.outlined {
background-color: transparent;
color: #7cb342;
border: 2px solid #7cb342;
}
button.green.outlined:hover, input[type="button"].green.outlined:hover, input[type="submit"].green.outlined:hover {
button.green.outlined:hover,
input[type="button"].green.outlined:hover,
input[type="submit"].green.outlined:hover {
color: #95c563;
border: 2px solid;
}
button.green.outlined:active, input[type="button"].green.outlined:active, input[type="submit"].green.outlined:active {
button.green.outlined:active,
input[type="button"].green.outlined:active,
input[type="submit"].green.outlined:active {
color: #89be50;
border: 2px solid;
}
button.cyan, input[type="button"].cyan, input[type="submit"].cyan {
button.cyan,
input[type="button"].cyan,
input[type="submit"].cyan {
background-color: #00bee0;
color: #252525;
}
button.cyan:hover, input[type="button"].cyan:hover, input[type="submit"].cyan:hover {
button.cyan:hover,
input[type="button"].cyan:hover,
input[type="submit"].cyan:hover {
background-color: #14dbff;
}
button.cyan:active, input[type="button"].cyan:active, input[type="submit"].cyan:active {
button.cyan:active,
input[type="button"].cyan:active,
input[type="submit"].cyan:active {
background-color: #00d4fa;
}
button.cyan.outlined, input[type="button"].cyan.outlined, input[type="submit"].cyan.outlined {
button.cyan.outlined,
input[type="button"].cyan.outlined,
input[type="submit"].cyan.outlined {
background-color: transparent;
color: #00bee0;
border: 2px solid #00bee0;
}
button.cyan.outlined:hover, input[type="button"].cyan.outlined:hover, input[type="submit"].cyan.outlined:hover {
button.cyan.outlined:hover,
input[type="button"].cyan.outlined:hover,
input[type="submit"].cyan.outlined:hover {
color: #14dbff;
border: 2px solid #14dbff;
}
button.cyan.outlined:active, input[type="button"].cyan.outlined:active, input[type="submit"].cyan.outlined:active {
button.cyan.outlined:active,
input[type="button"].cyan.outlined:active,
input[type="submit"].cyan.outlined:active {
color: #00d4fa;
border: 2px solid #00d4fa;
}
.container {
width: 90vw;
padding: 2rem 5vw;
}
@ -416,7 +504,7 @@ button.cyan.outlined:active, input[type="button"].cyan.outlined:active, input[ty
}
.divider.wide {
width: 100vw;
width: 100%;
}
.divider.narrow {
@ -618,7 +706,9 @@ form input[type="reset"].outlined:active {
border: 2px solid #323232;
}
form input[type="button"], form input[type="reset"], form input[type="submit"] {
form input[type="button"],
form input[type="reset"],
form input[type="submit"] {
display: block;
width: -webkit-fit-content;
width: -moz-fit-content;
@ -771,9 +861,9 @@ img.large {
}
.masthead.gradient {
background: #7cb342;
background: -webkit-gradient( linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: linear-gradient(to bottom left, #00bee0, #7cb342);
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 p.content {
@ -884,7 +974,8 @@ body {
}
@media (min-width: 767px) {
.dropdown.item.compact>*, .dropdown.item.compact {
.dropdown.item.compact > *,
.dropdown.item.compact {
display: none;
}
}
@ -893,14 +984,6 @@ body {
.titlebar.top .item:not(.compact) {
display: none;
}
.masthead p.content {
font-size: 32px;
}
.masthead p.content .subheader {
font-size: 24px;
}
}
.mobile-menu {
@ -1032,7 +1115,16 @@ body {
left: 100%;
}
a, p, h1, h2, h3, h4, b, i, body, button {
a,
p,
h1,
h2,
h3,
h4,
b,
i,
body,
button {
font-family: "Spartan";
}
@ -1058,7 +1150,8 @@ a:hover {
border-radius: 4px;
}
p.code, pre {
p.code,
pre {
display: inline-block;
overflow: auto;
}
@ -1108,5 +1201,4 @@ li {
margin-bottom: 0.75rem;
line-height: 1.75;
}
/*# sourceMappingURL=main-dark.css.map */

View file

@ -1,11 +1,9 @@
/******************************************************
* 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");
.color-demo {
@ -65,7 +63,11 @@ body {
margin-right: 0px;
}
body, .item, .titlebar, .titlebar a span, .masthead {
body,
.item,
.titlebar,
.titlebar a span,
.masthead {
-webkit-transition: all ease-in-out 200ms;
transition: all ease-in-out 200ms;
}
@ -97,7 +99,11 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
@-webkit-keyframes bounce {
0%, 20%, 50%, 80%, 100% {
0%,
20%,
50%,
80%,
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
@ -112,7 +118,11 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
0%,
20%,
50%,
80%,
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
@ -169,7 +179,6 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
/* Modal Content */
.modal-content {
background-color: #eeeeee;
padding: 20px;
@ -228,7 +237,9 @@ body, .item, .titlebar, .titlebar a span, .masthead {
overflow: hidden;
}
button, input[type="button"], input[type="submit"] {
button,
input[type="button"],
input[type="submit"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
@ -250,154 +261,231 @@ button, input[type="button"], input[type="submit"] {
font-size: 14px;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
background-color: white;
}
button:active, input[type="button"]:active, input[type="submit"]:active {
button:active,
input[type="button"]:active,
input[type="submit"]:active {
background-color: #fbfbfb;
}
button.small, input[type="button"].small, input[type="submit"].small {
button.small,
input[type="button"].small,
input[type="submit"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined, input[type="button"].outlined, input[type="submit"].outlined {
button.outlined,
input[type="button"].outlined,
input[type="submit"].outlined {
background-color: transparent;
border: 2px solid #d0d0d0;
}
button.outlined:hover, input[type="button"].outlined:hover, input[type="submit"].outlined:hover {
button.outlined:hover,
input[type="button"].outlined:hover,
input[type="submit"].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, input[type="button"].outlined:active, input[type="submit"].outlined:active {
button.outlined:active,
input[type="button"].outlined:active,
input[type="submit"].outlined:active {
background-color: transparent;
border: 2px solid #fbfbfb;
}
button.inverted, input[type="button"].inverted, input[type="submit"].inverted {
button.inverted,
input[type="button"].inverted,
input[type="submit"].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, input[type="button"].inverted:hover, input[type="submit"].inverted:hover {
button.inverted:hover,
input[type="button"].inverted:hover,
input[type="submit"].inverted:hover {
background-color: #2b2b2b;
}
button.inverted:active, input[type="button"].inverted:active, input[type="submit"].inverted:active {
button.inverted:active,
input[type="button"].inverted:active,
input[type="submit"].inverted:active {
background-color: #1e1e1e;
}
button.inverted.outlined, input[type="button"].inverted.outlined, input[type="submit"].inverted.outlined {
button.inverted.outlined,
input[type="button"].inverted.outlined,
input[type="submit"].inverted.outlined {
background-color: transparent;
color: #111111;
border: 2px solid #111111;
}
button.inverted.outlined:hover, input[type="button"].inverted.outlined:hover, input[type="submit"].inverted.outlined:hover {
button.inverted.outlined:hover,
input[type="button"].inverted.outlined:hover,
input[type="submit"].inverted.outlined:hover {
color: #2b2b2b;
border: 2px solid #2b2b2b;
}
button.inverted.outlined:active, input[type="button"].inverted.outlined:active, input[type="submit"].inverted.outlined:active {
button.inverted.outlined:active,
input[type="button"].inverted.outlined:active,
input[type="submit"].inverted.outlined:active {
color: #323232;
border: 2px solid #1e1e1e;
}
button.red, button input[type="reset"], input[type="button"].red, input[type="button"] input[type="reset"], input[type="submit"].red, input[type="submit"] input[type="reset"] {
button.red,
button input[type="reset"],
input[type="button"].red,
input[type="button"] input[type="reset"],
input[type="submit"].red,
input[type="submit"] input[type="reset"] {
background-color: #ff4340;
}
button.red:hover, button input[type="reset"]:hover, input[type="button"].red:hover, input[type="button"] input[type="reset"]:hover, input[type="submit"].red:hover, input[type="submit"] input[type="reset"]:hover {
button.red:hover,
button input[type="reset"]:hover,
input[type="button"].red:hover,
input[type="button"] input[type="reset"]:hover,
input[type="submit"].red:hover,
input[type="submit"] input[type="reset"]:hover {
background-color: #ff7573;
}
button.red:active, button input[type="reset"]:active, input[type="button"].red:active, input[type="button"] input[type="reset"]:active, input[type="submit"].red:active, input[type="submit"] input[type="reset"]:active {
button.red:active,
button input[type="reset"]:active,
input[type="button"].red:active,
input[type="button"] input[type="reset"]:active,
input[type="submit"].red:active,
input[type="submit"] input[type="reset"]:active {
background-color: #ff5c5a;
}
button.red.outlined, button input[type="reset"].outlined, input[type="button"].red.outlined, input[type="button"] input[type="reset"].outlined, input[type="submit"].red.outlined, input[type="submit"] input[type="reset"].outlined {
button.red.outlined,
button input[type="reset"].outlined,
input[type="button"].red.outlined,
input[type="button"] input[type="reset"].outlined,
input[type="submit"].red.outlined,
input[type="submit"] input[type="reset"].outlined {
background-color: transparent;
color: #ff4340;
border: 2px solid #ff4340;
}
button.red.outlined:hover, button input[type="reset"].outlined:hover, input[type="button"].red.outlined:hover, input[type="button"] input[type="reset"].outlined:hover, input[type="submit"].red.outlined:hover, input[type="submit"] input[type="reset"].outlined:hover {
button.red.outlined:hover,
button input[type="reset"].outlined:hover,
input[type="button"].red.outlined:hover,
input[type="button"] input[type="reset"].outlined:hover,
input[type="submit"].red.outlined:hover,
input[type="submit"] input[type="reset"].outlined:hover {
color: #ff7573;
border: 2px solid #ff7573;
}
button.red.outlined:active, button input[type="reset"].outlined:active, input[type="button"].red.outlined:active, input[type="button"] input[type="reset"].outlined:active, input[type="submit"].red.outlined:active, input[type="submit"] input[type="reset"].outlined:active {
button.red.outlined:active,
button input[type="reset"].outlined:active,
input[type="button"].red.outlined:active,
input[type="button"] input[type="reset"].outlined:active,
input[type="submit"].red.outlined:active,
input[type="submit"] input[type="reset"].outlined:active {
color: #ff5c5a;
border: 2px solid #ff5c5a;
}
button.green, input[type="button"].green, input[type="submit"].green {
button.green,
input[type="button"].green,
input[type="submit"].green {
background-color: #7cb342;
}
button.green:hover, input[type="button"].green:hover, input[type="submit"].green:hover {
button.green:hover,
input[type="button"].green:hover,
input[type="submit"].green:hover {
background-color: #95c563;
}
button.green:active, input[type="button"].green:active, input[type="submit"].green:active {
button.green:active,
input[type="button"].green:active,
input[type="submit"].green:active {
background-color: #89be50;
}
button.green.outlined, input[type="button"].green.outlined, input[type="submit"].green.outlined {
button.green.outlined,
input[type="button"].green.outlined,
input[type="submit"].green.outlined {
background-color: transparent;
color: #7cb342;
border: 2px solid #7cb342;
}
button.green.outlined:hover, input[type="button"].green.outlined:hover, input[type="submit"].green.outlined:hover {
button.green.outlined:hover,
input[type="button"].green.outlined:hover,
input[type="submit"].green.outlined:hover {
color: #95c563;
border: 2px solid;
}
button.green.outlined:active, input[type="button"].green.outlined:active, input[type="submit"].green.outlined:active {
button.green.outlined:active,
input[type="button"].green.outlined:active,
input[type="submit"].green.outlined:active {
color: #89be50;
border: 2px solid;
}
button.cyan, input[type="button"].cyan, input[type="submit"].cyan {
button.cyan,
input[type="button"].cyan,
input[type="submit"].cyan {
background-color: #00bee0;
color: #eeeeee;
}
button.cyan:hover, input[type="button"].cyan:hover, input[type="submit"].cyan:hover {
button.cyan:hover,
input[type="button"].cyan:hover,
input[type="submit"].cyan:hover {
background-color: #14dbff;
}
button.cyan:active, input[type="button"].cyan:active, input[type="submit"].cyan:active {
button.cyan:active,
input[type="button"].cyan:active,
input[type="submit"].cyan:active {
background-color: #00d4fa;
}
button.cyan.outlined, input[type="button"].cyan.outlined, input[type="submit"].cyan.outlined {
button.cyan.outlined,
input[type="button"].cyan.outlined,
input[type="submit"].cyan.outlined {
background-color: transparent;
color: #00bee0;
border: 2px solid #00bee0;
}
button.cyan.outlined:hover, input[type="button"].cyan.outlined:hover, input[type="submit"].cyan.outlined:hover {
button.cyan.outlined:hover,
input[type="button"].cyan.outlined:hover,
input[type="submit"].cyan.outlined:hover {
color: #14dbff;
border: 2px solid #14dbff;
}
button.cyan.outlined:active, input[type="button"].cyan.outlined:active, input[type="submit"].cyan.outlined:active {
button.cyan.outlined:active,
input[type="button"].cyan.outlined:active,
input[type="submit"].cyan.outlined:active {
color: #00d4fa;
border: 2px solid #00d4fa;
}
.container {
width: 90vw;
padding: 2rem 5vw;
}
@ -416,7 +504,7 @@ button.cyan.outlined:active, input[type="button"].cyan.outlined:active, input[ty
}
.divider.wide {
width: 100vw;
width: 100%;
}
.divider.narrow {
@ -618,7 +706,9 @@ form input[type="reset"].outlined:active {
border: 2px solid #fbfbfb;
}
form input[type="button"], form input[type="reset"], form input[type="submit"] {
form input[type="button"],
form input[type="reset"],
form input[type="submit"] {
display: block;
width: -webkit-fit-content;
width: -moz-fit-content;
@ -771,9 +861,9 @@ img.large {
}
.masthead.gradient {
background: #7cb342;
background: -webkit-gradient( linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: linear-gradient(to bottom left, #00bee0, #7cb342);
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 p.content {
@ -884,7 +974,8 @@ body {
}
@media (min-width: 767px) {
.dropdown.item.compact>*, .dropdown.item.compact {
.dropdown.item.compact > *,
.dropdown.item.compact {
display: none;
}
}
@ -893,12 +984,6 @@ body {
.titlebar.top .item:not(.compact) {
display: none;
}
.masthead p.content {
font-size: 32px;
}
.masthead p.content .subheader {
font-size: 24px;
}
}
.mobile-menu {
@ -1030,7 +1115,16 @@ body {
left: 100%;
}
a, p, h1, h2, h3, h4, b, i, body, button {
a,
p,
h1,
h2,
h3,
h4,
b,
i,
body,
button {
font-family: "Spartan";
}
@ -1056,7 +1150,8 @@ a:hover {
border-radius: 4px;
}
p.code, pre {
p.code,
pre {
display: inline-block;
overflow: auto;
}
@ -1106,5 +1201,4 @@ li {
margin-bottom: 0.75rem;
line-height: 1.75;
}
/*# sourceMappingURL=main-light.css.map */

View file

@ -1,11 +1,9 @@
/******************************************************
* 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");
.color-demo {
@ -65,7 +63,11 @@ body {
margin-right: 0px;
}
body, .item, .titlebar, .titlebar a span, .masthead {
body,
.item,
.titlebar,
.titlebar a span,
.masthead {
-webkit-transition: all ease-in-out 200ms;
transition: all ease-in-out 200ms;
}
@ -97,7 +99,11 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
@-webkit-keyframes bounce {
0%, 20%, 50%, 80%, 100% {
0%,
20%,
50%,
80%,
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
@ -112,7 +118,11 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
0%,
20%,
50%,
80%,
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
@ -169,7 +179,6 @@ body, .item, .titlebar, .titlebar a span, .masthead {
}
/* Modal Content */
.modal-content {
background-color: #222436;
padding: 20px;
@ -228,7 +237,9 @@ body, .item, .titlebar, .titlebar a span, .masthead {
overflow: hidden;
}
button, input[type="button"], input[type="submit"] {
button,
input[type="button"],
input[type="submit"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
@ -250,154 +261,231 @@ button, input[type="button"], input[type="submit"] {
font-size: 14px;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
background-color: #363955;
}
button:active, input[type="button"]:active, input[type="submit"]:active {
button:active,
input[type="button"]:active,
input[type="submit"]:active {
background-color: #2c2e46;
}
button.small, input[type="button"].small, input[type="submit"].small {
button.small,
input[type="button"].small,
input[type="submit"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined, input[type="button"].outlined, input[type="submit"].outlined {
button.outlined,
input[type="button"].outlined,
input[type="submit"].outlined {
background-color: transparent;
border: 2px solid #525572;
}
button.outlined:hover, input[type="button"].outlined:hover, input[type="submit"].outlined:hover {
button.outlined:hover,
input[type="button"].outlined:hover,
input[type="submit"].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, input[type="button"].outlined:active, input[type="submit"].outlined:active {
button.outlined:active,
input[type="button"].outlined:active,
input[type="submit"].outlined:active {
background-color: transparent;
border: 2px solid #2c2e46;
}
button.inverted, input[type="button"].inverted, input[type="submit"].inverted {
button.inverted,
input[type="button"].inverted,
input[type="submit"].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, input[type="button"].inverted:hover, input[type="submit"].inverted:hover {
button.inverted:hover,
input[type="button"].inverted:hover,
input[type="submit"].inverted:hover {
background-color: #f1f0e8;
}
button.inverted:active, input[type="button"].inverted:active, input[type="submit"].inverted:active {
button.inverted:active,
input[type="button"].inverted:active,
input[type="submit"].inverted:active {
background-color: #e7e5d9;
}
button.inverted.outlined, input[type="button"].inverted.outlined, input[type="submit"].inverted.outlined {
button.inverted.outlined,
input[type="button"].inverted.outlined,
input[type="submit"].inverted.outlined {
background-color: transparent;
color: #dddbc9;
border: 2px solid #dddbc9;
}
button.inverted.outlined:hover, input[type="button"].inverted.outlined:hover, input[type="submit"].inverted.outlined:hover {
button.inverted.outlined:hover,
input[type="button"].inverted.outlined:hover,
input[type="submit"].inverted.outlined:hover {
color: #f1f0e8;
border: 2px solid #f1f0e8;
}
button.inverted.outlined:active, input[type="button"].inverted.outlined:active, input[type="submit"].inverted.outlined:active {
button.inverted.outlined:active,
input[type="button"].inverted.outlined:active,
input[type="submit"].inverted.outlined:active {
color: #e0e9f6;
border: 2px solid #e7e5d9;
}
button.red, button input[type="reset"], input[type="button"].red, input[type="button"] input[type="reset"], input[type="submit"].red, input[type="submit"] input[type="reset"] {
button.red,
button input[type="reset"],
input[type="button"].red,
input[type="button"] input[type="reset"],
input[type="submit"].red,
input[type="submit"] input[type="reset"] {
background-color: #ff4340;
}
button.red:hover, button input[type="reset"]:hover, input[type="button"].red:hover, input[type="button"] input[type="reset"]:hover, input[type="submit"].red:hover, input[type="submit"] input[type="reset"]:hover {
button.red:hover,
button input[type="reset"]:hover,
input[type="button"].red:hover,
input[type="button"] input[type="reset"]:hover,
input[type="submit"].red:hover,
input[type="submit"] input[type="reset"]:hover {
background-color: #ff7573;
}
button.red:active, button input[type="reset"]:active, input[type="button"].red:active, input[type="button"] input[type="reset"]:active, input[type="submit"].red:active, input[type="submit"] input[type="reset"]:active {
button.red:active,
button input[type="reset"]:active,
input[type="button"].red:active,
input[type="button"] input[type="reset"]:active,
input[type="submit"].red:active,
input[type="submit"] input[type="reset"]:active {
background-color: #ff5c5a;
}
button.red.outlined, button input[type="reset"].outlined, input[type="button"].red.outlined, input[type="button"] input[type="reset"].outlined, input[type="submit"].red.outlined, input[type="submit"] input[type="reset"].outlined {
button.red.outlined,
button input[type="reset"].outlined,
input[type="button"].red.outlined,
input[type="button"] input[type="reset"].outlined,
input[type="submit"].red.outlined,
input[type="submit"] input[type="reset"].outlined {
background-color: transparent;
color: #ff4340;
border: 2px solid #ff4340;
}
button.red.outlined:hover, button input[type="reset"].outlined:hover, input[type="button"].red.outlined:hover, input[type="button"] input[type="reset"].outlined:hover, input[type="submit"].red.outlined:hover, input[type="submit"] input[type="reset"].outlined:hover {
button.red.outlined:hover,
button input[type="reset"].outlined:hover,
input[type="button"].red.outlined:hover,
input[type="button"] input[type="reset"].outlined:hover,
input[type="submit"].red.outlined:hover,
input[type="submit"] input[type="reset"].outlined:hover {
color: #ff7573;
border: 2px solid #ff7573;
}
button.red.outlined:active, button input[type="reset"].outlined:active, input[type="button"].red.outlined:active, input[type="button"] input[type="reset"].outlined:active, input[type="submit"].red.outlined:active, input[type="submit"] input[type="reset"].outlined:active {
button.red.outlined:active,
button input[type="reset"].outlined:active,
input[type="button"].red.outlined:active,
input[type="button"] input[type="reset"].outlined:active,
input[type="submit"].red.outlined:active,
input[type="submit"] input[type="reset"].outlined:active {
color: #ff5c5a;
border: 2px solid #ff5c5a;
}
button.green, input[type="button"].green, input[type="submit"].green {
button.green,
input[type="button"].green,
input[type="submit"].green {
background-color: #7cb342;
}
button.green:hover, input[type="button"].green:hover, input[type="submit"].green:hover {
button.green:hover,
input[type="button"].green:hover,
input[type="submit"].green:hover {
background-color: #95c563;
}
button.green:active, input[type="button"].green:active, input[type="submit"].green:active {
button.green:active,
input[type="button"].green:active,
input[type="submit"].green:active {
background-color: #89be50;
}
button.green.outlined, input[type="button"].green.outlined, input[type="submit"].green.outlined {
button.green.outlined,
input[type="button"].green.outlined,
input[type="submit"].green.outlined {
background-color: transparent;
color: #7cb342;
border: 2px solid #7cb342;
}
button.green.outlined:hover, input[type="button"].green.outlined:hover, input[type="submit"].green.outlined:hover {
button.green.outlined:hover,
input[type="button"].green.outlined:hover,
input[type="submit"].green.outlined:hover {
color: #95c563;
border: 2px solid;
}
button.green.outlined:active, input[type="button"].green.outlined:active, input[type="submit"].green.outlined:active {
button.green.outlined:active,
input[type="button"].green.outlined:active,
input[type="submit"].green.outlined:active {
color: #89be50;
border: 2px solid;
}
button.cyan, input[type="button"].cyan, input[type="submit"].cyan {
button.cyan,
input[type="button"].cyan,
input[type="submit"].cyan {
background-color: #00bee0;
color: #222436;
}
button.cyan:hover, input[type="button"].cyan:hover, input[type="submit"].cyan:hover {
button.cyan:hover,
input[type="button"].cyan:hover,
input[type="submit"].cyan:hover {
background-color: #14dbff;
}
button.cyan:active, input[type="button"].cyan:active, input[type="submit"].cyan:active {
button.cyan:active,
input[type="button"].cyan:active,
input[type="submit"].cyan:active {
background-color: #00d4fa;
}
button.cyan.outlined, input[type="button"].cyan.outlined, input[type="submit"].cyan.outlined {
button.cyan.outlined,
input[type="button"].cyan.outlined,
input[type="submit"].cyan.outlined {
background-color: transparent;
color: #00bee0;
border: 2px solid #00bee0;
}
button.cyan.outlined:hover, input[type="button"].cyan.outlined:hover, input[type="submit"].cyan.outlined:hover {
button.cyan.outlined:hover,
input[type="button"].cyan.outlined:hover,
input[type="submit"].cyan.outlined:hover {
color: #14dbff;
border: 2px solid #14dbff;
}
button.cyan.outlined:active, input[type="button"].cyan.outlined:active, input[type="submit"].cyan.outlined:active {
button.cyan.outlined:active,
input[type="button"].cyan.outlined:active,
input[type="submit"].cyan.outlined:active {
color: #00d4fa;
border: 2px solid #00d4fa;
}
.container {
width: 90vw;
padding: 2rem 5vw;
}
@ -416,7 +504,7 @@ button.cyan.outlined:active, input[type="button"].cyan.outlined:active, input[ty
}
.divider.wide {
width: 100vw;
width: 100%;
}
.divider.narrow {
@ -618,7 +706,9 @@ form input[type="reset"].outlined:active {
border: 2px solid #2c2e46;
}
form input[type="button"], form input[type="reset"], form input[type="submit"] {
form input[type="button"],
form input[type="reset"],
form input[type="submit"] {
display: block;
width: -webkit-fit-content;
width: -moz-fit-content;
@ -771,9 +861,9 @@ img.large {
}
.masthead.gradient {
background: #7cb342;
background: -webkit-gradient( linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: linear-gradient(to bottom left, #00bee0, #7cb342);
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 p.content {
@ -884,7 +974,8 @@ body {
}
@media (min-width: 767px) {
.dropdown.item.compact>*, .dropdown.item.compact {
.dropdown.item.compact > *,
.dropdown.item.compact {
display: none;
}
}
@ -893,12 +984,6 @@ body {
.titlebar.top .item:not(.compact) {
display: none;
}
.masthead p.content {
font-size: 32px;
}
.masthead p.content .subheader {
font-size: 24px;
}
}
.mobile-menu {
@ -1030,7 +1115,16 @@ body {
left: 100%;
}
a, p, h1, h2, h3, h4, b, i, body, button {
a,
p,
h1,
h2,
h3,
h4,
b,
i,
body,
button {
font-family: "Spartan";
}
@ -1056,7 +1150,8 @@ a:hover {
border-radius: 4px;
}
p.code, pre {
p.code,
pre {
display: inline-block;
overflow: auto;
}
@ -1106,5 +1201,4 @@ li {
margin-bottom: 0.75rem;
line-height: 1.75;
}
/*# sourceMappingURL=main-moonlight.css.map */

View file

@ -99,7 +99,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -23,6 +23,19 @@
.loaded {
opacity: 1;
}
.masthead {
height: 40rem;
background: url("/Resources/img/natpro/Cover.png");
background-repeat: no-repeat;
background-size: cover;
background-position-y: 50%;
}
.grid {
-ms-grid-columns: (minmax(512px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(512px, 1fr));
}
</style>
</head>
@ -87,7 +100,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>
@ -125,12 +138,85 @@
<p class="content">
Natural Progression
<h2 class="subheader">
This Page is Under Construction
Slowing Early-Game Progression with Realistic Mechanics
</h2>
<i class="fas fa-hard-hat" style="font-size: 48px;"></i>
</p>
</div>
<div class="container">
<h2>
What is Natural Progression?
</h2>
<p>
Natural Progression is a mod which changes early game mechanics, forcing you to spend more time in those
first stages of Minecraft. It does so through a few mechanics which become self-evident as you play with the
mod, but just a <i>few</i> of these are:
</p>
<div class="grid">
<div style="max-width: 90vw;">
<ul style="font-size: 20px;">
<li>No punching wood</li>
<li>No wooden / stone tools (configurable)</li>
<li>Realistic plank crafting</li>
<li>Bone and Flint materials for only specific tools</li>
</ul>
</div>
<div style="max-width: 90vw;">
<img class="rounded image" src="/Resources/img/natpro/Advancements.png">
<p class="centered" style="font-size: 12px;">
Natural Progression replaces the early game advancements as well, so if you get stuck use those
for guidance
as you go along!
</p>
</div>
</div>
</div>
<div class="divider"></div>
<div class="container">
<h2>
Things to Know...
</h2>
<p>
<ol>
<li>
Pebbles aren't placed randomly! A pebble on the surface reflects what you'll find below; a diorite
pebble indicates diorite below, sandstone pebble → sandstone, etc.
</li>
<li>
Twigs will now randomly spawn as well, providing an easier source of sticks.
</li>
<li>
Twigs and pebbles can be found under water!
</li>
<li>
You can right-click any of the pebbles or twigs to break them.
</li>
<li>
Bones can be obtained by killing mobs other than skeletons, if enabled in the config.
</li>
<li>
All sawing recipes are Datapack-based! If you want to add support for more recipes, just use the
vanilla Datapack method!
</li>
</ol>
</p>
</div>
<div class="divider"></div>
<div class="container">
<h2>
<span><i class="fab fa-youtube"></i>&nbsp;Mod Spotlight</span>
</h2>
<div class="embed">
<iframe src="https://www.youtube.com/embed/-X1y9IJnXCk?start=134&end=144" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</div>
</body>
</html>

View file

@ -94,7 +94,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -94,7 +94,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -91,7 +91,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

View file

@ -18,7 +18,9 @@ body {
nav {
margin: auto;
margin-top: 1rem;
width: fit-content;
width: intrinsic; /* Safari/WebKit uses a non-standard name */
width: -moz-max-content; /* Firefox/Gecko */
width: -webkit-max-content; /* Chrome */
display: flex;
flex-direction: row;
justify-content: space-evenly;
@ -57,26 +59,28 @@ nav .item:hover, nav .item[active] {
animation: Rainbow 20s ease-in-out infinite;
}
nav .item:hover:last-of-type, nav .item[active]:last-of-type {
nav .item:last-of-type {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
}
nav .item:hover:first-of-type, nav .item[active]:first-of-type {
nav .item:first-of-type {
border-top-left-radius: 16px;
border-bottom-left-radius: 16px;
}
section {
display: none;
opacity: 0;
transition: opacity ease-in-out 150ms;
section:not(.shown), section:not(.shown) * {
position: absolute;
top: -9999em;
max-height: 0 !important;
visibility: hidden;
opacity: 0 !important;
transition: opacity ease-in-out 300ms;
}
.shown{
display: block;
opacity: 1;
transition: ease-in-out 150ms;
.shown, .shown * {
opacity: 1 !important;
transition: ease-in-out 300ms;
}
.card .versions {

View file

@ -79,7 +79,7 @@
<a href="/" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

View file

@ -103,7 +103,7 @@
<a href="" class="item">
<span><i class="fa fa-home"></i>&nbsp;Home</span>
</a>
<div class="dropdown item hoverable">
<div class="dropdown item">
<span>
Mods&nbsp;<i class="fa fa-caret-down"></i>
</span>