Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #450 from Tereflech17/improved_blog_page_css_style
Browse files Browse the repository at this point in the history
Improved blog page css style
  • Loading branch information
Samir Jouni authored Oct 14, 2019
2 parents 57f1a33 + 032ce54 commit 40a8020
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 4 additions & 0 deletions assets/css/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,7 @@ input.search-blog:focus {
.searchbox-item {
margin-left: auto;
}

.card-shadow {
box-shadow: 0 1rem 1rem rgba(0,0,0,0.2);
}
5 changes: 4 additions & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
* Following codeblocks are just starter code
* Feel free to modify it in any way you like
*/


html {
scroll-behavior: smooth;

}

:root {
Expand Down Expand Up @@ -182,7 +185,7 @@ footer {

.site-footer {
padding: 100px 0; /*padding top and bottom 100px 0 padding left and right*/
margin-top: 10px;
margin-top: 8rem;
}

.site-footer a {
Expand Down
12 changes: 6 additions & 6 deletions pages/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h1 class="title">Blog</h1>

<div class="row mb-3 mt-4">
<div class="col-sm-12 col-md-4">
<div class="card mx-3 mb-3 mb-md-0">
<div class="card mx-3 mb-3 mb-md-0 card-shadow">
<div class="card-body">
<img
alt="..."
Expand All @@ -91,7 +91,7 @@ <h5 class="card-title"><a href="#">Santa's Favorite Cookies</a></h5>
</div>
</div>
<div class="col-sm-12 col-md-4">
<div class="card mx-3 mb-3 mb-md-0">
<div class="card mx-3 mb-3 mb-md-0 card-shadow">
<div class="card-body">
<img
alt="..."
Expand All @@ -109,7 +109,7 @@ <h5 class="card-title"><a href="#">How to Guide Santa's Sleigh</a></h5>
</div>
</div>
<div class="col-sm-12 col-md-4">
<div class="card mx-3 mb-3 mb-md-0">
<div class="card mx-3 mb-3 mb-md-0 card-shadow">
<div class="card-body">
<img
alt="..."
Expand All @@ -129,7 +129,7 @@ <h5 class="card-title"><a href="#">How to Wrap Gifts</a></h5>
</div>
<div class="row mb-3">
<div class="col-sm-12 col-md-4">
<div class="card mx-3 mb-3 mb-md-0">
<div class="card mx-3 mb-3 mb-md-0 card-shadow">
<div class="card-body">
<img
alt="..."
Expand All @@ -147,7 +147,7 @@ <h5 class="card-title"><a href="#">First Time Caroling</a></h5>
</div>
</div>
<div class="col-sm-12 col-md-4">
<div class="card mx-3 mb-3 mb-md-0">
<div class="card mx-3 mb-3 mb-md-0 card-shadow">
<div class="card-body">
<img
alt="..."
Expand All @@ -165,7 +165,7 @@ <h5 class="card-title"><a href="#">Building a Gingerbread House</a></h5>
</div>
</div>
<div class="col-sm-12 col-md-4">
<div class="card mx-3 mb-3 mb-md-0">
<div class="card mx-3 mb-3 mb-md-0 card-shadow">
<div class="card-body">
<img
alt="..."
Expand Down

0 comments on commit 40a8020

Please sign in to comment.