Minor detail.

This commit is contained in:
Víðir Valberg Guðmundsson 2022-11-25 00:16:32 +01:00
parent b9f77251f1
commit e6661c1b5a
2 changed files with 14 additions and 7 deletions

View file

@ -45,7 +45,9 @@
{% trans "Forgot password?" %}
</a>
<hr class="hr-text" data-content="{% trans "Or"|upper %}">
<div class="hr-text">
<span>{% trans "Or"|upper %}</span>
</div>
<a class="w-100 btn btn-lg btn-outline-success"
type="submit"

View file

@ -51,12 +51,17 @@
z-index: 2;
}
.hr-text:after {
content: attr(data-content);
padding: 0 4px;
position: relative;
top: -13px;
background-color: #a8f3f4;
.hr-text {
width: 100%;
text-align: center;
border-bottom: 1px solid #000;
line-height: 0.1em;
margin: 20px 0 20px;
}
.hr-text span {
background: #a8f3f4;
padding: 0 10px;
}
</style>