midou36o.github.io/src/lib/style.css

194 lines
2.8 KiB
CSS

@import url('https://fonts.googleapis.co/css2?family=Open+Sans&display=swap');
:root {
--purple-color: #7a00ec;
--brighter-purple-color: #9d41f3;
--glowish-yellow: rgb(216, 213, 15);
}
html {
height: 100%;
overflow-x: hidden;
scroll-behavior: smooth;
}
#backdesk {
height: 100%;
object-fit: fill;
overflow: hidden;
animation: rainbow 20s steps(120) infinite;
}
#backmob {
display:none;
}
@keyframes rainbow {
from { filter:hue-rotate(10deg); }
to { filter:hue-rotate(360deg); }
}
.bio-and-projects {
text-align: center;
position: fixed;
left: 5px;
width: 100%;
}
.h1dance {
margin-top: 0;
margin: 0;
color: var(--brighter-purple-color);
}
.bg {
background-image: url(/Images/BG_FHD_darker_mb.png);
}
body {
background-color: rgb(0, 0, 0);
background-repeat: no-repeat;
background-size: cover;
height: 100%;
color: var(--brighter-purple-color);
margin: 0px;
font-family: 'Open Sans', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.sociallink {
color: white;
animation-name: fadeIn;
animation-duration: 3s;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
#profilepicture {
height: 100px;
width: 100px;
border-style: solid;
border-radius: 50%;
transition: all 0.5s ease-in-out;
margin-bottom: -20px;
color: var(--purple-color);
filter:hue-rotate(0deg);
}
#profilepicture:hover {
height: 125px;
width: 125px;
color: var(--glowish-yellow);
animation: rainbow 1s steps(36) infinite;
}
.middle {
position: absolute;
transform: translate(-50%, -50%);
text-align: center;
top: 50%;
left: 50%;
}
a {
color: var(--glowish-yellow);
text-decoration: none;
}
a:visited {
color: rgb(72, 115, 243);
}
a:hover {
color: crimson;
}
.middle-bottom {
height: 200px;
width: 400px;
position: fixed;
top: 50%;
left: 50%;
margin-top: 7%;
margin-left: -200px;
}
img {
padding: 3px;
}
.center {
/* <center> tag is no longer needed and is considered useless/going to be deprecated???? so im just gonna center using css and div */
text-align: center;
}
@media only screen and (max-width: 600px) {
body {
font-size: calc(9px + 1vmin);
background-image: url('/images/BG_FHD_darker_mb.png');
}
.pfp-holder {
margin-top: -50%;
margin-left: 0%;
position: static;
}
img {
padding: 6px;
}
}
#backmob {
object-fit: fill;
overflow: hidden;
height: 100%;
animation: rainbow 20s steps(120) infinite;
}
.banner {
padding: 10px;
text-align: center;
background: #6e0000;
color: white;
font-size: 15px;
animation: fadeInOut linear 5s infinite;
}
.banner:hover {
animation: none;
}
@keyframes fadeInOut {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}