mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #39551 from kerolloz/master
Use html-based edge badge instead of image
This commit is contained in:
commit
1c5d9a89a7
3 changed files with 12 additions and 4 deletions
Binary file not shown.
Before Width: | Height: | Size: 5.6 KiB |
|
@ -741,10 +741,18 @@ span.token.sh.important {
|
||||||
|
|
||||||
#edge-badge {
|
#edge-badge {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0px;
|
right: 0;
|
||||||
top: 0px;
|
top: 0;
|
||||||
z-index: 100;
|
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 */
|
/* Foundation v2.1.4 http://foundation.zurb.com */
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<body class="guide">
|
<body class="guide">
|
||||||
<% if @edge %>
|
<% if @edge %>
|
||||||
<div>
|
<div>
|
||||||
<img src="images/edge_badge.png" alt="edge-badge" id="edge-badge" />
|
<div id="edge-badge">edge</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div id="topNav">
|
<div id="topNav">
|
||||||
|
|
Loading…
Reference in a new issue