Skip to content

Commit

Permalink
Adjust border colors and radius
Browse files Browse the repository at this point in the history
  • Loading branch information
georgyangelov committed Sep 20, 2016
1 parent cfd1bb1 commit 113aaf5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
12 changes: 11 additions & 1 deletion app/assets/stylesheets/_contribution.scss
@@ -1,4 +1,6 @@
@mixin contribution {
border-radius: 5px;

& { margin: 5px 0; overflow: hidden; padding: 20px; }
&:nth-child(even) { background-color: $gray; }
&.starred { background-color: #fffdd0; }
Expand All @@ -8,11 +10,19 @@

.body { @include content; margin-right: 200px; }

.published-at { border-top: 1px dotted gray; color: #666; font-size: $font-small; margin-right: 200px; padding-top: 5px; }
.published-at {
margin-right: 200px;
padding-top: 5px;
border-top: 1px solid $light-border;

color: #666;
font-size: $font-small;
}

a.permalink {
color: #666;
text-decoration: none;

&:hover { color: $color-link; }
}

Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/_forms.scss
Expand Up @@ -9,8 +9,8 @@
.boolean label { display: inline; }

input.string,
input.password { border: 1px solid $light-border; font-size: $font-large; padding: 5px; margin: 2px 0; }
textarea { border: 1px solid $light-border; font-size: $font-normal; padding: 5px; margin: 2px 0; width: 600px; height: 200px; }
input.password { border: 1px solid $dark-border; font-size: $font-large; padding: 5px; margin: 2px 0; }
textarea { border: 1px solid $dark-border; font-size: $font-normal; padding: 5px; margin: 2px 0; width: 600px; height: 200px; }

input.string,
input.string,
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/_tasks.scss
Expand Up @@ -43,7 +43,7 @@ table.solutions {

.results { @include test-results; }

article.revision { border: 1px dotted $light-border; padding: 2em; margin: 2em 0; }
article.revision { border: 1px solid $light-border; border-radius: 4px; padding: 2em; margin: 2em 0; }
article.revision h3 { margin: 0 0 2em; }
article.comment { @include contribution; }
article.comment:first-of-type { margin-top: 1em; }
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/_variables.scss
Expand Up @@ -22,8 +22,8 @@ $orange: orange;

$main-color: $red;
$menu-color: $main-color;
$light-border: #c4cccc;
$dark-border: darken(white, 20%);
$light-border: lighten(#c4cccc, 10%);
$dark-border: #c4cccc;
$button-color: $gray;
$title-color: lighten(black, 10%);
$subtitle-color: $main-color;
Expand Down

0 comments on commit 113aaf5

Please sign in to comment.