Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak main-column styling #5

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 3 additions & 32 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,34 +41,8 @@ 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: -14px;
border-radius: 0 20px 0 0;
right: 0px;
}
&:after{
display: block;
content: " ";
// background: #aca6b9;
background: $light-purple linear-gradient(to top, #908b9e 0%, #aaa5b6 50%);
height: 20px;
position: absolute;
top: -20px;
left: -30px;
width: 30px;
border-radius: 20px 20px 0 0;
z-index: 50;
}
}


.btn{
@include secondary-font;
}
Expand All @@ -81,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;
}
}
}