From 99f70b2ffdf96de59a3aa817666b20a038b1ec42 Mon Sep 17 00:00:00 2001 From: Levi McCallum Date: Tue, 18 Apr 2017 11:41:26 -0700 Subject: [PATCH 1/3] Add announcement banner to documentation site --- docs/_includes/header.html | 63 ++++++++++++++++++++++++++++---------- 1 file changed, 47 insertions(+), 16 deletions(-) diff --git a/docs/_includes/header.html b/docs/_includes/header.html index e4b7cffe3..de5eccb95 100755 --- a/docs/_includes/header.html +++ b/docs/_includes/header.html @@ -7,22 +7,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -39,6 +39,37 @@ {% endif %} + +
+
+

AsyncDisplayKit is now Texture! LEARN MORE

+
+
+

Texture

From d3267f350e3e19115181f311463120b615ae1d78 Mon Sep 17 00:00:00 2001 From: Levi McCallum Date: Tue, 18 Apr 2017 11:46:02 -0700 Subject: [PATCH 2/3] Move css to the file --- docs/static/main.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/static/main.css b/docs/static/main.css index 0c9ea8f60..164791867 100755 --- a/docs/static/main.css +++ b/docs/static/main.css @@ -529,3 +529,35 @@ footer { footer p { text-align: center; } + +/** Banner */ +.texture-banner { + padding: 20px 0 20px 0; + width: 100%; + background-color: #0e1e28; + box-shadow: inset 0 -2px 20px 0 rgba(0,0,0,0.5); + text-align: center; +} + +.texture-banner .announcement { + font-stretch: normal; + font-size: 16px; + line-height: 1.75; + letter-spacing: 0.1px; + text-align: center; + color: #d7e2e9; + font-weight: bold; + margin: 0; +} + +.texture-banner .learn-more-link { + font-size: 12px; + font-weight: bold; + font-style: normal; + font-stretch: normal; + line-height: 1.17; + letter-spacing: 0.5px; + color: #0484f2; + margin-left: 10px; +} + From 23e10d9cdb98c00cf3647241608720867c17ccbc Mon Sep 17 00:00:00 2001 From: Levi McCallum Date: Tue, 18 Apr 2017 11:46:34 -0700 Subject: [PATCH 3/3] Remove css from inline --- docs/_includes/header.html | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/docs/_includes/header.html b/docs/_includes/header.html index de5eccb95..fdd7aa693 100755 --- a/docs/_includes/header.html +++ b/docs/_includes/header.html @@ -39,37 +39,11 @@ {% endif %} - -
-
-

AsyncDisplayKit is now Texture! LEARN MORE

-
+
+
+

AsyncDisplayKit is now Texture! LEARN MORE

- +

Texture