Skip to content

Commit

Permalink
Fix margin in repo section
Browse files Browse the repository at this point in the history
  • Loading branch information
SDBowen committed Feb 18, 2019
1 parent 6842748 commit dad0943
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
5 changes: 3 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,10 @@ hr {
.repo-item__language-text--css {
background-color: #8a6bb4; }
.repo-item__description {
margin-top: 2rem;
margin-bottom: 1rem;
margin: 2rem 0 1rem 0;
width: 98%; }
.repo-item__description p {
margin-right: 3rem; }

.brand {
margin-bottom: 10rem; }
5 changes: 1 addition & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,7 @@ <h2 class="heading-primary u-margin-bottom">Featured Projects</h2>
</svg>
<div class="project-item__button-text">Code</div>
</a>
<a
href="https://sdbowen.io"
class="project-item__link"
>
<a href="https://sdbowen.io" class="project-item__link">
<svg
class="project-item__svg"
viewBox="0 0 24 24"
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@
"description": "Mockup for personal portfolio website",
"main": "index.js",
"scripts": {
"watch:sass": "node-sass sass/main.scss css/style.css -w",
"devserver": "browser-sync --server --files \"**/*\"",
"dev": "npm-run-all --parallel devserver watch:sass"
"dev": "node-sass sass/main.scss css/style.css -w"
},
"author": "sdbowen",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.26.3",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5"
"node-sass": "^4.11.0"
}
}
7 changes: 5 additions & 2 deletions sass/components/_repo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@
}

&__description {
margin-top: 2rem;
margin-bottom: 1rem;
margin: 2rem 0 1rem 0;
width: 98%;

p {
margin-right: 3rem;
}
}
}

0 comments on commit dad0943

Please sign in to comment.