Skip to content

Commit

Permalink
Create banner.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Safouene1 authored Oct 14, 2023
1 parent 4ac1e91 commit 17156f2
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<style>
body {
margin-top: 35px;
}
.support-palestine, .support-palestine:visited {
position: absolute;
left: 0;
top: 0;
right: 0;
background: rgb(0,0,0);
display: flex;
justify-content: center;
padding-top: 5px;
padding-bottom: 5px;
z-index: 10000;
text-decoration: none;
font-family: arial;
}
.support-palestine:hover, .support-palestine:active {
background: black;
display: flex;
background: rgb(80,80,80);
text-decoration: none;
}
.support-palestine__flag {

margin-right: 10px;
}

.support-palestine__label {
color: white;
font-size: 12px;
line-height: 30px;
}
.background {
background: darkgreen;

height:30px;
}
.top {
background: black;
width:40px;
height: 10px;
z-index: 1;
}
.middle {
background: white;
width: 100%;
height: 10px;
z-index: 1;
}
.triangle {
background: auto;
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-left: 20px solid red;
z-index: 2;
position: relative;
top: -18px;
left: 0;
}
</style>
<a class="support-palestine" href="https://www.islamic-relief.org.uk/giving/appeals/palestine/" target="_blank" rel="nofollow noopener" title="Donate to support palestine">
<div class="support-palestine__flag" role="img" aria-label="Flag of palestine">
<div class="background">
<div class="top"></div>
<div class="middle"></div>
<div class="triangle"></div>
</div>
</div>
<div class="support-palestine__label">
Donate to support Palestine
</div>
</a>

0 comments on commit 17156f2

Please sign in to comment.