roundabout,
created on Thursday, 11 July 2024, 13:07:36 (1720703256),
received on Wednesday, 31 July 2024, 06:54:50 (1722408890)
Author identity: vlad <vlad.muntoiu@gmail.com>
abf2f95e0fd91f9d0cf0bb6a72d5e87725706c55
static/efficient-ui/THEME.css
@@ -525,6 +525,23 @@
--color-modal-backdrop: radial-gradient(circle, #00000040 12.5%, #000000cc 100%);
}
/* Make headings smaller */
@media screen and (max-width: 576px) {
h2 {
font-size: 25.5px;
line-height: 28px;
}
h1 {
font-size: 33px;
line-height: 36px;
}
h1.headline {
font-size: 39px;
line-height: 44px;
font-weight: 300;
}
}
/* Extra styles */
h6 {
@@ -836,4 +853,4 @@ x-notebook > label:has(input[type="radio"]:checked) {
x-notebook > label:has(input[type="radio"]) {
transition: box-shadow 125ms ease;
}
}
static/style.css
@@ -205,7 +205,7 @@ dd {
justify-content: center;
}
@media screen and (min-width: 481px) {
@media screen and (min-width: 577px) {
#sidenav-trigger {
display: none;
}
@@ -214,7 +214,7 @@ dd {
}
}
@media screen and (max-width: 480px) {
@media screen and (max-width: 576px) {
#main-nav-links-desktop {
display: none;
}
@@ -621,3 +621,15 @@ strong, em {
small {
font-size: 1em; /* more like LARGE :D, <small> has another semantic meaning which remains valid */
}
#profile-avatar {
width: 128px;
height: 128px;
}
@media screen and (max-width: 640px) {
#profile-avatar {
width: 96px;
height: 96px;
}
}
templates/user-profile-overview.html
@@ -5,7 +5,7 @@
<x-frame style="--width: 768px; --padding: 1em;">
<x-vbox>
<x-hbox style="align-items: center;">
<img src="/info/{{ user.username }}/avatar" class="avatar" style="width: 128px; height: 128px;">
<img src="/info/{{ user.username }}/avatar" class="avatar" id="profile-avatar">
<x-vbox class="nopad">
{% if user.display_name and user.display_name != user.username %}