From 0472343a327627b94e28175221957ae4b4a00ec3 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 3 Jan 2018 11:13:06 +0100 Subject: [PATCH 001/144] Add close button to draft warning --- second-edition/theme/index.hbs | 47 ++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/second-edition/theme/index.hbs b/second-edition/theme/index.hbs index bc6f789024..7c3e0fe32b 100644 --- a/second-edition/theme/index.hbs +++ b/second-edition/theme/index.hbs @@ -33,7 +33,10 @@ top: 120px; } - p.warning { + .warning { + display: flex; + justify-content: space-between; + align-items: center; background-color: rgb(242, 222, 222); border-bottom-color: rgb(238, 211, 215); border-bottom-left-radius: 4px; @@ -63,15 +66,28 @@ margin-top: 30px; padding-bottom: 8px; padding-left: 14px; - padding-right: 35px; + padding-right: 14px; padding-top: 8px; } - p.warning strong { + .warning strong { color: rgb(185, 74, 72) } - p.warning a { + .warning a { color: rgb(0, 136, 204) } + .warning .message { + margin-right: 14px; + } + .warning .message:last-child { + margin-right: 21px; + } + .warning .button { + border: none; + background: none; + color: inherit; + cursor: pointer; + font-size: 14px; + } a .hljs { color: #4183c4; @@ -145,7 +161,28 @@
-

You are reading a draft of the next edition of TRPL. For more, go here.

+
+
+ You are reading a draft of the next edition of TRPL. For more, go here. + +
+ + +