Skip to content

Commit

Permalink
Adjusted few styles
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagorossener committed Feb 4, 2020
1 parent 76d05c8 commit c1f39cc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
31 changes: 16 additions & 15 deletions _sass/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,24 @@ body {
margin: 0;
height: rem(32px);
line-height: rem(32px);
}

.logo a {
display: block;
color: $accentDark;
text-decoration: none;
font-size: rem(32px);
position: relative;
}

.logo svg {
width: rem(120px);
height: rem(30px);
transition: all .4s;
a {
display: block;
color: $accentDark;
text-decoration: none;
font-size: rem(32px);
position: relative;
outline: 0;
}

@include media(">=sm") {
width: rem(205px);
svg {
width: rem(120px);
height: rem(30px);
transition: all .4s;

@include media(">=sm") {
width: rem(205px);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion _sass/_highlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pre {
}

code {
@include center(rem(800));
@include center(rem(800px));
padding: 0 rem(20px);

@include media("<sm") {
Expand Down
6 changes: 5 additions & 1 deletion _sass/preview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ body {

img {
max-width: 100%;
margin: rem(0px) auto;
margin: 0 auto rem(20px);
display: block;
padding: 10px 0;

@include media(">=sm") {
margin: 0 auto rem(29px);
}
}

figure {
Expand Down

0 comments on commit c1f39cc

Please sign in to comment.