Site updates
This commit is contained in:
parent
15d23904be
commit
40143681de
5 changed files with 137 additions and 13 deletions
|
|
@ -91,8 +91,6 @@ a:hover {
|
|||
|
||||
.masthead .down {
|
||||
position: absolute;
|
||||
-webkit-transform: 50%, 50%;
|
||||
transform: 50%, 50%;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
|
|
@ -168,7 +166,7 @@ img.large {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
body.masthead {
|
||||
.masthead {
|
||||
height: calc(100vh - 3rem);
|
||||
}
|
||||
|
||||
|
|
@ -176,6 +174,11 @@ body {
|
|||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.titlebar.top a {
|
||||
color: #eeeeee;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.titlebar.top .item {
|
||||
background-color: #3a3a3a;
|
||||
display: -webkit-box;
|
||||
|
|
@ -252,16 +255,32 @@ button {
|
|||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button.small {
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
button.hoverable.outlined:hover {
|
||||
background-color: transparent;
|
||||
border: 2px solid #404040;
|
||||
}
|
||||
|
||||
button.hoverable:hover {
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
button.outlined {
|
||||
background-color: transparent;
|
||||
border: 2px solid #3a3a3a;
|
||||
}
|
||||
|
||||
button.outlined:active {
|
||||
background-color: transparent;
|
||||
border: 2px solid #404040;
|
||||
}
|
||||
|
||||
button.red {
|
||||
background-color: #ff4340;
|
||||
}
|
||||
|
|
@ -270,6 +289,17 @@ button.red:active {
|
|||
background-color: #fa755d;
|
||||
}
|
||||
|
||||
button.red.outlined {
|
||||
background-color: transparent;
|
||||
color: #ff4340;
|
||||
border: 2px solid #ff4340;
|
||||
}
|
||||
|
||||
button.red.outlined:active {
|
||||
color: #fa755d;
|
||||
border: 2px solid #fa755d;
|
||||
}
|
||||
|
||||
button.green {
|
||||
background-color: #7cb342;
|
||||
}
|
||||
|
|
@ -278,6 +308,17 @@ button.green:active {
|
|||
background-color: #85d82d;
|
||||
}
|
||||
|
||||
button.green.outlined {
|
||||
background-color: transparent;
|
||||
color: #7cb342;
|
||||
border: 2px solid #7cb342;
|
||||
}
|
||||
|
||||
button.green.outlined:active {
|
||||
color: #85d82d;
|
||||
border: 2px solid #85d82d;
|
||||
}
|
||||
|
||||
button.cyan {
|
||||
background-color: #00bee0;
|
||||
color: #252525;
|
||||
|
|
@ -287,6 +328,17 @@ button.cyan:active {
|
|||
background-color: #00d9ff;
|
||||
}
|
||||
|
||||
button.cyan.outlined {
|
||||
background-color: transparent;
|
||||
color: #00bee0;
|
||||
border: 2px solid #00bee0;
|
||||
}
|
||||
|
||||
button.cyan.outlined:active {
|
||||
color: #00d9ff;
|
||||
border: 2px solid #00d9ff;
|
||||
}
|
||||
|
||||
button:active {
|
||||
background-color: #404040;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -87,7 +87,6 @@ a {
|
|||
|
||||
.down {
|
||||
position: absolute;
|
||||
transform: (50%, 50%);
|
||||
bottom: 0;
|
||||
i {
|
||||
font-size: 64px;
|
||||
|
|
@ -153,7 +152,7 @@ img {
|
|||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
@at-root body.masthead {
|
||||
@at-root .masthead {
|
||||
height: calc(100vh - 3rem);
|
||||
}
|
||||
|
||||
|
|
@ -161,6 +160,11 @@ img {
|
|||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $foreground;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.item {
|
||||
background-color: map-get($dark, "item");
|
||||
display: flex;
|
||||
|
|
@ -229,22 +233,49 @@ button {
|
|||
background-color: map-get($dark, "button");
|
||||
color: $foreground;
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
|
||||
&.small {
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
&.hoverable {
|
||||
&.outlined {
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
border: 2px solid map-get($dark, "buttonActive");
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: map-get($dark, "buttonActive");
|
||||
}
|
||||
}
|
||||
|
||||
&.outlined {
|
||||
background-color: transparent;
|
||||
border: 2px solid map-get($dark, "button");
|
||||
&:active {
|
||||
background-color: transparent;
|
||||
border: 2px solid map-get($dark, "buttonActive");
|
||||
}
|
||||
}
|
||||
|
||||
&.red {
|
||||
background-color: $red;
|
||||
&:active {
|
||||
background-color: $brightRed;
|
||||
}
|
||||
|
||||
&.outlined {
|
||||
background-color: transparent;
|
||||
color: $red;
|
||||
border: 2px solid $red;
|
||||
&:active {
|
||||
color: $brightRed;
|
||||
border: 2px solid $brightRed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.green {
|
||||
|
|
@ -252,6 +283,16 @@ button {
|
|||
&:active {
|
||||
background-color: $brightGreen;
|
||||
}
|
||||
|
||||
&.outlined {
|
||||
background-color: transparent;
|
||||
color: $green;
|
||||
border: 2px solid $green;
|
||||
&:active {
|
||||
color: $brightGreen;
|
||||
border: 2px solid $brightGreen;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.cyan {
|
||||
|
|
@ -260,6 +301,16 @@ button {
|
|||
&:active {
|
||||
background-color: $brightCyan;
|
||||
}
|
||||
|
||||
&.outlined {
|
||||
background-color: transparent;
|
||||
color: $cyan;
|
||||
border: 2px solid $cyan;
|
||||
&:active {
|
||||
color: $brightCyan;
|
||||
border: 2px solid $brightCyan;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
|
|
@ -287,4 +338,4 @@ button {
|
|||
60% {
|
||||
transform: translateY(-15px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,10 +10,7 @@ $(document).ready(() => {
|
|||
let titlebars = document.querySelectorAll(".titlebar");
|
||||
|
||||
titlebars.forEach((titlebar) => {
|
||||
|
||||
// titlebar.childNodes.forEach((child)) => {
|
||||
|
||||
// };
|
||||
// TODO: Auto-convert to mobile-friendly bar
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue