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

Install stylelint

This commit is contained in:
Kaustubh Ladiya 2020-02-14 23:24:33 +05:30
parent fc03761011
commit ea517d5669
No known key found for this signature in database
GPG key ID: A77FFE5465BD4E7D
8 changed files with 2011 additions and 59 deletions

3
.stylelintrc.json Normal file
View file

@ -0,0 +1,3 @@
{
"extends": ["stylelint-config-standard", "stylelint-prettier/recommended"]
}

View file

@ -47,7 +47,7 @@ body {
}
.footer {
padding: 8vh 0px;
padding: 8vh 0;
text-align: center;
width: 100%;
}
@ -76,9 +76,11 @@ body {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
@ -86,7 +88,7 @@ body {
.profile div {
font-weight: bold;
margin: 1.5vh 0px;
margin: 1.5vh 0;
}
.hidden {
@ -99,6 +101,17 @@ body {
font-size: 18px;
}
.bottom_section span {
font-weight: bold;
margin-right: 20px;
}
.socials span {
display: inline-block !important;
font-weight: normal !important;
margin-right: 2vw !important;
}
#username span {
font-family: "Asap Condensed", sans-serif;
font-size: 24px;
@ -122,6 +135,20 @@ body {
font-size: 18px;
}
.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 */
}
.socials span a {
font-weight: normal !important;
}
#about a,
#username a {
color: #fff !important;
@ -136,7 +163,11 @@ body {
#about span {
display: block;
margin: 1vh 0px;
margin: 1vh 0;
}
.bottom_section span i {
font-size: 15px;
}
#about span i {
@ -144,35 +175,28 @@ body {
}
#work {
margin: 2vh 0px;
padding: 4vh 0px !important;
margin: 2vh 0;
padding: 4vh 0 !important;
}
#forks {
margin: 2vh 0px;
padding: 4vh 0px !important;
margin: 2vh 0;
padding: 4vh 0 !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 */
/* align section w/ heading above */
}
.projects section {
border: 1px solid rgb(0, 0, 0, 0.08);
border-radius: 5px;
box-shadow: 0px 0px 0px rgb(0, 0, 0, 0);
box-shadow: 0 0 0 rgb(0, 0, 0, 0);
color: var(--text-color);
display: inline-block;
margin: 1vh 0px;
margin: 1vh 0;
padding: 2.5vh 5%;
transform: scale(1);
transition: 0.4s ease-in-out;
@ -181,7 +205,7 @@ body {
.projects section:hover {
border: 1px solid rgb(0, 0, 0, 0);
box-shadow: 0px 15px 35px rgb(0, 0, 0, 0.06);
box-shadow: 0 15px 35px rgb(0, 0, 0, 0.06);
cursor: pointer;
transform: scale(1.03);
}
@ -189,8 +213,8 @@ body {
.section_title {
font-size: 24px;
font-weight: bold;
margin: 1vh 0px;
padding: 0px 1px;
margin: 1vh 0;
padding: 0 1px;
word-wrap: break-word;
}
@ -198,41 +222,22 @@ body {
font-family: "Asap", sans-serif;
font-size: 18px;
font-weight: bold;
margin: 2vh 0px;
margin: 2vh 0;
word-wrap: break-word;
}
.bottom_section {
font-size: 14px;
margin: 1vh 0px;
margin: 1vh 0;
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;
margin: 3vh 0 !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);
@ -261,7 +266,7 @@ body {
background-size: 300% 300%;
font-family: "Asap Condensed", sans-serif;
font-size: 128px;
margin: 0px auto !important;
margin: 0 auto !important;
transition: background 0.5s ease;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
@ -271,20 +276,23 @@ body {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
#work {
margin: 0px;
margin: 0;
}
.projects {
margin-left: 0;
/* remove neg margin to align w/ header */
}

View file

@ -14,7 +14,7 @@
),
url("{{{background}}}") center center fixed;
--height: 50vh;
--gradient: linear-gradient(90deg, #009bef, #ff0000);
--gradient: linear-gradient(90deg, #009bef, #f00);
}
#display h1 {

View file

@ -8,5 +8,5 @@
),
url("{{{background}}}");
--background-background: #fff;
--gradient: linear-gradient(90deg, #009bef, #ff0000);
--gradient: linear-gradient(90deg, #009bef, #f00);
}

1937
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -48,7 +48,11 @@
},
"devDependencies": {
"eslint": "^6.8.0",
"prettier": "1.19.1"
"prettier": "^1.19.1",
"stylelint": "^13.2.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-prettier": "^1.1.2"
},
"snyk": true
}

View file

@ -32,7 +32,7 @@ header b {
header a {
font-size: 16px;
margin: 1.8vh 0px;
margin: 1.8vh 0;
margin-left: 4vw;
color: #000;
text-decoration: none;
@ -49,11 +49,11 @@ form {
}
form .button {
margin: 2vh 0px;
margin: 2vh 0;
}
.input {
margin: 1.5vh 0px !important;
margin: 1.5vh 0 !important;
}
.label {
@ -88,6 +88,11 @@ button:hover {
text-align: right;
}
.remove i {
font-size: 14px;
margin-right: 3px;
}
#top_image i {
font-size: 20px;
position: absolute;
@ -95,7 +100,7 @@ button:hover {
top: 4vh;
right: 5vw;
padding: 15px 15px;
background: #ffffff;
background: #fff;
color: rgb(0, 0, 0);
border-radius: 50%;
}
@ -112,9 +117,9 @@ button:hover {
font-size: 17px;
line-height: 25px;
word-spacing: 1.2px;
margin: 5vh 0px;
margin: 5vh 0;
background: transparent;
border: 0px;
border: 0;
width: 100%;
font-family: "Questrial", sans-serif;
resize: none;
@ -129,17 +134,12 @@ button:hover {
}
.remove {
margin-bottom: 2vh 0px;
margin-bottom: 2vh 0;
font-weight: bold;
transition: 0.4s ease-in-out;
font-size: 16px;
}
.remove i {
font-size: 14px;
margin-right: 3px;
}
.remove:hover {
cursor: pointer;
color: rgb(255, 70, 70);