272 lines
No EOL
4.6 KiB
CSS
272 lines
No EOL
4.6 KiB
CSS
:root {
|
|
--text-color: white;
|
|
--accent-color: greenyellow;
|
|
--accent-secondary: green;
|
|
--box-gap: 2rem;
|
|
--accent-background: rgb(0, 30, 0);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
scrollbar-color: var(--accent-color) var(--accent-background);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Minecraft;
|
|
src: url("../MinecraftRegular-Bmg3.otf") format("opentype");
|
|
}
|
|
|
|
body {
|
|
font-family: Minecraft, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: black;
|
|
color:white;
|
|
font-size : clamp(1.2rem, .2vw, 2rem);
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
text-align: center;
|
|
}
|
|
|
|
aside {
|
|
width: min-content;
|
|
user-select: none;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
main {
|
|
outline: 2px solid gray;
|
|
padding: 1em;
|
|
background-color: black;
|
|
height: fit-content;
|
|
border-radius: 0 0 4px 4px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* main:last-child {
|
|
margin-bottom: 0px;
|
|
padding-bottom: 0px;
|
|
} */
|
|
|
|
button {
|
|
padding: 10px;
|
|
border: medium solid var(--accent-color);
|
|
background: linear-gradient(var(--accent-color), var(--accent-secondary));
|
|
border-radius: 2px;
|
|
color: white;
|
|
}
|
|
|
|
code {
|
|
background-color: darkslategray;
|
|
color: var(--accent-color);
|
|
padding-left: .2em;
|
|
padding-right: .2em;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
border-radius: 2px;
|
|
display: inline-block;
|
|
}
|
|
|
|
input, select {
|
|
padding: .4em;
|
|
background-color: black;
|
|
color: white;
|
|
border: medium solid var(--accent-color);
|
|
}
|
|
|
|
p, ul {
|
|
padding-bottom: .6em;
|
|
}
|
|
|
|
img {
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
hr {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
#linksBox {
|
|
padding: 2em;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
background-color: black;
|
|
outline: 2px solid var(--accent-color);
|
|
border-radius: 0 0 4px 4px;
|
|
height: fit-content;
|
|
gap: 1em;
|
|
background-color: rgb(0, 30, 0);
|
|
}
|
|
|
|
#headerLinks a {
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
padding: 0;
|
|
padding-left: 0;
|
|
}
|
|
|
|
#everythingHelper {
|
|
max-width: 80%;
|
|
margin: auto;
|
|
transform: .2s;
|
|
display: flex;
|
|
gap: var(--box-gap);
|
|
}
|
|
|
|
#headerLinks {
|
|
padding: 0;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
#headerLinksAndTitle {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1em;
|
|
}
|
|
|
|
#logoTitle {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: .5em;
|
|
}
|
|
|
|
#title {
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
#logo {
|
|
height: 8em;
|
|
}
|
|
|
|
#featured {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#featuredHelper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
|
|
.featuredProject {
|
|
gap: 1em;
|
|
display: flex;
|
|
transition: .2s;
|
|
font-size: smaller;
|
|
padding: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.featuredProjectName {
|
|
margin-top: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
.featuredProjectSubtitle {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical
|
|
}
|
|
|
|
.featuredProjectSubtitle {
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.featuredProject img {
|
|
height: 5em;
|
|
border: medium solid var(--accent-color);
|
|
}
|
|
|
|
.featuredProject p {
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
text-overflow:clip;
|
|
}
|
|
|
|
#featured h2 {
|
|
font-size: medium;
|
|
font-weight: 100;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#featuredHelper {
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
li {
|
|
margin-left: 20px;
|
|
list-style-type: "> ";
|
|
margin-bottom: .4em;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
margin-bottom: .4em;
|
|
}
|
|
|
|
.errorQuote {
|
|
color: gray;
|
|
}
|
|
|
|
.dimText {
|
|
opacity: .6;
|
|
}
|
|
|
|
.rainbowText {
|
|
background: linear-gradient(to right, var(--text-color), var(--accent-color), var(--accent-secondary));
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
animation: rainbow_animation 6s ease-in-out infinite;
|
|
background-size: 400% 100%;
|
|
}
|
|
|
|
@keyframes rainbow_animation {
|
|
0%,100% {
|
|
background-position: 0 0;
|
|
}
|
|
|
|
50% {
|
|
background-position: 100% 0;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 1280px) {
|
|
#everythingHelper {
|
|
flex-direction: column;
|
|
}
|
|
|
|
aside {
|
|
width: 100%;
|
|
}
|
|
|
|
#projectTitle {
|
|
font-size: larger;
|
|
}
|
|
|
|
#headerLinksAndTitle {
|
|
flex-direction: row;
|
|
}
|
|
|
|
#headerLinks {
|
|
margin-left: 2em;
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 300px) {
|
|
|
|
} |