Merge pull request 'service_badge' (#31) from service_badge into master
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
commit
96402d30d8
|
@ -672,6 +672,25 @@ ul#nav li a:hover .ul#nav li ul {
|
||||||
border-color: #50162D;
|
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
|
/* clients
|
||||||
------------------------------------*/
|
------------------------------------*/
|
||||||
|
|
|
@ -11,10 +11,12 @@
|
||||||
|
|
||||||
<a href="{{ item.link }}">
|
<a href="{{ item.link }}">
|
||||||
<h2>{{ item.title }}</h2>
|
<h2>{{ item.title }}</h2>
|
||||||
<p class="service">
|
<p class="service">
|
||||||
{{ item.text }}
|
{{ item.text }}
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
|
<div class="service-badge">{{ item.badge }}</div>
|
||||||
|
|
||||||
<a href="{{ item.button }}" class="service-btn">{{ item.buttontext }}</a>
|
<a href="{{ item.button }}" class="service-btn">{{ item.buttontext }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue