Skip to content

Commit

Permalink
Merge pull request #1 from Sntax/patch-1
Browse files Browse the repository at this point in the history
Remove "folding paper" styles from main element
  • Loading branch information
bengott authored Oct 11, 2016
2 parents e29c4a7 + 0235ca4 commit e45fe8f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 25 deletions.
19 changes: 2 additions & 17 deletions packages/crater/lib/stylesheets/_global.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@


body{
background: $grey;

@include primary-font;
}

h1, h2, h3, h4, h5{
@include secondary-font;
}


a{
color: $primary-color;
&:hover, &:active, &:focus{
Expand All @@ -28,7 +26,7 @@ a{
}

.main{
margin-bottom: 30px;
margin: 30px auto;
@include medium-large{
display: flex;
}
Expand All @@ -43,18 +41,6 @@ a{
position: relative;
z-index: 10;
border-radius: 0 0 5px 5px;
// box-shadow: 2px 2px 0px 2px black(0.05);
&:before{
display: block;
content: " ";
background: white;
height: 20px;
position: absolute;
top: -20px;
left: 0px;
border-radius: 20px 20px 0 0;
right: 0px;
}
}

.btn{
Expand All @@ -67,7 +53,6 @@ a{
color: $light-text-color;
}


.page{
padding: 30px;
}
4 changes: 1 addition & 3 deletions packages/crater/lib/stylesheets/_posts.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


.posts-home-intro{
padding: 20px 30px;
border-top: 1px dashed $border-color;
Expand Down Expand Up @@ -78,7 +76,7 @@
.posts-item{
border: none;
border-bottom: 1px dashed $border-color;
padding: 0 30px 20px 30px;
padding: 20px 30px;
&.posts-sticky{
border-top: 1px dashed $border-color;
padding: 20px 30px;
Expand Down
5 changes: 1 addition & 4 deletions packages/crater/lib/stylesheets/_sidebar.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@

.sidebar{
width: 250px;
padding-top: 30px;
flex-shrink: 0;
@include small{
display: none;
}
}


.search-form{
margin-bottom: 20px;
.form-control{
Expand All @@ -29,4 +26,4 @@
border-color: $secondary-color;
color: white;
}
}
}
3 changes: 2 additions & 1 deletion packages/crater/lib/stylesheets/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

@mixin secondary-font{
font-family: 'Space Mono', monospace;
}
font-variant-ligatures: no-common-ligatures;
}

0 comments on commit e45fe8f

Please sign in to comment.