Page 1 of 1

New Theme: bartleby, a text theme

Posted: Fri Feb 27, 2015 11:49 am
by onli
Bartleby is a theme I designed for normal blogs (instead of for photo-blogs like the last one). It is meant to look lightweight, to use whitespace instead of boxes, has integrated webfonts (fira-sans or vollkorn for text, Alegreya for citations, Latin Modern Mono for code) and syntax highlighting, the sidebar becomes a footer. 2k11s templates are again the fallback for many things.

Image


I already showed it a while ago in an article in my blog, but since it was idling since I thought it was time to continue here. It might be something for spartacus.

Please have a look and test it out, there is a Demo.

Re: New Theme: bartleby, a text theme

Posted: Fri Feb 27, 2015 2:03 pm
by yellowled
onli wrote:It might be something for spartacus.
This should at least be on Spartacus. (If you consider it “done”, of course.)

YL

Re: New Theme: bartleby, a text theme

Posted: Fri Feb 27, 2015 3:33 pm
by Don Chambers
I definitely like clean themes. You still might consider a border around the search input box just to better identify what it is. The comment form uses borders on its inputs, so it would be consistent.

My normal monitor has a resolution of 1920px wide. This theme sets body to 70%, then sets .serendipity_entry_body and .serendipity_entry header to a max-width of 35em. The trackback and comments sections, and the page footer (sidebar) have no such width limitation, so they could get quite wide relative to the entry body. Is that extra space to the right of the entries intended to hold something that the demo does not show? Other than that question, I like it.

Re: New Theme: bartleby, a text theme

Posted: Fri Feb 27, 2015 4:14 pm
by onli
Thanks for the feedback!
Don Chambers wrote: You still might consider a border around the search input box just to better identify what it is. The comment form uses borders on its inputs, so it would be consistent.
Not so easy sadly. The comment form inputs simply have no border set, if I see that right, so they are following the browser. That looks not at all nice for the search form. But to have a good design there that works in more than one browsers is not as easy as I'd like.
But I'm not too happy with how that is right now as well.

I completely missed the max-width for the comments. Each comment is not supposed to be larger than 35em. Good catch, I'll fix that.
Don Chambers wrote:Is that extra space to the right of the entries intended to hold something that the demo does not show?
No. 35-40em are a sane max-width for text. That is part of the concept: Have the text in a redable font in a readable size with a good width, and not have any fluff around it. On small displays the body will jump to 90% width.
yellowled wrote:This should at least be on Spartacus. (If you consider it “done”, of course.)
I'll upload it after giving some more time for comments :) (since spartacus doesn't update themes)

Re: New Theme: bartleby, a text theme

Posted: Wed Mar 04, 2015 4:28 pm
by onli

Re: New Theme: bartleby, a text theme

Posted: Thu Mar 05, 2015 1:47 pm
by garvinhicking
Great! More <strike>COOKIES</strike>Themes :)

Re: New Theme: bartleby, a text theme

Posted: Thu Mar 05, 2015 8:25 pm
by Don Chambers
Some quick observations since I downloaded it:

I really like the font.

Use some plugins that emit a lot of content in your footer sidebar... As each sidebar item has no specific width, plugins that emit a lot of content really wreak havoc on the layout.

The entry footer is not constrained to the same width as entry body, so a long list of categories or tags can lead to the footer extending up to the full page width. Then below the entry footer, the comments and trackbacks are limited in width like the entry body.

The edit entry link is preceeded by a |, probably from when it was previously located after something else. Now it exists on its own line, so that | is pretty meaningless.

Re: New Theme: bartleby, a text theme

Posted: Thu Mar 05, 2015 8:32 pm
by Don Chambers
Couple of questions.. What purpose do these serve in your config:

Code: Select all

$serendipity['smarty']->assign('is_templatechooser', $_SESSION['serendipityUseTemplate']);

Code: Select all

if ($_SESSION['serendipityUseTemplate']) {
    $template_loaded_config['use_corenav'] = false;
}
I know 2k11 has the required fields in there too, but could someone give me an idea of why that is added to a template?

Re: New Theme: bartleby, a text theme

Posted: Thu Mar 05, 2015 8:40 pm
by onli
Thanks Don, I really appreciate you testing that. The entry footer and the | before edit I sure want to fix. Not sure about the footer items though, but maybe they should have a max-width as well.
Couple of questions.. What purpose do these serve in your config:
I don't know. It's quite possible I just copied that over from 2k11.

Re: New Theme: bartleby, a text theme

Posted: Thu Mar 05, 2015 9:56 pm
by yellowled
Don Chambers wrote:I know 2k11 has the required fields in there too, but could someone give me an idea of why that is added to a template?
https://github.com/s9y/Serendipity/comm ... f82217f1a9
This makes 2k11 always suppress the core nav if template chooser plugin is installed.
I highly doubt that this is code that I came up with, although I commited it. Apparently, I got the code from Garvin. Seems to be related to a bug in the template chooser plugin.

YL