From d0d1313b4abed3a2a0a0e50f4b1d60793bfa6229 Mon Sep 17 00:00:00 2001 From: Cody Clark Date: Fri, 4 Aug 2017 14:54:22 -0700 Subject: [PATCH 1/3] Update callouts.css --- css/callouts.css | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/css/callouts.css b/css/callouts.css index f3f34bbaee..d6a39e80ab 100644 --- a/css/callouts.css +++ b/css/callouts.css @@ -1,3 +1,4 @@ +/* Callouts */ .caution, .note, .warning { padding: 20px; margin: 20px 0; @@ -17,3 +18,53 @@ .warning { border-left-color: #d9534f; } + +/* Feature States */ + +.beta, .stable, .alpha, .deprecated { + margin-top: 20px; + padding: 15px; + background-color: #fafafa; + border: 1px solid transparent; + border-radius:4px; +} + +.beta::before, .stable::before, .alpha::before, .deprecated::before { + font-weight: bold; +} + +.beta { + color: #31708f; + border-color: #bce8f1; +} + +.beta::before { + content: "Feature State: Beta"; +} + +.stable { + color: #3c763d; + border-color: #d6e9c6; +} + +.stable::before { + content: "Feature State: Stable"; +} + +.alpha { + color: #8a6d3b; + border-color: #faebcc; +} + +.alpha::before { + content: "Feature State: Alpha"; +} + +.deprecated { + color: #a94442; + border-color: #ebccd1; +} + +.deprecated::before { + content: "⛔ Feature State: Deprecated"; +} From 8c2c2ef91e603d69a76e17378c78e9601f0d292f Mon Sep 17 00:00:00 2001 From: Cody Clark Date: Fri, 4 Aug 2017 15:31:16 -0700 Subject: [PATCH 2/3] Update callouts.css --- css/callouts.css | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/css/callouts.css b/css/callouts.css index d6a39e80ab..22f73d0802 100644 --- a/css/callouts.css +++ b/css/callouts.css @@ -29,42 +29,23 @@ border-radius:4px; } -.beta::before, .stable::before, .alpha::before, .deprecated::before { - font-weight: bold; -} - .beta { color: #31708f; border-color: #bce8f1; } -.beta::before { - content: "Feature State: Beta"; -} .stable { color: #3c763d; border-color: #d6e9c6; } -.stable::before { - content: "Feature State: Stable"; -} - .alpha { color: #8a6d3b; border-color: #faebcc; } -.alpha::before { - content: "Feature State: Alpha"; -} - .deprecated { color: #a94442; border-color: #ebccd1; } - -.deprecated::before { - content: "⛔ Feature State: Deprecated"; -} From 414f61b2ea24c57ab892725f714c50b87a2e5081 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Fri, 4 Aug 2017 15:59:07 -0700 Subject: [PATCH 3/3] include _headers (#4636) --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index fff0133fe9..f6071aef08 100644 --- a/_config.yml +++ b/_config.yml @@ -39,7 +39,7 @@ gems: # disabled gems # - jekyll-redirect-from -include: [_redirects] +include: [_redirects,_headers] # SEO logo: /images/favicon.png