From 482f0b99790c351519d34eeee06376d1de64f4e6 Mon Sep 17 00:00:00 2001 From: Robert Lord Date: Wed, 5 Nov 2014 20:56:19 -0600 Subject: [PATCH 1/3] Update language tabs to recalc toc heights on change --- source/javascripts/app/lang.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/javascripts/app/lang.js b/source/javascripts/app/lang.js index 3f5e438adcd..835279eec88 100644 --- a/source/javascripts/app/lang.js +++ b/source/javascripts/app/lang.js @@ -30,6 +30,8 @@ under the License. } $(".highlight." + language).parent().show(); + global.toc.calculateHeights(); + // scroll to the new location of the position $(window.location.hash).get(0).scrollIntoView(true); } From 2828342821c4a2999c32a835b025715ec39b5c0b Mon Sep 17 00:00:00 2001 From: Derek Myers Date: Wed, 12 Nov 2014 14:14:20 -0600 Subject: [PATCH 2/3] Changed text shadows to use mixin --- source/stylesheets/screen.css.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/stylesheets/screen.css.scss b/source/stylesheets/screen.css.scss index f9fd16e46b6..6880e1b4143 100644 --- a/source/stylesheets/screen.css.scss +++ b/source/stylesheets/screen.css.scss @@ -483,7 +483,7 @@ html, body { aside { padding-top: 1em; padding-bottom: 1em; - text-shadow: 0 1px 0 lighten($aside-notice-bg, 15%); + @include text-shadow(0 1px 0 lighten($aside-notice-bg, 15%)); margin-top: 1.5em; margin-bottom: 1.5em; background: $aside-notice-bg; @@ -491,12 +491,12 @@ html, body { &.warning { background-color: $aside-warning-bg; - text-shadow: 0 1px 0 lighten($aside-warning-bg, 15%); + @include text-shadow(0 1px 0 lighten($aside-warning-bg, 15%)); } &.success { background-color: $aside-success-bg; - text-shadow: 0 1px 0 lighten($aside-success-bg, 15%); + @include text-shadow(0 1px 0 lighten($aside-success-bg, 15%)); } } @@ -523,7 +523,7 @@ html, body { margin: -2px; border-radius: 4px; border: 1px solid #F7E633; - text-shadow: 1px 1px 0 #666; + @include text-shadow(1px 1px 0 #666); @include background(linear-gradient(bottom right, #F7E633 0%, #F1D32F 100%)); } } From 14a9aac0fc7f46588497166bcbacfdc37e535c0b Mon Sep 17 00:00:00 2001 From: Robert Lord Date: Thu, 13 Nov 2014 21:28:00 -0600 Subject: [PATCH 3/3] Clarify auto-update info in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ca6753e4b3e..53c3e149cf1 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ You're going to need: 4. Install all dependencies: `bundle install` 5. Start the test server: `bundle exec middleman server` -You can now see the docs at . And as you edit `source/index.md`, your server should automatically update! Whoa! That was fast! +You can now see the docs at . Whoa! That was fast! Now that Slate is all set up your machine, you'll probably want to learn more about [editing Slate markdown](https://github.com/tripit/slate/wiki/Markdown-Syntax), or [how to publish your docs](https://github.com/tripit/slate/wiki/Deploying-Slate).