Skip to content

Commit 245fa3e

Browse files
CSS & content tweaks
1 parent 60486f1 commit 245fa3e

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ navigation:
2828
- url: "http://www.amazon.com/gp/product/0134216148/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0134216148&linkCode=as2&tag=easydesign-20&linkId=7EDENIS3P4XL7LIT"
2929
title: Buy from Amazon
3030
- url: "http://www.anrdoezrs.net/links/7941166/type/dlg/http://www.barnesandnoble.com/w/adaptive-web-design-aaron-gustafson/1102101792?ean=9780134216140"
31-
title: 'Buy from <abbr aria-label="Barnes &amp; Noble">B&amp;N</abbr>'
31+
title: 'Buy from Barnes &amp; Noble'
3232
- url: "http://click.linksynergy.com/link?id=ksYXFf8a/VY&amp;offerid=145244.2319719&amp;type=2&amp;murl=http%3A%2F%2Fwww.peachpit.com%2Ftitle%2F9780134216140"
3333
title: Buy from New Riders
3434
- url: /2nd-edition/read/foreword.html

_sass/components/_buttons.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,16 @@
2424
border-width: 0;
2525
border-radius: 3px;
2626
display: inline-block;
27-
@include rem( padding, 10 40 );
27+
@include rem( padding, 10 20 );
2828
@include rem( margin, 0 0 $default-spacing/2 );
2929

3030
cursor: pointer;
3131

3232
transition: background $default-transition, color $default-transition;
3333
transform: translate3d(0,0,0);
34+
35+
position: relative;
36+
z-index: 3;
3437

3538
&:link,
3639
&:visited {

_sass/pages/_home.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@
4949

5050
float: right;
5151
position: relative;
52+
z-index: 1;
5253

5354
}
5455

5556
.layout-container__primary {
5657

5758
position: relative;
58-
z-index: 1;
59+
z-index: 2;
5960

6061
.book__cover {
6162
transform: rotate(-5deg);
@@ -73,8 +74,6 @@
7374

7475
.info-panel {
7576
max-width: 275px;
76-
position: relative;
77-
z-index: 1;
7877
}
7978
.layout-container__secondary .info-panel {
8079
text-align: right;

0 commit comments

Comments
 (0)