static: fix icon baseline on headers

This commit is contained in:
Jens Langhammer 2020-11-22 22:57:08 +01:00
parent 551aff9455
commit eff3208ff7
5 changed files with 15 additions and 23 deletions

View File

@ -9,7 +9,7 @@
<section class="pf-c-page__main-section pf-m-light"> <section class="pf-c-page__main-section pf-m-light">
<div class="pf-c-content"> <div class="pf-c-content">
<h1> <h1>
<i class="fas fa-map-marker"></i> <i class="pf-icon pf-icon-zone"></i>
{% trans 'Outposts' %} {% trans 'Outposts' %}
</h1> </h1>
<p>{% trans "Outposts are deployments of passbook components to support different environments and protocols, like reverse proxies." %}</p> <p>{% trans "Outposts are deployments of passbook components to support different environments and protocols, like reverse proxies." %}</p>

View File

@ -7,7 +7,7 @@
<section class="pf-c-page__main-section pf-m-light"> <section class="pf-c-page__main-section pf-m-light">
<div class="pf-c-content"> <div class="pf-c-content">
<h1> <h1>
<i class="fas fa-key"></i> <i class="pf-icon pf-icon-security"></i>
{% trans 'Tokens' %} {% trans 'Tokens' %}
</h1> </h1>
<p>{% trans "Tokens are used throughout passbook for Email validation stages, Recovery keys and API access." %}</p> <p>{% trans "Tokens are used throughout passbook for Email validation stages, Recovery keys and API access." %}</p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -14,25 +14,6 @@ html {
--pf-c-nav__link--PaddingLeft: 0.5rem; --pf-c-nav__link--PaddingLeft: 0.5rem;
} }
.pb-brand {
font-family: "DIN 1451 Std";
font-size: 4em;
display: flex;
flex-direction: row;
align-items: center;
margin-right: 0.5em;
color: var(--pf-global--Color--light-200);
}
.pb-brand > a:hover {
text-decoration: none;
}
.pb-brand > img {
max-height: 68px;
margin-right: 0.5em;
}
.pf-c-background-image::before { .pf-c-background-image::before {
background-image: url("./flow_background.jpg"); background-image: url("./flow_background.jpg");
background-position: center; background-position: center;
@ -296,3 +277,14 @@ input[data-is-monospace] {
font-size: var(--pf-global--icon--FontSize--lg); font-size: var(--pf-global--icon--FontSize--lg);
text-align: center; text-align: center;
} }
.pf-c-content h1 {
display: flex;
align-items: flex-start;
}
.pf-c-content h1 i {
font-style: normal;
}
.pf-c-content h1 :first-child {
margin-right: var(--pf-global--spacer--sm);
}