Merge pull request #39551 from kerolloz/master

Use html-based edge badge instead of image
This commit is contained in:
Xavier Noria 2020-06-13 22:37:35 +02:00 committed by GitHub
commit 1c5d9a89a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -741,10 +741,18 @@ span.token.sh.important {
#edge-badge {
position: fixed;
right: 0px;
top: 0px;
right: 0;
top: 0;
z-index: 100;
border: none;
color: white;
font-size: 30px;
transform: rotate(45deg) translate(27.5%, -40%);
min-width: 200px;
font-weight: bold;
font-style: italic;
box-shadow: 0px 2px 2px 1px #1209096e;
text-shadow: 2px 2px 4px #5400007d;
background: radial-gradient(circle, rgb(255, 10, 0) 0%, rgb(200, 0, 0) 90%);
}
/* Foundation v2.1.4 http://foundation.zurb.com */

View File

@ -24,7 +24,7 @@
<body class="guide">
<% if @edge %>
<div>
<img src="images/edge_badge.png" alt="edge-badge" id="edge-badge" />
<div id="edge-badge">edge</div>
</div>
<% end %>
<div id="topNav">