From 0280ba4c53020dc7e01bb1e6951a0fdb1580088c Mon Sep 17 00:00:00 2001 From: ctalkington Date: Thu, 12 Apr 2012 14:31:19 -0500 Subject: [PATCH 1/2] implement variable to control global link text-decoration prop in scaffolding. --- less/scaffolding.less | 4 ++-- less/variables.less | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/less/scaffolding.less b/less/scaffolding.less index 57c74eda074e..0f206bd6fdc3 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -21,9 +21,9 @@ body { a { color: @linkColor; - text-decoration: none; + text-decoration: @linkDecor; } a:hover { color: @linkColorHover; - text-decoration: underline; + text-decoration: @linkDecorHover; } diff --git a/less/variables.less b/less/variables.less index a9e3d4082c66..4769da1b00a3 100644 --- a/less/variables.less +++ b/less/variables.less @@ -41,6 +41,8 @@ // ------------------------- @linkColor: #08c; @linkColorHover: darken(@linkColor, 15%); +@linkDecor: none; +@linkDecorHover: underline; // Typography From 35a91bb81ded35a878b609e53838bcc129bfb524 Mon Sep 17 00:00:00 2001 From: ctalkington Date: Thu, 12 Apr 2012 14:42:12 -0500 Subject: [PATCH 2/2] update download page with new link decoration variables. --- docs/download.html | 5 +++++ docs/templates/pages/download.mustache | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/download.html b/docs/download.html index bb10bdf63dfa..c4cd23e66515 100644 --- a/docs/download.html +++ b/docs/download.html @@ -242,6 +242,11 @@

Links

+ + + + +

Colors

diff --git a/docs/templates/pages/download.mustache b/docs/templates/pages/download.mustache index e9c27588b474..ff25fae7d603 100644 --- a/docs/templates/pages/download.mustache +++ b/docs/templates/pages/download.mustache @@ -165,6 +165,11 @@ + + + + +

{{_i}}Colors{{/i}}