Read the statement by Michael Teeuw here.
Help with a couple CSS issues
-
YES!!! My spacing was allllllll off.
You’re a genius! Thank you so much.You have the patience of a saint
N
-
@nneuland yes, spacing is critical… it means something else if there are NO spaces between items in the selector list ( stuff before open brace { )
something worth reading
https://forum.magicmirror.builders/topic/6808/css-101-getting-started-with-css-and-understanding-how-css-works -
@sdetweil
Your so knowledgeable with this realm.
Can I ask, what you know about the hue module?Specifically, is it only displaying what lights are on, or is it interactive?
I’m genuinely curious what your smart mirror looks like.
If you have one, I imagine it’s incredible.N
-
@nneuland i am a moderator… i don’t know much about specific modules…
I know HOW to do some debugging and some limited css…
I also do the scripted installer and upgrader tools
i have 5 single board computers running different things… Pi0, Pi3, Pi4, Jetson Nano, and Odroid Xu4. also a vm with Macos catalina, and my desktop running ubuntu.
and I know how to google for answers…
there are lots of talented folks here… I reference their work. all the time…
-
@sdetweil
That’s great. Can’t thank you enough. -
@sdetweil I wonder if I can ask for some help? I have MMM-ip module that I’d like the change the font size. Following your instructions with dev tools I can see:
So I have put in my custom.css:
.MMM-ip .dimmed { font-size: 16px; }
But it doesn’t seem to take effect. Any advice?
Thanks in advance.
Matt -
@matt216 while in the dev window,
u can see the custom.css value is strike thru, cause the div wins
so u need to apply the style to the div
add it to the element box above.
if that works, you can mark/copy that top right box, and paste to custom.css, should have the right targeting syntax
-
@sdetweil Thanks for the help.
How do I reference the div in custom.css not the class?
Adjusting the value in the element box above successfully adjusts the font, but this looks to adjust the ‘dimmed’ class. -
@matt216 and when u copy/paste that from the top box to custom.css, what do u get?
just swipe mark the element entry, copy
here is my favorite cheet sheet on css selectors
-
I’m guessing
.MMM-ip .dimmed div { font-size:16px; }