Updated forum headers, closes #143.
This commit is contained in:
parent
546f040490
commit
c60faa9607
2 changed files with 16 additions and 6 deletions
|
@ -1,19 +1,23 @@
|
||||||
.forum__header {
|
.forum__header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-end;
|
align-items: flex-start;
|
||||||
padding: 10px 15px;
|
padding: 8px 10px;
|
||||||
margin: 2px 0;
|
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
padding: 0 5px;
|
||||||
|
|
||||||
&[href]:hover {
|
&[href]:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--fill {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__input {
|
&__input {
|
||||||
|
@ -31,11 +35,13 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__breadcrumb {
|
&__breadcrumb {
|
||||||
color: var(--accent-colour);
|
color: var(--accent-colour);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
padding: 2px 5px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
@ -43,7 +49,7 @@
|
||||||
|
|
||||||
&__separator {
|
&__separator {
|
||||||
color: var(--accent-colour);
|
color: var(--accent-colour);
|
||||||
margin: 0 8px;
|
margin: 0 4px;
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,14 +59,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__action {
|
&__action {
|
||||||
margin-right: 10px;
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: color .2s;
|
transition: color .2s;
|
||||||
|
padding: 2px 5px;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: var(--accent-colour);
|
color: var(--accent-colour);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:not(:last-child) {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="forum__header__title">
|
<div class="forum__header__title forum__header__title--fill">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue