rolle, (edited ) to opensource
@rolle@mementomori.social avatar

Some people say they don't want to join the Fediverse or Mastodon, because they think the UI sucks. As a front end developer, a designer-kind of a person who creates user interfaces, I agree. Most of the web clients on the Fedi are horrendous, even Mastodon by default. There's lots of room for improvement.

We should really focus on how to make it more pleasing to the eye, more modern and more pleasant. This should not be a nerd network, just for geeks to geek out. This is not IRC or BBS.

As long as Mastodon for instance looks like it's designed by a back end engineer, contains font-awesome icons, looks like 2010, and stuff like that, being open and free is not good reason enough for many. I'm not bashing it, Mastodon is not the worst out there, in fact in my honest opinion Mastodon user experience is far better than Akkoma or Calckey for example. It's also more accessible than many modern UIs, for example my visual impaired wife prefers the Vanilla Mastodon UI over my modifications, she has some small tiny improvements of her own like distinguishing the colors in the action buttons as they have no proper contrast in any of the default themes. But that's it. She likes it as it is. So it cannot be that bad. However, it could be better overall.

doesn't mean the product should look like it's created in a basement by a math teacher. For some people Mastodon UX is sufficient (it even is for me, I like it enough and it doesn't prevent me from using it), but it should be WORLD CLASS. I don't say the answer is but it should be something much more modern and minimal than the current default UI. Pixelfed's developer is a designer oriented, Pixelfed is indeed an example of an awesome Fediverse app experience throughout the web and apps. That is how it should be.

Just my 2 cents.

skwee357, to CSS
@skwee357@mstdn.social avatar

People who complain about Tailwind. I dare you to show me how you handle responsive design and dark mode.

Tailwind is not just fancy class names for css styles.

ppk, to CSS
@ppk@front-end.social avatar

Aarghh! law: Thou shalt never use !important, except in very specific cases:

  1. To find out if you have a specificity problem you can temporarily add !important to a declaration. If it's now applied, you know you have a specificity problem

  2. .... the one I forgot. I posted this same question a while ago, and someone came up with a second legitimate use case for !important, but what was it?

Help!

rolle, to mastodon
@rolle@mementomori.social avatar

Fedi on Fire first beta is now released! I just had to try and do it... Watch those endless Fediverse posts flow! :meow_hearteyes: Check it out at https://fedionfire.stream

Gif animation of endless posts on the fediverse, scrolling fast.

Luke, (edited ) to random
@Luke@typo.social avatar

Anyone know of a code editing environment that live updates the preview based off of the you're currently typing? No 'save' action needed?

CSSEdit / Espresso is too old.
• Mac, please
• PHP pages

sarajw, (edited ) to random
@sarajw@front-end.social avatar

Anyone interested in how I built up https://sarajoy.dev ?

Particularly the visual effect of the scrolling/sliding tabs.

I want to and open it up to questions. It will take me a while, and I feel happier having something out there sooner rather than later - but who knows if it'll help me get it done :)

I'm nervous, because I'm not sure the site as a whole is as accessible as it should be!

Here is the work in progress:
https://sarajoy.dev/blog/scrolling-tabs/

Edent, to webdev
@Edent@mastodon.social avatar

Hey, nerds, how do I align variable length lines so one word is in the same horizontal position?

Eg.

 Try RICE today  
Delicious RICE cooked here  
 Got RICE?  
 RICE is nice!  

I want the RICE to be aligned.

Would be easy with a monospace font, but I need to use variable width.

Any clever thoughts?

rolle, to opensource
@rolle@mementomori.social avatar

Mastodon Bird UI 1.7.5 is now released! :neon_skull:

This release adds support for Mastodon 4.2.0.

Changelog:

  • Recognize mispelled GitHub and add an icon
  • Recognize empty field and remove pipe
  • Hover effect missing in menus, Fixes (Thanks @Roboron3042!)
  • Profile view on mobile leaves kebab menu out when the localized "Unfollow" label is longer, Fixes (Thanks @ikke!)
  • Support for Mastodon 4.2.0

Release and the most notable changes with screenshots: https://github.com/ronilaukkarinen/mastodon-bird-ui/releases/tag/1.7.5

Live demo (single column layout only): https://mementomori.social

Source code and installation instructions: https://github.com/ronilaukkarinen/mastodon-bird-ui

schizanon, (edited ) to webdev
@schizanon@mas.to avatar

If there was an element that changes it's content when users interact with other elements on the page, what name would it have?

PLEASE NOTE: I am not suggesting that this element needs to exist; I am only asking what it would be called. I'm building a CustomElement, I just want it to have a name that makes sense.

Vote and suggest others in replies. Please boost for reach!

phranck, to CSS German
@phranck@chaos.social avatar

Hat hier jemand Ahnung von ? Weil, ich bin zu bloed dafuer... 🙄

Ich baue mir mit grad was Neues, und hab da schon etwas dran herumgefingert, aber es will nicht so, wie ich das will.

Originalzustand ist, dass die beiden Haelften gleich breit sind. Ausser auf Mobile-Devices, da gibt es nur eine Spalte.

Ich will aber, dass die bei breitem Viewport immer 35%/65% haben.

Wie geht dem?
Zu Hülf... 🙏

https://layered.work

tournesol, to webdev
@tournesol@peculiar.florist avatar

Je suis assez fan du rendu, même si c’est pas parfait, ça fonctionne et ça me satisfait.

Je suis particulièrement fier la façon dont le site change de disposition en fonction de la taille de l’écran ​:meow_puffy_melt:​

J’ai encore pleins de choses à apprendre sur tout pour optimiser le site mais ça reste vachement cool

Site tournesol.me sur écran moyen. La biographie est au sommet et le reste des cartes est empilé sur plusieurs 2 colonnes
Site tournesol.me sur écran de portable. La biographie est au sommet et le reste des cartes est empilé sur une seule colonne

bramus, to CSS
@bramus@front-end.social avatar

Have you heard about @scope?

It’s an upcoming way to scope the reach of your CSS selectors, allowing you to move away from methodologies such as BEM because you no longer need to name those in-between elements.

It’s coming to Chrome 118, so let’s take a look …

ppk, to webdev
@ppk@front-end.social avatar

Do you have a favourite non-obvious use of #css #grid? I'm looking for nice examples for my Grid chapter that will expand beyond "here's how you make a responsive four-column grid"

miunau, (edited ) to CSS
@miunau@meow.social avatar

Figured out how to color text black or white depending on background lightness without breaking the components down to HSL in

Edit: this is now a blog post! https://miunau.com/posts/dynamic-text-contrast-in-css/

Quick and dirty filter stacking

Assuming --bgColor contains your background color:

    span {<br></br>        color: var(--bgColor);<br></br>        filter: invert(1) grayscale(1) brightness(1.3) contrast(9000);<br></br>        mix-blend-mode: luminosity;<br></br>        opacity: 0.95;<br></br>    }<br></br>

This will turn to black around #AAAAAA. adjust brightness lower if you want it to turn to black earlier. play around with contrast as well, using low and high values.

After playing around with this (thanks @mia), we noticed there's some fringes happening at certain color values right when it is about to switch from black to white, so this might work best with colors that you get to control to some degree.

Less fringing with SVG filters

But! Here is a version that has no fringing:

Add this somewhere in your markup- it can be anywhere as long as the id bwFilter can be referenced.

<br></br><svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="0"><br></br>    <defs><br></br>        <filter id="bwFilter" color-interpolation-filters="sRGB"><br></br>            <!-- Convert to grayscale based on luminance --><br></br>            <feColorMatrix type="matrix"<br></br>                values="0.2126 0.7152 0.0722 0 0<br></br>                        0.2126 0.7152 0.0722 0 0<br></br>                        0.2126 0.7152 0.0722 0 0<br></br>                        0 0 0 1 0"/><br></br>            <!-- Expand edges slightly to clean up any fringing --><br></br>            <feMorphology operator="dilate" radius="2"/><br></br>            <!-- Apply the threshold to determine if the color should be black or white --><br></br>            <feComponentTransfer><br></br>                <feFuncR type="linear" slope="-255" intercept="128"/><br></br>                <feFuncG type="linear" slope="-255" intercept="128"/><br></br>                <feFuncB type="linear" slope="-255" intercept="128"/><br></br>            </feComponentTransfer><br></br>            <!-- Composite step to clean up the result --><br></br>            <feComposite operator="in" in2="SourceGraphic"/><br></br>        </filter><br></br>    </defs><br></br></svg><br></br>

Then just reference it in your css:

span {<br></br>    color: var(--bgColor);<br></br>    filter: url(#bwFilter);<br></br>}<br></br>

tada! no fringing!

svg version here: https://codepen.io/miunau/pen/oNVaJoN?editors=1100

fluffel, to CSS
@fluffel@chaos.social avatar

Could someone give me the TLDR why "everyone" dislikes all of a sudden? I‘m too tired to figure out why.

ppk, to CSS
@ppk@front-end.social avatar

I'll start on the cascade chapter now.

Can anyone give a good example of a user stylesheet?

My feeling is that they aren't used a lot, but I might be wrong, and also it occurred to me that others can write a user stylesheet for someone who needs big font sizes or something.

So: any good examples?

rolle, to opensource
@rolle@mementomori.social avatar

Mastodon Bird UI 1.7.8 is now released! :neon_skull:

Mastodon 4.2.0 and nightlies supported.

Changelog:

  • Add profile icons for Ko-fi, Patreon, Paypal and Mastodon
  • Add new profile icons to the advanced web interface
  • Add verified badge styles to user listings
  • Fix: Hide pipe from link icons if there is no textual label
  • Fix regression with verified labels on multiple column view
  • Fix unminified globe icon causing it to randomly disappear , Fixes
  • Fix partial globe icon on light theme
  • Fix mention and hashtag color contrast for light theme
  • Fix consistency for --icon-boost-notification-filter-bar
  • Truncate too long localized unfollow button text in notifications in mobile

Live demo (single column layout only): https://mementomori.social

Source code and installation instructions: https://github.com/ronilaukkarinen/mastodon-bird-ui

rolle, to fediverse
@rolle@mementomori.social avatar

I would like to endorse other minor web apps in the , but most of them are full of UI glitches, are incomplete and downright buggy looking odd things.

From my designer point of view and are the only effective ones, because they speak to people who are used to proper visual design language (read: Non-nerds, non-engineers, the regular people and design oriented people).

Things like , , and newer niche apps cause reactions like: "What is this?", they look like back end is fine but nobody is in charge of the design and the UI has no direction whatsoever. It's the general culprit in the programming world: A back end developer thinks everything is fine when we add a CSS framework and that's that.

If we just get the UI right everywhere, we get more people to the . I just wish there was more /design people willing to contribute.

anatudor, to CSS

What are your top features you played with, got excited over as they were supported in one browser... then years passed & support hasn't improved?

Mine:
@​property Chrome-only for half a decade
filter() Safari-only since 2015
element() Firefox-only since forever

mia, to CSS
@mia@front-end.social avatar

What would you want to understand better about - about how it works, or why it works the way it does?

(This is research for a thing)

jensimmons, to CSS
@jensimmons@front-end.social avatar

Dear people who make websites,

Now that Safari 17.4 is available, what other new web technology — HTML, CSS, JS, Web API, media support, etc — would you like to see supported in Safari next?

What’s most needed?
What will you use it for?
Or how will it help your team serve your users?
Tell me a story…

rolle, to CSS
@rolle@mementomori.social avatar

New versions of released! :neon_skull:

1.5.8rc8-nightly (for Mastodon 4.1.2 main branch):

  • Add ultra accessible colors to README
  • Minor CSS var improvements
  • Fix profile media gallery thumbnails' border-radius
  • Fix regression with detailed status update font size

1.5.8 (for Mastodon 4.1.2 stable)

Please note: This is the last release I will continue to develop for 4.1.2 stable. More things will be present in the upcoming version (as of writing this: 1.5.8rc8-nightly-mastodon-4.1.2-nightly). I will focus on the nightly version, because it's quite hard to keep up with multiple versions. Version for 4.1.2 stable will stay as is for the time being.

  • Fix profile media gallery thumbnails' border-radius
  • Backfill improvements from nightly branch, those which affect also the stable branch
  • Update instructions in README
  • Backfill color and CSS var improvements
  • Fix regressions with font-sizes
  • Fixed fa-fw (Federated) icon size for mobile view (thanks @Itbeard!)
  • Fix search icon overlaping with the long search input placeholder text (thanks @Itbeard!)
  • Fix undefined content warning placeholder (thanks @digitalspork!)

Newest nightly installed here at , see it live: https://mementomori.social

Source and instructions: https://github.com/ronilaukkarinen/mastodon-bird-ui/releases

cheeaun, to webdev
@cheeaun@mastodon.social avatar

😳 I think there's a moment in when you cross over between building a cool web app, getting inspired by @bramus 's scroll-driven animation demos and creating trippy-looking UI's.

(local dev, not on dev site)

Hashtag page on Phanpy, showing media posts tagged as , showing images that animate their intrinsic alignment (object-position in CSS) while scrolling down the list.

Luke, to webdev
@Luke@typo.social avatar

Just got totally distracted. Someone slap me out of it!

Also, finally exploring dark and light themes, obv.

html css mac classic OS6 light mode

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • thenastyranch
  • Durango
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • cisconetworking
  • Youngstown
  • mdbf
  • slotface
  • osvaldo12
  • GTA5RPClips
  • kavyap
  • megavids
  • InstantRegret
  • everett
  • cubers
  • vwfavf
  • normalnudes
  • tacticalgear
  • tester
  • ethstaker
  • khanakhh
  • modclub
  • Leos
  • anitta
  • JUstTest
  • All magazines