ricky
ricky

CSS I added to the Hello theme: ricky.micro.blog

|
Embed
Progress spinner
Gabz
Gabz

@ricky nice! Thank you for sharing 🙏🏼

|
Embed
Progress spinner
In reply to
ricky
ricky

@Gabz your blog is nice too! Did you customize Arabica?

|
Embed
Progress spinner
Gabz
Gabz

@ricky Yes, I grabbed bits and pieces here and there, and lots of help from the people on the design Slack channel until i got it to my liking. And thank you!

|
Embed
Progress spinner
smokey
smokey

@ricky I’ve added your post to the wiki.

There’s a huge backlog of customization tips to work through, but I’m trying to keep up with new ones as they appear…

|
Embed
Progress spinner
ricky
ricky

@Gabz Awesome 👏 It looks great, I will have to investigate the Slack sometime.

|
Embed
Progress spinner
ricky
ricky

@smokey Fantastic! I am very interested in expanding and documenting the theming options, will take a look at the wiki. @manton and I talked a little about custom themes at the WWDC meetup.

|
Embed
Progress spinner
Gabz
Gabz

@ricky you should, it’s a great place. Specially for people like me who doesn’t know what I’m doing 😅

|
Embed
Progress spinner
Miraz
Miraz

@ricky Kia ora Ricky, I set up the How to Customise Micro.Blog site for exactly this kind of stuff and welcome all contributions. 😀 (Just trying to keep things collected together.) // @smokey @custom

|
Embed
Progress spinner
ricky
ricky

@Miraz @custom’s a great resource! seems images need a max-width:100% so they are not wider than their container on mobile/skinny viewports. Want me to send you a screenshot or the CSS to add?

|
Embed
Progress spinner
Miraz
Miraz

@ricky That’d be great thanks! Which tutorial?

  miraz@firstbite.co.nz
|
Embed
Progress spinner
smokey
smokey

@Miraz @ricky I think ultimately we’ll cede the theme customization links to @custom in order to keep that wiki page sane, but for now I’ll add whatever I see and work through the backlog; it can’t hurt too much to have multiple copies :-)

|
Embed
Progress spinner
ricky
ricky

@Miraz Probably several. I noticed it on How to force a refresh and on the index page due to
Add a header image to your blog. Anything using div.pic on viewports smaller than 600px; or with a lengthy code snippet.

This CSS will do the trick I think:

line 28

/* pictures uploaded from Mars Edit */ div.pic { /* width:600px; */ height:auto; display:block;margin:1.4em auto; padding: 2em; border: 2px solid silver; }

line 54

code { font-size:inherit; background-color: #ffffff; word-break: break-word; }

the important parts being commenting out or deleting width:600px; in div.pic, and adding word-break: break-word; to code. There are other ways of dealing with these but those are maybe the simplest.

|
Embed
Progress spinner
ricky
ricky

@Miraz The CSS kept getting mangled when I tried to paste it as a code block so I ended up just making each line a separate backtick-fenced inline code snippet. I will email you the whole thing unadorned in a sec

|
Embed
Progress spinner
Miraz
Miraz

@smokey 👍

|
Embed
Progress spinner
Miraz
Miraz

@ricky Thanks so much Ricky. I’ll study it tomorrow.

|
Embed
Progress spinner
manton
manton

@ricky Thanks for sharing this CSS! I love these changes. I'm tempted to say they should be incorporated into the default Hello theme... But it's different enough that maybe it should be separate?

|
Embed
Progress spinner
flowinho
flowinho

@Gabz heyho! which slack do you mean? is there micro.blog slack team? 😊

|
Embed
Progress spinner
adamprocter
adamprocter

@ricky very nice. I love the switch icon too

|
Embed
Progress spinner
Gabz
Gabz

@microflow yes! Yes, there is !

|
Embed
Progress spinner
smokey
smokey

@microflow Here

|
Embed
Progress spinner
flowinho
flowinho

@smokey Wonderful! Thank you.

|
Embed
Progress spinner
ricky
ricky

@adamprocter Thanks Adam!

|
Embed
Progress spinner
ricky
ricky

@manton I am definitely into the idea of taking it further and into its own forked theme. But I wonder if it is worth a PR for the Powered by Hugo removal? Or you want that to stay in?

|
Embed
Progress spinner
manton
manton

@ricky I've kind of defaulted to making as few changes as possible to other people's themes, so I let the "Hugo" stay in for now. It probably makes sense to phase it out, or provide an easier way for people to hide it.

|
Embed
Progress spinner
ricky
ricky

@manton cool that is about what I figured. Let me play around with themes a little more and then I will open an issue/PR to discuss possibilities.

|
Embed
Progress spinner