1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-03 13:23:06 +02:00

[ticket/17459] Extend usage of css variables

PHPBB-17459
This commit is contained in:
Marc Alexander
2024-11-04 17:36:29 +01:00
parent d32970348f
commit 79fc90dce3
4 changed files with 50 additions and 51 deletions

View File

@@ -69,7 +69,7 @@ a.forumtitle,
a.topictitle,
span.topictitle {
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
font-size: 16px;
font-size: var(--ps-font-normal);
text-decoration: none;
}
@@ -151,24 +151,24 @@ a.lastsubject:hover {
}
.top {
font-size: 14px;
font-size: var(--ps-font-small);
text-decoration: none;
margin-top: 12px;
margin-top: calc(var(--ps-font-small) - 2px);
}
.to-top-button {
position: fixed;
right: 24px;
bottom: 24px;
inline-size: 48px;
block-size: 48px;
border-radius: 50%;
position: fixed;
right: var(--ps-line-height);
bottom: var(--ps-line-height);
display: none;
block-size: calc(var(--ps-line-height) * 2);
inline-size: calc(var(--ps-line-height) * 2);
}
.to-top-button .o-icon {
font-size: 32px;
padding: 8px;
font-size: calc(var(--ps-font-normal) * 2);
padding: calc(var(--ps-font-normal) / 2);
}
/* Back to top of page */