Fix .header-account used wrongly
Obviously confused by my own code
This commit is contained in:
parent
706f3f0cc8
commit
030728bc93
6 changed files with 17 additions and 14 deletions
21
src/app.css
21
src/app.css
|
@ -126,6 +126,16 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
transition: transform 0.5s ease-in-out;
|
transition: transform 0.5s ease-in-out;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
|
.header-double-lines {
|
||||||
|
font-size: 90% !important;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
div {
|
||||||
|
font-weight: normal;
|
||||||
|
color: var(--text-insignificant-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.deck > header[hidden] {
|
.deck > header[hidden] {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -1965,20 +1975,13 @@ meter.donut[hidden] {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-account {
|
@supports (animation-timeline: scroll()) {
|
||||||
font-size: 90% !important;
|
.header-account {
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
@supports (animation-timeline: scroll()) {
|
|
||||||
animation: peekaboo-header 1s linear both;
|
animation: peekaboo-header 1s linear both;
|
||||||
animation-timeline: scroll();
|
animation-timeline: scroll();
|
||||||
animation-range: 0 150px;
|
animation-range: 0 150px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.header-account div {
|
|
||||||
font-weight: normal;
|
|
||||||
color: var(--text-insignificant-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* LINK LISTS? */
|
/* LINK LISTS? */
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ body.cloak,
|
||||||
.status .content-compact,
|
.status .content-compact,
|
||||||
.account-container :is(header, main > *:not(.actions)),
|
.account-container :is(header, main > *:not(.actions)),
|
||||||
.account-container :is(header, main > *:not(.actions)) *,
|
.account-container :is(header, main > *:not(.actions)) *,
|
||||||
.header-account,
|
.header-double-lines,
|
||||||
.account-block {
|
.account-block {
|
||||||
text-decoration-thickness: 1.1em;
|
text-decoration-thickness: 1.1em;
|
||||||
text-decoration-line: line-through;
|
text-decoration-line: line-through;
|
||||||
|
|
|
@ -446,7 +446,7 @@ function AccountStatuses() {
|
||||||
title={`${account?.acct ? '@' + account.acct : 'Posts'}`}
|
title={`${account?.acct ? '@' + account.acct : 'Posts'}`}
|
||||||
titleComponent={
|
titleComponent={
|
||||||
<h1
|
<h1
|
||||||
class="header-account"
|
class="header-double-lines header-account"
|
||||||
// onClick={() => {
|
// onClick={() => {
|
||||||
// states.showAccount = {
|
// states.showAccount = {
|
||||||
// account,
|
// account,
|
||||||
|
|
|
@ -135,7 +135,7 @@ function Hashtags({ media: mediaView, columnMode, ...props }) {
|
||||||
title={title}
|
title={title}
|
||||||
titleComponent={
|
titleComponent={
|
||||||
!!instance && (
|
!!instance && (
|
||||||
<h1 class="header-account">
|
<h1 class="header-double-lines">
|
||||||
<b>{hashtagTitle}</b>
|
<b>{hashtagTitle}</b>
|
||||||
<div>{instance}</div>
|
<div>{instance}</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
@ -77,7 +77,7 @@ function Public({ local, columnMode, ...props }) {
|
||||||
key={instance + isLocal}
|
key={instance + isLocal}
|
||||||
title={title}
|
title={title}
|
||||||
titleComponent={
|
titleComponent={
|
||||||
<h1 class="header-account">
|
<h1 class="header-double-lines">
|
||||||
<b>{isLocal ? 'Local timeline' : 'Federated timeline'}</b>
|
<b>{isLocal ? 'Local timeline' : 'Federated timeline'}</b>
|
||||||
<div>{instance}</div>
|
<div>{instance}</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
@ -242,7 +242,7 @@ function Trending({ columnMode, ...props }) {
|
||||||
key={instance}
|
key={instance}
|
||||||
title={title}
|
title={title}
|
||||||
titleComponent={
|
titleComponent={
|
||||||
<h1 class="header-account">
|
<h1 class="header-double-lines">
|
||||||
<b>Trending</b>
|
<b>Trending</b>
|
||||||
<div>{instance}</div>
|
<div>{instance}</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
Loading…
Add table
Reference in a new issue