From 43b3bd31b8c15473b479abc298c04e72d6bdba39 Mon Sep 17 00:00:00 2001 From: Martin Castner Date: Wed, 2 Mar 2011 03:04:18 -0500 Subject: [PATCH 1/2] Change the next page links at the bottom of each page to large arrow buttons. --- basic/index.html | 2 +- branching/index.html | 2 +- creating/index.html | 2 +- css/layout.css | 59 ++++++++++++++++++++++++++++++++++++++++++++ index.html | 2 +- remotes/index.html | 2 +- 6 files changed, 64 insertions(+), 5 deletions(-) diff --git a/basic/index.html b/basic/index.html index 4f8327b..271ca14 100644 --- a/basic/index.html +++ b/basic/index.html @@ -747,5 +747,5 @@ M hello.rb -

On to Branching and Merging »

+

On to Branching and Merging »

diff --git a/branching/index.html b/branching/index.html index 21ca658..e1eadff 100644 --- a/branching/index.html +++ b/branching/index.html @@ -775,5 +775,5 @@ ab5ab4c added erlang -

On to Sharing and Updating Projects »

+

On to Sharing and Updating Projects »

diff --git a/creating/index.html b/creating/index.html index eebacd3..5d5bf52 100644 --- a/creating/index.html +++ b/creating/index.html @@ -134,4 +134,4 @@ config index objects -

On to Basic Snapshotting »

+

On to Basic Snapshotting »

diff --git a/css/layout.css b/css/layout.css index 3d1bbe7..19cda29 100755 --- a/css/layout.css +++ b/css/layout.css @@ -123,6 +123,65 @@ a { a:hover { color:#333; } +a.page-button { + background: #e4eafa none 0 0 repeat-x; + border: solid 1px #c9172e; + color: #c9172e; + cursor: pointer; + display: inline-block; + font-weight: bold; + font-size: 12px; + line-height: 100%; + margin: 1px; + padding: 0.8em 1em; + position: relative; + text-decoration: none; + text-shadow: #fff 0 1px 0; + vertical-align: middle; + white-space: nowrap; + float:right; + background-image: -moz-linear-gradient(-90deg, + #eeeeee 1%, + #fdf6f7 5%, + #fae9eb 70%, + #f7dcdf 100%); + background-image: -webkit-gradient(linear,left top,left bottom, + color-stop(0.01, #eee), + color-stop(0.05, #fdf6f7), + color-stop(0.70, #fae9eb), + color-stop(1, #f7dcdf)); +} +a.next-page { + border-right: none; + margin-right: 26px; + padding-right: 0; +} +a.next-page:after, a.prev-page:after { + border: solid 1px #c9172e; + content: ''; + display: block; + position: absolute; + top: .37em; + width: 1.7em; + height: 1.7em; + text-shadow: none; + z-index: -1; +} +a.next-page:after { + right: -.97em; + -moz-transform: rotate(-45deg); + background-image: -moz-linear-gradient(-135deg, + #eeeeee 1%, + #fdf6f7 5%, + #fae9eb 70%, + #f7dcdf 100%); + -webkit-transform:rotate(-45deg); + background-image: -webkit-gradient(linear,100% 0%, 0% 100%, + color-stop(0.1, #eee), + color-stop(0.05, #fdf6f7), + color-stop(0.70, #fae9eb), + color-stop(1, #f7dcdf)); +} /* headings ----------------------------------------------- */ diff --git a/index.html b/index.html index 2e95c73..07449e9 100644 --- a/index.html +++ b/index.html @@ -109,4 +109,4 @@ layout: reference -

On to Getting and Creating Projects »

+

On to Getting and Creating Projects »

diff --git a/remotes/index.html b/remotes/index.html index df16b27..560709a 100644 --- a/remotes/index.html +++ b/remotes/index.html @@ -340,4 +340,4 @@ fast-forwards' section of 'git push --help' for details. -

On to Inspection and Comparison »

+

On to Inspection and Comparison »

From de6236c22dc7de5151dee73466ceaf0baea65bd8 Mon Sep 17 00:00:00 2001 From: Martin Castner Date: Wed, 2 Mar 2011 03:14:04 -0500 Subject: [PATCH 2/2] Fixed typo in CSS for webkit-gradient on the arrow tip --- css/layout.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/layout.css b/css/layout.css index 19cda29..1c324ab 100755 --- a/css/layout.css +++ b/css/layout.css @@ -177,7 +177,7 @@ a.next-page:after { #f7dcdf 100%); -webkit-transform:rotate(-45deg); background-image: -webkit-gradient(linear,100% 0%, 0% 100%, - color-stop(0.1, #eee), + color-stop(0.01, #eee), color-stop(0.05, #fdf6f7), color-stop(0.70, #fae9eb), color-stop(1, #f7dcdf));