1
0
Fork 0
mirror of https://github.com/dilllxd/gitfolio.git synced 2024-08-14 22:28:09 +00:00
gitfolio/assets/index.css
2020-01-31 22:30:41 +05:30

424 lines
6.5 KiB
CSS

body {
align-items: center;
background: var(--bg-color);
color: var(--text-color);
font-family: "Poppins", sans-serif;
margin: 0%;
max-width: 100vw;
overflow-x: hidden;
padding: 0%;
width: 100vw;
}
#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: "Poppins", 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);
}
/* 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 {
left: -8px;
position: relative;
top: 4px;
}
.nav .mdi::before {
position: relative;
top: 4px;
}
.navbar .navbar-toggle .mdi::before {
color: #fff;
position: relative;
top: 4px;
}
.breadcrumb .mdi::before {
position: relative;
top: 4px;
}
.breadcrumb a:hover {
text-decoration: none;
}
.breadcrumb a:hover span {
text-decoration: underline;
}
.alert .mdi::before {
margin-right: 2px;
position: relative;
top: 4px;
}
.input-group-addon .mdi::before {
position: relative;
top: 3px;
}
.navbar-brand .mdi::before {
margin-right: 2px;
position: relative;
top: 2px;
}
.list-group-item .mdi::before {
left: -3px;
position: relative;
top: 3px;
}