midou36o.github.io/src/index.css

146 lines
2.4 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;
}
.bio-and-projects {
text-align: center;
position: fixed;
left: 5px;
width: 100%;
}
.h1dance {
margin-top: 0;
margin: 0;
color: var(--brighter-purple-color);
}
body {
background-color:rgb(0, 0, 0);
background-image: url("./images/BG_FHD_darker.png");
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;}
}
#profilepicture {
height: 100px;
width: 100px;
border-style: solid;
border-radius:50%;
transition: all .5s ease-in-out;
margin-bottom: -20px;
color: var(--purple-color)
}
#profilepicture:hover {
height: 125px;
width: 125px;
color: var(--glowish-yellow)
}
.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;
}
}
.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;}
}