Skip to content

Commit

Permalink
for the beta thingie
Browse files Browse the repository at this point in the history
  • Loading branch information
HermanKopinga authored May 15, 2024
1 parent edf8991 commit c2e4b15
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions _includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<style>
.beta-badge {
position: absolute;
left: -7px;
top: 19px;
background-color: #ec4949;
-webkit-transform: rotate(-45deg) scale(1) skew(0deg) translate(10px);
-moz-transform: rotate(-45deg) scale(1) skew(0deg) translate(10px);
-o-transform: rotate(-45deg) scale(1) skew(0deg) translate(10px);
-ms-transform: rotate(-45deg) scale(1) skew(0deg) translate(10px);
transform: rotate(-45deg) scale(1) skew(0deg) translate(10px);
text-align: center;
color: white;
padding: 0 .5em;
border-top: 0px;
line-height: 24px;
margin: 0;
font-size: 14px;
border: 0px
}
.beta-badge:after {
content: ' ';
position: absolute;
right: -24px;
top: 0px;
border-right: 25px solid transparent;
border-bottom: 24px solid #ec4949;
}
.beta-badge:before {
content: ' ';
position: absolute;
left: -24px;
top: 0px;
border-left: 25px solid transparent;
border-bottom: 24px solid #ec4949;
}

</style>

0 comments on commit c2e4b15

Please sign in to comment.