Merge pull request 'service_badge' (#31) from service_badge into master

Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
Fede.- 2020-03-28 21:37:05 +00:00
commit 96402d30d8
2 changed files with 22 additions and 1 deletions

View File

@ -672,6 +672,25 @@ ul#nav li a:hover .ul#nav li ul {
border-color: #50162D;
}
.service-badge {
position: relative;
width: 120px;
top: -210px;
right: -180px;
font: 14px/40px Helvetica, Arial, sans-serif;
color: white;
text-align: center;
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.3);
text-indent: -1px;
letter-spacing: -1px;
background: #8eb726;
border-radius: 10px;
padding: 0 10px;
-webkit-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
transform: rotate(40deg);
z-index: 99;
}
/* clients
------------------------------------*/

View File

@ -11,10 +11,12 @@
<a href="{{ item.link }}">
<h2>{{ item.title }}</h2>
<p class="service">
<p class="service">
{{ item.text }}
</p>
</a>
<div class="service-badge">{{ item.badge }}</div>
<a href="{{ item.button }}" class="service-btn">{{ item.buttontext }}</a>
</div>
</div>