File tree 4 files changed +35
-14
lines changed 4 files changed +35
-14
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ code {
151
151
152
152
pre {
153
153
padding : 8px 12px ;
154
- overflow-x : scroll ;
154
+ overflow-x : auto ;
155
155
156
156
> code {
157
157
border : 0 ;
@@ -173,6 +173,8 @@ pre {
173
173
padding-right : $spacing-unit ;
174
174
padding-left : $spacing-unit ;
175
175
@extend %clearfix ;
176
+ border-radius : 5px ;
177
+ background-color : $elem-background ;
176
178
177
179
@include media-query ($on-laptop ) {
178
180
max-width : -webkit-calc (800px - (#{$spacing-unit } ));
@@ -185,6 +187,7 @@ pre {
185
187
.wide-wrapper {
186
188
max-width : -webkit-calc (1000px - (#{$spacing-unit } * 2 ));
187
189
max-width : calc (1000px - (#{$spacing-unit } * 2 ));
190
+ padding-top : 10px ;
188
191
}
189
192
190
193
Original file line number Diff line number Diff line change 8
8
9
9
// Positioning context for the mobile navigation icon
10
10
position : relative ;
11
+ background-color : $elem-background ;
11
12
}
12
13
13
14
.site-title {
93
94
*/
94
95
.site-footer {
95
96
border-top : 1px solid $grey-color-light ;
96
- padding : $spacing-unit 0 ;
97
+ padding-top : 12px ;
98
+ background-color : $elem-background ;
97
99
}
98
100
99
101
.footer-heading {
145
147
146
148
.footer-col {
147
149
float : left ;
148
- margin-bottom : $spacing-unit / 2 ;
149
150
padding-left : $spacing-unit / 2 ;
150
151
}
151
152
191
192
* Page content
192
193
*/
193
194
.page-content {
194
- padding : $spacing-unit 0 ;
195
+ padding : 10 px 0 ;
195
196
}
196
197
197
198
.page-heading {
263
264
}
264
265
}
265
266
}
267
+
268
+ .news {
269
+ background-color : #F7F5D7 ;
270
+ border-radius : 5px ;
271
+ padding : 7px ;
272
+ }
273
+
274
+ .crates {
275
+ background-color : #E6F5F9 ;
276
+ border-radius : 5px ;
277
+ padding : 7px ;
278
+ margin-bottom : 7px ;
279
+ }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ $spacing-unit: 30px;
16
16
$text-color : #111 ;
17
17
$background-color : #fdfdfd ;
18
18
$brand-color : #2a7ae2 ;
19
+ $elem-background : #f7f7f7 ;
19
20
20
21
$grey-color : #828282 ;
21
22
$grey-color-light : lighten ($grey-color , 40% );
Original file line number Diff line number Diff line change @@ -15,20 +15,23 @@ layout: wide
15
15
[ Cairo ] : http://cairographics.org/documentation/
16
16
17
17
</div >
18
-
19
18
<div class =" intro-col intro-col-2 " >
20
- <p class="page-heading"> Crates </p>
21
- {% include badges.html %}
22
- <p class="page-heading"> Announcements </p>
23
- {% for post in site.categories.front limit:3 %}
24
- <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
25
- <p>
26
- <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
27
- </p>
28
- {% endfor %}
19
+ <div class="crates">
20
+ <p class="page-heading"> Crates </p>
21
+ {% include badges.html %}
22
+ </div>
23
+ <div class="news">
24
+ <p class="page-heading"> Announcements </p>
25
+ {% for post in site.categories.front limit:3 %}
26
+ <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
27
+ <p>
28
+ <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
29
+ </p>
30
+ {% endfor %}
29
31
<p>
30
32
<a href="{{ pages.news.url | prepend: site.baseurl }}">All news</a>
31
33
</p>
34
+ </div>
32
35
</div >
33
36
</div >
34
37
You can’t perform that action at this time.
0 commit comments