MyWebsite/CSS/Main.css
2022-06-09 20:26:16 -04:00

117 lines
2.1 KiB
CSS

@font-face {
font-family: JetBrains_Mono;
src: url(../Fonts/JetBrainsMono-Regular.woff2) format('woff2');
}
body{
background-color: black;
color: #aaa6a6;
font-family: JetBrains_Mono;
}
hr {
width: 100%;
background: linear-gradient(to right, purple, orange);
border-width: 1em;
}
.Glow ul {
margin: 0;
padding: 0;
display: flex;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.Glow ul li {
list-style: none;
margin: 0 15px;
}
.Glow ul li a {
position: relative;
display: block;
width: 60px;
height: 60px;
text-align: center;
line-height: 63px;
background: #333;
border-radius: 50%;
font-size: 30px;
color: #666;
transition: .5s;
}
.Glow ul li a::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background: #ffee10;
transition: .5s;
transform: scale(.9);
z-index: -1;
}
.Glow ul li a:hover::before {
transform: scale(1.1);
box-shadow: 0 0 15px #ffee10;
}
.Glow ul li a:hover {
color: #ffee10;
box-shadow: 0 0 5px #ffee10;
text-shadow: 0 0 5px #ffee10;
}
.header{
padding: auto;
}
.logo{
width: 5em;
height: 5em;
margin-top: 1em;
margin-bottom: 1em;
}
.GradientBorder{
border: 5px solid;
border-image: linear-gradient(to bottom, purple, orange) 1 100%;
border-style: solid;
border-width: 3px;
padding: 1rem;
}
.GradientText{
background-image: linear-gradient(to left, purple, orange, purple);
background-clip: text;
color: transparent;
}
.menu{
list-style-type: none;
margin: 0;
padding: 0;
font-size: larger;
position: relative;
}
.menu > ul{
position: absolute;
bottom: 0;
right: 0;
}
.menu li{
display: inline;
}
.menu li a{
display: inline-block;
padding: 10px;
text-decoration: none;
}
.menu li a:hover{
background-image: linear-gradient(to left, orange, purple, orange);
background-clip: text;
color: transparent;
}