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

453 lines
7.3 KiB
CSS
Raw Normal View History

@import url("https://fonts.googleapis.com/css?family=Asap|Asap+Condensed");
body {
margin: 0%;
padding: 0%;
width: 100vw;
background: var(--bg-color);
color: var(--text-color);
max-width: 100vw;
overflow-x: hidden;
align-items: center;
font-family: "Asap", sans-serif;
}
#profile {
width: 24vw;
padding: 4vh 3vw;
height: 92vh;
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
background: var(--background-image) center center;
background-size: cover !important;
background-repeat: no-repeat;
position: fixed;
color: #fff !important;
}
#display {
width: 64vw;
padding: 4vh 3vw;
height: 92vh;
display: inline-block;
padding-left: 33vw;
}
#display h1 {
font-size: 50px;
color: var(--text-color);
font-weight: bold;
font-family: "Asap", sans-serif;
}
.emoji {
width: 18px;
height: 18px;
}
#background_overlay {
width: 100vw;
height: 55vh;
position: absolute;
z-index: -1;
top: 0;
left: 0;
}
#background {
width: 100vw;
height: 55vh;
background-size: cover !important;
background-repeat: no-repeat !important;
position: absolute;
z-index: -2;
top: 0;
left: 0;
}
#header {
width: 63vw;
text-align: right;
padding: 3vh 0px;
position: absolute;
}
#header a {
color: var(--text-color);
text-decoration: none;
margin-left: 4vw;
font-weight: bold;
}
#footer {
width: 100%;
padding: 8vh 0px;
text-align: center;
}
#footer a {
color: var(--text-color) !important;
text-decoration: none;
font-family: "Asap", sans-serif;
font-weight: bold;
}
#profile_img {
width: 180px;
height: 180px;
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%;
}
}
#profile div {
font-weight: bold;
margin: 1.5vh 0px;
}
#username {
font-size: 18px;
font-weight: bold;
font-family: "Asap Condensed", sans-serif;
}
#username span {
font-size: 24px;
font-family: "Asap Condensed", sans-serif;
}
#userbio {
font-size: 26px;
font-family: "Asap", sans-serif;
width: 100%;
}
#about {
font-size: 18px;
font-family: "Asap", sans-serif;
}
#about a,
#username a {
color: #fff !important;
text-decoration: none;
font-weight: bold;
}
#about a:hover,
#username a:hover {
text-decoration: underline;
}
#about span {
margin: 1vh 0px;
display: block;
}
#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 {
/* 30px is the gutter size in magic grid */
width: calc(49% - 30px);
/* 49% avoids a weird single column on some wide screens */
display: flex;
text-decoration: none;
}
.projects section {
width: 100%;
padding: 2.5vh 5%;
margin: 1vh 0px;
display: inline-block;
border-radius: 5px;
color: var(--text-color);
border: 1px solid rgb(0, 0, 0, 0.08);
box-shadow: 0px 0px 0px rgb(0, 0, 0, 0);
transition: 0.4s ease-in-out;
transform: scale(1);
}
.projects section:hover {
cursor: pointer;
border: 1px solid rgb(0, 0, 0, 0);
box-shadow: 0px 15px 35px rgb(0, 0, 0, 0.06);
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-size: 18px;
font-family: "Asap", sans-serif;
margin: 2vh 0px;
font-weight: bold;
word-wrap: break-word;
}
.bottom_section {
margin: 1vh 0px;
font-size: 14px;
word-wrap: break-word;
}
.bottom_section span {
margin-right: 20px;
font-weight: bold;
}
.bottom_section span i {
font-size: 15px;
}
.socials {
color: #fff;
text-decoration: none;
margin: 3vh 0px !important;
}
.socials span {
display: inline-block !important;
margin-right: 2vw !important;
font-weight: normal !important;
}
.socials span a {
font-weight: normal !important;
}
::selection {
color: var(--bg-color);
background: var(--text-color);
}
@media (max-width: 800px) {
#profile {
width: 90vw;
padding: 4vh 5vw;
height: 60vh;
text-align: center;
position: relative;
}
#display {
width: 90vw;
padding: 4vh 5vw;
height: auto;
display: inline-block;
padding-left: 5vw;
}
#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 {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
background: var(--text-color);
}
/* Material Icons */
.mdi::before {
font-size: 24px;
line-height: 14px;
}
.btn .mdi::before {
position: relative;
top: 4px;
}
.btn-xs .mdi::before {
font-size: 18px;
top: 3px;
}
.btn-sm .mdi::before {
font-size: 18px;
top: 3px;
}
.dropdown-menu .mdi {
width: 18px;
}
.dropdown-menu .mdi::before {
position: relative;
top: 4px;
left: -8px;
}
.nav .mdi::before {
position: relative;
top: 4px;
}
.navbar .navbar-toggle .mdi::before {
position: relative;
top: 4px;
color: #fff;
}
.breadcrumb .mdi::before {
position: relative;
top: 4px;
}
.breadcrumb a:hover {
text-decoration: none;
}
.breadcrumb a:hover span {
text-decoration: underline;
}
.alert .mdi::before {
position: relative;
top: 4px;
margin-right: 2px;
}
.input-group-addon .mdi::before {
position: relative;
top: 3px;
}
.navbar-brand .mdi::before {
position: relative;
top: 2px;
margin-right: 2px;
}
.list-group-item .mdi::before {
position: relative;
top: 3px;
left: -3px;
}
: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/1600x900/?wallpaper");
--background-background: linear-gradient(
0deg,
rgba(10, 10, 10, 1),
rgba(10, 10, 10, 0.6)
),
url("https://source.unsplash.com/1600x900/?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/1600x900/?wallpaper") !important;
}
}