diff options
Diffstat (limited to 'sass')
-rw-r--r-- | sass/parts/_article.scss | 2 | ||||
-rw-r--r-- | sass/parts/_header.scss | 8 | ||||
-rw-r--r-- | sass/parts/_syntax.scss | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index c5c7719..2639aeb 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -77,7 +77,7 @@ article{ background: $border; border: 1px solid #ccc; padding: 1px 3px; - border-radius: 5px; + @include border-radius(5px); margin: 0 3px; } } diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index a11ff44..a258e9d 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -44,7 +44,7 @@ header{ white-space: nowrap; background: #ddd; border: 1px solid #ccc; - border-radius: 0 0 5px 5px; + @include border-radius(0 0 5px 5px); box-shadow: 0 4px 8px #DDDDDD; list-style: none; display: none; @@ -161,6 +161,12 @@ header{ &:last-of-type{ margin-right: 0; } + >a{ + padding: 15px 30px 15px 0; + &:only-child{ + padding-right: 0; + } + } } ul{ top: 40px; diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss index efdc01f..0ae39ad 100644 --- a/sass/parts/_syntax.scss +++ b/sass/parts/_syntax.scss @@ -48,8 +48,8 @@ figure.code{ padding: 5px 15px; margin-top: 10px; border: 1px solid #ccc; - border-radius: 5px; overflow-x: auto; + @include border-radius(5px); .line-numbers{ border-right: 1px solid #ccc; color: #000; |