1
0
Fork 0
mirror of https://github.com/dilllxd/gitfolio.git synced 2024-08-14 22:28:09 +00:00
gitfolio/index.css

431 lines
7.6 KiB
CSS
Raw Normal View History

@charset "UTF-8";
@font-face {
font-family: "Manrope";
src: url("/assets/fonts/web/Manrope-Bold.woff2") format("woff2"),
url("/assets/fonts/otf/Manrope-Bold.otf") format("opentype");
font-style: normal;
font-weight: 700;
}
@font-face {
font-family: "Manrope";
src: url("/assets/fonts/web/Manrope-SemiBold.woff2") format("woff2"),
url("/assets/fonts/otf/Manrope-SemiBold.otf") format("opentype");
font-style: normal;
font-weight: 600;
}
@font-face {
font-family: "Manrope";
src: url("/assets/fonts/web/Manrope-Medium.woff2") format("woff2"),
url("/assets/fonts/otf/Manrope-Medium.otf") format("opentype");
font-style: normal;
font-weight: 500;
}
@font-face {
font-family: "Manrope";
src: url("/assets/fonts/web/Manrope-Regular.woff2") format("woff2"),
url("/assets/fonts/otf/Manrope-Regular.otf") format("opentype");
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: "Manrope";
src: url("/assets/fonts/web/Manrope-Light.woff2") format("woff2"),
url("/assets/fonts/otf/Manrope-Light.otf") format("opentype");
font-style: normal;
font-weight: 300;
}
body {
align-items: center;
background: var(--bg-color);
color: var(--text-color);
font-family: "Manrope", sans-serif;
margin: 0%;
max-width: 100vw;
overflow-x: hidden;
padding: 0%;
width: 100vw;
font-feature-settings: "calt", "liga";
}
#profile {
background: var(--background-image) center center;
background-repeat: no-repeat;
background-size: cover !important;
color: #fff !important;
display: flex;
flex-direction: column;
height: 92vh;
justify-content: center;
padding: 4vh 3vw;
position: fixed;
text-align: left;
width: 24vw;
}
#display {
display: inline-block;
height: 92vh;
padding: 4vh 3vw;
padding-left: 33vw;
width: 64vw;
}
#display h1 {
color: var(--text-color);
font-family: "Asap", sans-serif;
font-size: 50px;
font-weight: bold;
}
.emoji {
height: 18px;
width: 18px;
}
#background_overlay {
height: 55vh;
left: 0;
position: absolute;
top: 0;
width: 100vw;
z-index: -1;
}
#background {
background-repeat: no-repeat !important;
background-size: cover !important;
height: 55vh;
left: 0;
position: absolute;
top: 0;
width: 100vw;
z-index: -2;
}
#header {
padding: 3vh 0px;
position: absolute;
text-align: right;
width: 63vw;
}
#header a {
color: var(--text-color);
font-weight: bold;
margin-left: 4vw;
text-decoration: none;
}
#footer {
padding: 8vh 0px;
text-align: center;
width: 100%;
}
#footer a {
color: var(--text-color) !important;
font-family: "Manrope", sans-serif;
font-weight: bold;
text-decoration: none;
}
#profile_img {
background: var(--gradient);
transition: background 0.5s ease;
background-size: 300% 300%;
animation: grad 8s ease infinite;
-webkit-background-clip: text;
font-size: 128px;
font-family: "Asap Condensed", sans-serif;
-webkit-text-fill-color: transparent;
height: 180px;
width: 180px;
}
@keyframes grad {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
#profile div {
font-weight: bold;
margin: 1.5vh 0px;
}
.hidden {
opacity: 0;
}
#username {
color: white;
font-family: "Asap Condensed", sans-serif;
font-size: 18px;
}
#username span {
font-family: "Asap Condensed", sans-serif;
font-size: 24px;
}
.console-underscore {
display: inline-block;
left: 10px;
position: relative;
top: -0.14em;
}
#userbio {
font-family: "Asap", sans-serif;
font-size: 26px;
width: 100%;
}
#about {
font-family: "Asap", sans-serif;
font-size: 18px;
}
#about a,
#username a {
color: #fff !important;
font-weight: bold;
text-decoration: none;
}
#about a:hover,
#username a:hover {
text-decoration: underline;
}
#about span {
display: block;
margin: 1vh 0px;
}
#about span i {
font-size: 16px;
}
#work {
margin: 2vh 0px;
padding: 4vh 0px !important;
}
#forks {
margin: 2vh 0px;
padding: 4vh 0px !important;
}
.projects {
margin-left: -15px;
/* align section w/ heading above */
}
.projects a {
display: flex;
text-decoration: none;
/* 30px is the gutter size in magic grid */
width: calc(49% - 30px);
/* 49% avoids a weird single column on some wide screens */
}
.projects section {
border-radius: 5px;
border: 1px solid rgb(0, 0, 0, 0.08);
box-shadow: 0px 0px 0px rgb(0, 0, 0, 0);
color: var(--text-color);
display: inline-block;
margin: 1vh 0px;
padding: 2.5vh 5%;
transform: scale(1);
transition: 0.4s ease-in-out;
width: 100%;
}
.projects section:hover {
border: 1px solid rgb(0, 0, 0, 0);
box-shadow: 0px 15px 35px rgb(0, 0, 0, 0.06);
cursor: pointer;
transform: scale(1.03);
}
.section_title {
font-size: 24px;
font-weight: bold;
margin: 1vh 0px;
padding: 0px 1px;
word-wrap: break-word;
}
.about_section {
font-family: "Asap", sans-serif;
font-size: 18px;
font-weight: bold;
margin: 2vh 0px;
word-wrap: break-word;
}
.bottom_section {
font-size: 14px;
margin: 1vh 0px;
word-wrap: break-word;
}
.bottom_section span {
font-weight: bold;
margin-right: 20px;
}
.bottom_section span i {
font-size: 15px;
}
.socials {
color: #fff;
margin: 3vh 0px !important;
text-decoration: none;
}
.socials span {
display: inline-block !important;
font-weight: normal !important;
margin-right: 2vw !important;
}
.socials span a {
font-weight: normal !important;
}
::selection {
background: var(--text-color);
color: var(--bg-color);
}
@media (max-width: 800px) {
#profile {
height: 60vh;
padding: 4vh 5vw;
position: relative;
text-align: center;
width: 90vw;
}
#display {
display: inline-block;
height: auto;
padding-left: 5vw;
padding: 4vh 5vw;
width: 90vw;
}
#profile_img {
margin: 0px auto !important;
background: var(--gradient);
transition: background 0.5s ease;
background-size: 300% 300%;
animation: grad 8s ease infinite;
-webkit-background-clip: text;
font-size: 128px;
font-family: "Asap Condensed", sans-serif;
-webkit-text-fill-color: transparent;
}
@keyframes grad {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
#work {
margin: 0px;
}
.projects {
margin-left: 0;
/* remove neg margin to align w/ header */
}
.projects a {
width: 100%;
}
.projects section {
width: 88%;
}
}
::-webkit-scrollbar {
height: 5px;
width: 5px;
}
::-webkit-scrollbar-track {
background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
background: var(--text-color);
}
/* Iconify */
.iconify {
font-size: 24px;
line-height: 14px;
}
:root {
--bg-color: rgb(10, 10, 10);
--text-color: #fff;
--background-image: linear-gradient(
90deg,
rgba(10, 10, 10, 0.3),
rgb(10, 10, 10, 1)
),
url("https://source.unsplash.com/1280x720/?wallpaper");
--background-background: linear-gradient(
0deg,
rgba(10, 10, 10, 1),
rgba(10, 10, 10, 0.6)
),
url("https://source.unsplash.com/1280x720/?wallpaper") center center fixed;
--height: 50vh;
--gradient: linear-gradient(90deg, #009bef, #ff0000);
}
#display h1 {
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: #fff;
}
.projects section {
background: rgb(20, 20, 20);
}
@media (max-width: 800px) {
:root {
--background-image: linear-gradient(
0deg,
rgba(10, 10, 10, 1),
rgba(10, 10, 10, 0)
),
url("https://source.unsplash.com/1280x720/?wallpaper") !important;
}
}