While this design displays less text per screen, the improved readability makes scanning long texts much easier. And users who prefer denser text can achieve it by simply deleting the max-width line. Previous discussions appropriately rejected changes that were too complicated. The changes I’m proposing here are simple—in both apearance and code.
A potential issue I see is that your font size and stuff like padding only make sense for your current screen size. Make the screen / window much smaller or bigger and 80px padding could be a problem (or at least look very different). Same regarding font. That’s why anki uses percentages instead:
font-size: 150%;
Also: I think the line-height looks really bad if used in conjunction with (un)ordered lists. So that might need tweaking as well.
You’re right that a responsive design would be better, but that would require more complicated CSS, and keeping it simple is why the current default is what it is. (But, yeah, I guess that top padding will have to come down if it can’t be adapted for mobile under the hood.)
As to the font-size, maybe I’m misunderstanding how the defaults work. When I add a new Basic note type in Manage Note Types (on Mac), this is the CSS I see:
I think the text needs to be centered, because some languages are right to left.
Edit: The mobile device is a small screen, so using padding may result in too small a width.
So, the rationale for not using too complex CSS is as to allow new users to easily get started on learning how to customize their initial cards. Would it not be ok to use some degree more and more complex CSS, if you included ample comments on how it works? 1-3 sentences per CSS setting and at most 100 lines total in the default card styling css. Such comments could also act as a mini-tutorial to CSS syntax. Maybe new users would then be able do more customizations without prior CSS knowledge compared to the past…
You know, I really like this idea. But I can also understand why the developers would be wary of it: it might still be harder for a non-coder to parse than uncommented, de minimis CSS; if a user deletes a comment delimiter it could break the CSS; and, maybe most important, they’ll have to answer questions about it.
If the user has to do anything CSS-related at all, something went really wrong. Making flashcards should be simple and easy. Anki is great for power users and overwhelming for new users.
Regarding the original idea, OP, I agree that your version looks better than the default. If it works equally well on all devices, that would be great.
I think the text needs to be centered, because some languages are right to left.
Hard disagree. Text should be aligned the way it normally is for whatever direction the text is normally shown in.
Some people LIKE centered, and that’s fine (I disagree there for a variety of centuries old typography standards reasons), but falling back on this just because it’s “equally wrong for everyone” seems silly to me.
I’m not sure guillerless’ change should be a default for Anki given its use, but for ltr it’s FAR superior to what we have now.
And, it’s easily changeable for those that need/want to.
I completely agree with your “don’t make it equally wrong for everyone” logic. But I have admit the current default of centered text works okay for single lines of text in any writing system. And centering the text is a reasonable formatting choice for displaying short texts in multiple writing systems together–a non-trivial use case.
Anki’s in-editor text-alignment buttons are buggy, at least on Mac. But that can weigh both towards keeping the default and updating it.
I’ll vote for the opposite. Left-aligned looks FAR better to my eye than centered. I can see no reason why “A:” shouldn’t be directly under “Q:”.
Also, when you’re going through a lot of cards, having a CONSISTENT and stable starting place to start reading from seems like table stakes, if not a huge win. Having multiline centering just has you having to “hunt” for the beginning of the line.
I don’t think you can just vote on it like this. A lot of people have an extreme aversion for assymetrical things (some forms of OCD I believe) and some of the previous UI decisions dae took were dependant on that. I think it should be the same this time.
If you find left-aligned cool, just edit the CSS yourself.
Medical students tend to prefer high quality and large pictures whenever possible (e.g. disease photos, advanced mnemonics illustrations). And some users may use very long text such as PDFs as images as they are. Using max-width will shrink them and is probably not desirable.
If the screen height is low, the top padding will reduce the display area for text or images. In these cases: Smaller windows on desktops, smartphones with landscape screens
Your variation looks much cleaner. I understand there may be negative consequences to changing the Basic note type.
So, why not have both? Users who won’t bother to learn CSS probably would appreciate having access to this note type, it could be called Basic (modernized) or something.