This commit is contained in:
oitsjustjose 2020-02-28 01:19:35 -05:00
commit 2476f86e28
7 changed files with 308 additions and 85 deletions

View file

@ -10,7 +10,7 @@ button {
cursor: pointer;
border-radius: 0.3em;
box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
padding: 2em;
font-size: 12px;

View file

@ -13,9 +13,23 @@ button {
font-family: "Spartan";
}
p {
line-height: 2;
}
.code {
font-family: "Fira Code";
font-variant-ligatures: common-ligatures;
background-color: lighten($background, 10%);
border: 2px solid lighten($background, 5%);
padding: 0.4rem;
border-radius: 4px;
}
p.code,
pre {
display: inline-block;
overflow: scroll;
}
pre {
@ -53,6 +67,12 @@ a {
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);
}
p.content {
font-size: 64px;
font-weight: 900;
@ -88,6 +108,16 @@ a {
margin: auto;
}
.in-center {
display: flex;
justify-content: center;
flex-direction: row;
}
img.centered {
display: block;
}
.blurred {
filter: blur(5px);

View file

@ -26,6 +26,10 @@
text-decoration: none;
}
&.translucent {
background-color: rgba(map-get($dark, "background"), 0.95);
}
.item {
display: inline-flex;
flex-direction: column;

View file

@ -9,8 +9,8 @@ button {
user-select: none;
cursor: pointer;
border-radius: 0.3em;
-webkit-box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.75);
box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.75);
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
padding: 2em;
font-size: 12px;
}
@ -163,6 +163,10 @@ body {
text-decoration: none;
}
.titlebar.top.translucent {
background-color: rgba(42, 42, 42, 0.95);
}
.titlebar.top .item {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
@ -384,10 +388,24 @@ button {
font-family: "Spartan";
}
p {
line-height: 2;
}
.code {
font-family: "Fira Code";
-webkit-font-variant-ligatures: common-ligatures;
font-variant-ligatures: common-ligatures;
background-color: #3f3f3f;
border: 2px solid #323232;
padding: 0.4rem;
border-radius: 4px;
}
p.code,
pre {
display: inline-block;
overflow: scroll;
}
pre {
@ -440,6 +458,12 @@ a:hover {
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 p.content {
font-size: 64px;
font-weight: 900;
@ -483,6 +507,23 @@ a:hover {
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;
}
img.centered {
display: block;
}
.blurred {
-webkit-filter: blur(5px);
filter: blur(5px);

File diff suppressed because one or more lines are too long