A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • Share your custom style sheets with the community!

    22 Topics
    292 Posts
    M

    ymsd6czlci2e1.jpeg

    body { margin: 0; height: 100%; width: 100%; background: rgb(0 0 0 / 100%); color: white; } .dimmed, .normal, .bright { color: white; } /* Region Definitions. */ .region.top.right, .region.bottom.right { position: absolute; width: 79%; } .region.top.left, .region.bottom.left, .region.middle.center { position: absolute; width: 20.5%; } .region.fullscreen.below { position: absolute; width: 24.25%; /* Background doesnt match for some reason */ } /* Clock Options */ .clock { float: right; text-align: right; } .clock .time { font-size: 90px; } /* MMM-GoogleTasks Formatting */ .MMM-GoogleTasks { float: right; margin-top: 50px; width: 100%; } .MMM-GoogleTasks .module-header { visibility: hidden; } .MMM-GoogleTasks .item.notes { display: none; } .MMM-GoogleTasks .item { padding: .25em .25em .25em 1em; border-width: 0; } /* MMM-OpenWeatherMapForecast Options */ .MMM-OpenWeatherMapForecast .module-content { width: 100%; } .MMM-OpenWeatherMapForecast { text-align: right; } /* MMM-CalendarExt3 Options */ /* Hides Calendar Header */ .MMM-CalendarExt3 .module-header { visibility: hidden; } /* Global Settings */ .CX3 { --cellbgcolor: rgb(0 0 0 / 100%); } /* Current month cell background color */ .CX3 .thisMonth { background-color: var(--cellbgcolor); } /* Remove Calendar Week */ .CX3 .cellContainer .cell:nth-child(1) .cw { display: none; } /* Day of Week Formatting */ .CX3 .weekend { font-size: 100%; font-weight: normal; } .CX3 .weekend_1, .CX3 .weekend_2, .CX3 .weekday { color: var(--defaultColor); font-weight: bold; text-align: center; } /* Day Number Formatting */ .CX3 .cellHeader { text-align: left; font-size: 100%; } /* Change font sizes */ .CX3 .event.singleday .headline:not(.useSymbol)::before, .CX3 .event.singleday .headline.useSymbol .symbol.noSymbol::before, .CX3 .event .headline .title, .CX3 .event .headline.useSymbol .symbol, .CX3 .event.singleday .headline .time, .CX3 .event.multiday .headline .startTime, .CX3 .legends .legend, .CX3 .legend.useSymbol .symbol{ font-size: 90%; } /* Event Formatting */ .CX3 .event.fullday, .CX3 .event.multiday, .CX3 .legends .legend { border-radius: 8px; color: var(--oppositeColor); }
  • You have questions regarding CSS?

    110 Topics
    652 Posts
    S

    @kasperinline awesome!!

  • Tell me how to change the font.

    3
    0 Votes
    3 Posts
    1k Views
    vblokeV

    https://fonts.google.com

    (eg: @import url(‘https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Open+Sans:400,700&display=swap’);)

    use the @import method in custom.css and change the font declarations in
    body
    .thin
    .light
    .regular
    .bold
    header

    from (example)
    font-family: “Roboto Condensed”, sans-serif;
    to
    font-family: “Open Sans Condensed”, “Roboto Condensed”, sans-serif;

  • Issue with bottom bar, newsfeed module and top margin.

    3
    0 Votes
    3 Posts
    2k Views
    B

    @sdetweil thanks for the advice.

    After some more trial and error it made me figure out I had to add these two to fix it.

    .region.bottom.bar .container { margin-top: 0; } .region.bottom.bar .module { margin-top: 0; }

    Guess it was the container one that I was missing and had to use together with the module definition to get it working.

  • MMM-HASS & css nightmare (slight exaggeration)

    4
    0 Votes
    4 Posts
    1k Views
    R

    Use the developer toos in Chrome to see the whole html & css. You can also edit that to try out things quickly.

  • Need help in CSS

    3
    0 Votes
    3 Posts
    828 Views
    CynicC

    @broberg Thank you very much

  • Margin removal, background region and top bar.

    4
    0 Votes
    4 Posts
    2k Views
    B

    So seem to have gotten a little further regards to the top bar.
    Adding the position: absolute in body seems to have somewhat helped.
    The overflow hidden actually made top.left and top.right disappear.

    body { position: absolute; margin: 2; height: 100%; width: 99%; } .region.top.bar { height: 40px; float: left; }

    My top.right module seems to be positioned a bit higher than my top.left module… But that might just be the look of the module itself.
    Still need to figure out how to left align the navbar and what is happening with the background_below region…

    Edit: Figured out the background as well after some research.
    The fullscreen section is actually defined to be offset by -60px due to the body margins being defined as 60px. So had to simply add a similar section in my custom.css changing the offset to what I put in the body margin.

    .region.fullscreen { position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; }
  • Column width change help

    3
    0 Votes
    3 Posts
    1k Views
    S

    @mlcampbe custom.css has been force loaded as the last css file since 2.6 as I recall…

  • MMM-Darksky-hourly - change icons

    13
    1 Votes
    13 Posts
    6k Views
    MarosM

    please post your changes maybe there is just mistype

  • Module shadowbox for slideshow background

    4
    1 Votes
    4 Posts
    1k Views
    buzzkcB

    Sorry, google photos don’t seem to stay around that long…

  • Newsfeed custom.css

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    brobergB

    @andyyy said in Newsfeed custom.css:

    Hi,

    I am trying to change the font size of the newsfeed. That is my custom.css, the font size is still the same. Any ideas?

    body {
    .newsfeed .medium
    {
    font-size: 15px;
    line-height: 20px;
    }
    }

    You don’t put the .newsfeed inside the body{}

    this should work better :

    .newsfeed .medium {font-size: 15px; line-height: 20px; }
  • oversized fonts and mixed modules

    7
    0 Votes
    7 Posts
    1k Views
    P

    RESOLVED

  • modifying css to only one instance of a module

    7
    0 Votes
    7 Posts
    1k Views
    N

    @sdetweil got it! thanks guys, I’m slowly building confidence to poke around more and tweak. And annoy my wife by constantly tinkering ;)

  • Difference (other than version) between HTML & HTML5?

    2
    0 Votes
    2 Posts
    519 Views
    S

    @SarangBhai study the latest versions… its really only a capability difference. the structure is the same.

  • Looking for help removing white areas from /r/AfterZero

    2
    0 Votes
    2 Posts
    655 Views
    brobergB

    @AndrewEscobar and this is related to the MagicMirror 2 platform how?

  • New Position / Area in the middle!!

    2
    0 Votes
    2 Posts
    1k Views
    S

    @jaimonkhan so, you want to display 2 tables side by side?

    i used float:left on one and float:right on another

    without having to create a new area

  • Button goes out of div on resize?

    2
    0 Votes
    2 Posts
    985 Views
    S

    @Denver77 i am sure that the button is not actually outside the div u put it in, so that means the class/styles cause it to be truncated out of display when the area when the window changes size

    you can look at the classes in the developers window (ctrl-shift-i), elements tab,
    and select the div that your content is in (position first) …

    then expand down to find your button…

  • 7″ touchscreen - module size and overlapping issues.

    10
    0 Votes
    10 Posts
    3k Views
    CyruS1337C

    @Mykle1 OK everything good. I have not asked Google, I will also google ask.

    Many Thanks

  • Colorize specific phrases on mirror

    2
    0 Votes
    2 Posts
    1k Views
    S

    where do the phrases come from? module??

    then u would fix the custom.css to add a new color for the class of the text

    .modulename .class { color…}

  • Box shadow leaving strip at bottom of image?

    2
    -1 Votes
    2 Posts
    816 Views
    cowboysdudeC

    Is the hover effect the same size as the image?

  • Changing fontsize causes text to overlap itself when stacked

    5
    0 Votes
    5 Posts
    903 Views
    H

    @sdetweil that did it thanks a lot :)

  • Change font size of calendar_monthly module

    2
    0 Votes
    2 Posts
    984 Views
    brobergB

    @Legendary_Wiz

    Don’t know exactly what module you are using since there is more than one monthly calendar, but try this :

    .calendar_monthly .xsmall { Font-size: 50px; Line-height: 50px; }