More work!
This commit is contained in:
parent
2325cdaae8
commit
ae7877f732
8 changed files with 488 additions and 6185 deletions
4
Libraries/css/font-awesome.min.css
vendored
Normal file
4
Libraries/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
234
Libraries/css/main.css
Normal file
234
Libraries/css/main.css
Normal file
|
|
@ -0,0 +1,234 @@
|
|||
a,
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
b,
|
||||
i,
|
||||
body,
|
||||
button {
|
||||
font-family: "Spartan";
|
||||
}
|
||||
|
||||
.code {
|
||||
font-family: "Fira Code";
|
||||
-webkit-font-variant-ligatures: common-ligatures;
|
||||
font-variant-ligatures: common-ligatures;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #252525;
|
||||
color: #eeeeee;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #ff4340;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #bb312f;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 90vw;
|
||||
margin-left: 5vw;
|
||||
}
|
||||
|
||||
.centered {
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.blurred {
|
||||
-webkit-filter: blur(5px);
|
||||
filter: blur(5px);
|
||||
}
|
||||
|
||||
.blurred.unblurable:hover {
|
||||
-webkit-transition: all ease-in 150ms;
|
||||
transition: all ease-in 150ms;
|
||||
-webkit-filter: none;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.titlebar.top {
|
||||
background-color: #2a2a2a;
|
||||
color: #eeeeee;
|
||||
position: fixed;
|
||||
z-index: 10000000;
|
||||
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;
|
||||
}
|
||||
|
||||
body {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
.titlebar.top .item {
|
||||
background-color: #3a3a3a;
|
||||
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-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
font-family: "Spartan";
|
||||
padding: 0px 1rem;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.titlebar.top .item:hover {
|
||||
background-color: #2a2a2a;
|
||||
-webkit-transition: all ease-in 150ms;
|
||||
transition: all ease-in 150ms;
|
||||
}
|
||||
|
||||
.divider {
|
||||
width: 70vw;
|
||||
height: 10px;
|
||||
border-bottom: 1px solid #3a3a3a;
|
||||
margin: 1rem 15vw;
|
||||
}
|
||||
|
||||
.divider.wide {
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.dropdown.item:hover .dropdown-content {
|
||||
max-height: 100vh;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown-content {
|
||||
max-height: 0px;
|
||||
overflow-y: hidden;
|
||||
-webkit-transition: max-height 0.5s ease-in-out;
|
||||
transition: max-height 0.5s ease-in-out;
|
||||
position: absolute;
|
||||
background-color: #3a3a3a;
|
||||
min-width: 160px;
|
||||
margin-left: -1rem;
|
||||
margin-top: 5.45em;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown-content a {
|
||||
color: #eeeeee;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dropdown.item .dropdown-content a:hover {
|
||||
background-color: #252525;
|
||||
-webkit-transition: all ease-in 150ms;
|
||||
transition: all ease-in 150ms;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: .75rem 1rem;
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
outline: none;
|
||||
background-color: #3a3a3a;
|
||||
color: #eeeeee;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
button.small {
|
||||
padding: 0.5rem .75rem;
|
||||
}
|
||||
|
||||
button.hoverable:hover {
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
button.red {
|
||||
background-color: #ff4340;
|
||||
}
|
||||
|
||||
button.red:active {
|
||||
background-color: #fa755d;
|
||||
}
|
||||
|
||||
button.green {
|
||||
background-color: #7cb342;
|
||||
}
|
||||
|
||||
button.green:active {
|
||||
background-color: #85d82d;
|
||||
}
|
||||
|
||||
button.cyan {
|
||||
background-color: #00bee0;
|
||||
color: #252525;
|
||||
}
|
||||
|
||||
button.cyan:active {
|
||||
background-color: #00d9ff;
|
||||
}
|
||||
|
||||
button:active {
|
||||
background-color: #404040;
|
||||
}
|
||||
/*# sourceMappingURL=main.css.map */
|
||||
9
Libraries/css/main.css.map
Normal file
9
Lib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MArBE,AAmBH,IAAI,AAEF,OAAO,CAAC;EACP,gBAAgB,EAhMV,OAAiB;CAiMxB;;AAvBL,AA0BE,MA1BI,AA0BH,MAAM,CAAC;EACN,gBAAgB,EA/LZ,OAAO;CAmMZ;;AA/BH,AA4BI,MA5BE,AA0BH,MAAM,AAEJ,OAAO,CAAC;EACP,gBAAgB,EAlMR,OAAO;CAmMhB;;AA9BL,AAiCE,MAjCI,AAiCH,KAAK,CAAC;EACL,gBAAgB,EAxMb,OAAO;EAyMV,KAAK,EA/MI,OAAO;CAmNjB;;AAvCH,AAoCI,MApCE,AAiCH,KAAK,AAGH,OAAO,CAAC;EACP,gBAAgB,EA5MT,OAAO;CA6Mf;;AAtCL,AAyCE,MAzCI,AAyCH,OAAO,CAAC;EACP,gBAAgB,EAzNF,OAAO;CA0NtB",
|
||||
"sources": [
|
||||
"main.scss"
|
||||
],
|
||||
"names": [],
|
||||
"file": "main.css"
|
||||
}
|
||||
225
Libraries/css/main.scss
Normal file
225
Libraries/css/main.scss
Normal file
|
|
@ -0,0 +1,225 @@
|
|||
$dark: (
|
||||
"background": #2a2a2a,
|
||||
"foreground": #eeeeee,
|
||||
"item": #3a3a3a,
|
||||
"button": #3a3a3a,
|
||||
"buttonActive": #404040
|
||||
);
|
||||
|
||||
$background: #252525;
|
||||
$foreground: #eeeeee;
|
||||
$brightRed: rgb(250, 117, 93);
|
||||
$red: #ff4340;
|
||||
$darkRed: #bb312f;
|
||||
$brightCyan: #00d9ff;
|
||||
$cyan: #00bee0;
|
||||
$brightGreen: #85d82d;
|
||||
$green: #7cb342;
|
||||
|
||||
a,
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
b,
|
||||
i,
|
||||
body,
|
||||
button {
|
||||
font-family: "Spartan";
|
||||
}
|
||||
|
||||
.code {
|
||||
font-family: "Fira Code";
|
||||
font-variant-ligatures: common-ligatures;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: $background;
|
||||
color: $foreground;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $red;
|
||||
&:hover {
|
||||
color: $darkRed;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 90vw;
|
||||
margin-left: 5vw;
|
||||
}
|
||||
|
||||
.centered {
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.blurred {
|
||||
filter: blur(5px);
|
||||
|
||||
&.unblurable {
|
||||
&:hover {
|
||||
transition: all ease-in 150ms;
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
||||
&.rounded {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
&.thumbnail {
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
&.small {
|
||||
width: 128px;
|
||||
}
|
||||
|
||||
&.medium {
|
||||
width: 256px;
|
||||
}
|
||||
&.large {
|
||||
width: 512px;
|
||||
}
|
||||
}
|
||||
|
||||
.titlebar.top {
|
||||
background-color: map-get($dark, "background");
|
||||
color: map-get($dark, "foreground");
|
||||
position: fixed;
|
||||
z-index: 10000000;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
@at-root body {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
background-color: map-get($dark, "item");
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
font-family: "Spartan";
|
||||
padding: 0px 1rem;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: map-get($dark, "background");
|
||||
transition: all ease-in 150ms;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.divider {
|
||||
width: 70vw;
|
||||
height: 10px;
|
||||
border-bottom: 1px solid map-get($dark, "item");
|
||||
margin: 1rem 15vw;
|
||||
&.wide {
|
||||
width: 100vw;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown.item {
|
||||
&:hover .dropdown-content {
|
||||
max-height: 100vh;
|
||||
display: block;
|
||||
}
|
||||
|
||||
& .dropdown-content {
|
||||
max-height: 0px;
|
||||
overflow-y: hidden;
|
||||
-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($dark, "item");
|
||||
min-width: 160px;
|
||||
margin-left: -1rem;
|
||||
margin-top: 5.45em;
|
||||
|
||||
& a {
|
||||
color: $foreground;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
|
||||
&:hover {
|
||||
background-color: $background;
|
||||
transition: all ease-in 150ms;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
padding: .75rem 1rem;
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
outline: none;
|
||||
background-color: map-get($dark, "button");
|
||||
color: $foreground;
|
||||
user-select: none;
|
||||
|
||||
&.small {
|
||||
padding: 0.5rem .75rem;
|
||||
}
|
||||
|
||||
&.hoverable {
|
||||
&:hover {
|
||||
background-color: map-get($dark, "buttonActive");
|
||||
}
|
||||
}
|
||||
|
||||
&.red {
|
||||
background-color: $red;
|
||||
&:active {
|
||||
background-color: $brightRed;
|
||||
}
|
||||
}
|
||||
|
||||
&.green {
|
||||
background-color: $green;
|
||||
&:active {
|
||||
background-color: $brightGreen;
|
||||
}
|
||||
}
|
||||
|
||||
&.cyan {
|
||||
background-color: $cyan;
|
||||
color: $background;
|
||||
&:active {
|
||||
background-color: $brightCyan;
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: map-get($dark, "buttonActive");
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue