Jul. 1st, 2023

[admin post] Admin Post: Latest code push: style updates

Jul. 1st, 2023 12:34 pm
momijizukamori: A sleeping dreamsheep with a '<3' sign. It says 'Momiji' above it, and 'Styles' below it. (dreamsheep volunteer)
[personal profile] momijizukamori
We did a code push last night - you can see the full list of changes in this code tour (plus a couple from older code tours, turns out we forgot to run the style rebuild script on the last code push), but I thought I'd highlight some styles-specific changes!

  • All official journal layouts now have mobile-view modes. Yes, even Zesty.
  • All official journal layouts now expose the properties to configure when the switch to mobile-view happens.
  • Cut tags now have classes on all their elements, to make them easier to target in CSS
  • Nearly all styles now offer the option to put the navigation links in the header (though some may a bit light on styling at the moment)


The changes for the header navlinks may cause some minor visual changes in layouts that didn't previously have them. If you're not planning on putting navlinks there, you can add #header .module-wrapper {display: none;} to your custom CSS to remove it from the document flow entirely as a quick fix. There may also be cases of things targeting #header .inner that need to be changed to #header > .inner so they don't hit the nested module .inner div as well.

Profile

Dreamwidth style system discussion

July 2025

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 07:54 pm
Powered by Dreamwidth Studios