JuiceUI/Libraries/css/themekit/_main.scss
oitsjustjose 2476f86e28 MISC
2020-02-28 01:19:35 -05:00

197 lines
2.8 KiB
SCSS

@import "colors";
a,
p,
h1,
h2,
h3,
h4,
b,
i,
body,
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 {
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;
margin-left: 0px;
margin-right: 0px;
}
a {
color: $red;
&:hover {
color: darken($red, 10%);
}
}
.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);
}
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;
}
}
.down {
position: absolute;
bottom: 0;
i {
font-size: 64px;
}
}
}
.container {
width: 90vw;
margin: 2rem 5vw;
}
.centered {
text-align: center;
margin: auto;
}
.in-center {
display: flex;
justify-content: center;
flex-direction: row;
}
img.centered {
display: block;
}
.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;
}
}
.divider {
width: 70vw;
height: 10px;
border-bottom: 1px solid map-get($dark, "item");
margin: 1rem 15vw;
&.wide {
width: 100vw;
}
}
.bounce {
-moz-animation: bounce 2s infinite;
-webkit-animation: bounce 2s infinite;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}
ul {
padding-inline-start: 0;
padding-inline-end: 40px;
}
li {
margin-top: 0.75rem;
margin-bottom: 0.75rem;
line-height: 1.75;
}