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?" %} {% trans "Forgot password?" %}
</a> </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" <a class="w-100 btn btn-lg btn-outline-success"
type="submit" type="submit"

View file

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