Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
chaos.social boosted
scy
@scy@chaos.social  ·  activity timestamp 2 days ago

The MkDocs-Material default theme has the background of code blocks extend all the way to the viewport width on mobile, instead of being boxed in by the main container's padding.

I love small details like this.

#MkDocsMaterial #typography #webdesign

Screenshot from my blog with an article talking about content notes in MkDocs-Material. Some text paragraphs, a heading, and code blocks. All characters start at the same position from the left. The code blocks have a slightly lighter background color, and it extends to the very left and very right of the image.
Screenshot from my blog with an article talking about content notes in MkDocs-Material. Some text paragraphs, a heading, and code blocks. All characters start at the same position from the left. The code blocks have a slightly lighter background color, and it extends to the very left and very right of the image.
Screenshot from my blog with an article talking about content notes in MkDocs-Material. Some text paragraphs, a heading, and code blocks. All characters start at the same position from the left. The code blocks have a slightly lighter background color, and it extends to the very left and very right of the image.
  • Copy link
  • Flag this post
  • Block
scy
@scy@chaos.social  ·  activity timestamp 2 days ago

The MkDocs-Material default theme has the background of code blocks extend all the way to the viewport width on mobile, instead of being boxed in by the main container's padding.

I love small details like this.

#MkDocsMaterial #typography #webdesign

Screenshot from my blog with an article talking about content notes in MkDocs-Material. Some text paragraphs, a heading, and code blocks. All characters start at the same position from the left. The code blocks have a slightly lighter background color, and it extends to the very left and very right of the image.
Screenshot from my blog with an article talking about content notes in MkDocs-Material. Some text paragraphs, a heading, and code blocks. All characters start at the same position from the left. The code blocks have a slightly lighter background color, and it extends to the very left and very right of the image.
Screenshot from my blog with an article talking about content notes in MkDocs-Material. Some text paragraphs, a heading, and code blocks. All characters start at the same position from the left. The code blocks have a slightly lighter background color, and it extends to the very left and very right of the image.
  • Copy link
  • Flag this post
  • Block
Log in

Kakapo Social

Kakapo Social: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login