Skip to content

Commit 87f4909

Browse files
author
Maya Kokits
authored
Merge pull request #2 from moreonion/letter-fix
Fix for .letter class
2 parents 33087c7 + 1d35759 commit 87f4909

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

css/mixins.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@
7878
box-shadow: @arguments inset;
7979
}
8080

81+
.boxshadow (none) {
82+
-webkit-box-shadow: none;
83+
-moz-box-shadow: none;
84+
box-shadow: none;
85+
}
86+
8187
.textshadow (@color: #000000, @x: 1px, @y: 1px, @blur: 0px) {
8288
text-shadow: @color @x @y @blur;
8389
}

css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4044,6 +4044,8 @@ ul.recent-supporters li .comment {
40444044
}
40454045
/* letter styling (optional class) */
40464046
.letter {
4047+
padding: 1.5em 5% 0;
4048+
margin-bottom: 1.5em;
40474049
border: 1px solid #e9e8e6;
40484050
-webkit-box-shadow: 0 2px 3px #dddcd8;
40494051
-moz-box-shadow: 0 2px 3px #dddcd8;

css/style.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,8 @@ ul.recent-supporters {
819819
/* letter styling (optional class) */
820820

821821
.letter {
822+
padding: @oneline 5% 0;
823+
margin-bottom: @oneline;
822824
border: 1px solid lighten(@background_grey_border, 5%);
823825
.boxshadow(0, 2px, 3px, @background_grey_border);
824826
}

0 commit comments

Comments
 (0)