Improved Organization
This commit is contained in:
parent
6cfe52da8e
commit
0a757dd500
13 changed files with 833 additions and 679 deletions
157
Libraries/css/themekit/_main.scss
Normal file
157
Libraries/css/themekit/_main.scss
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
@import "colors";
|
||||
|
||||
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;
|
||||
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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue