• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-CalendarExt3 formatting tweaks

Scheduled Pinned Locked Moved Utilities
3 Posts 2 Posters 94 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    bobbylx
    last edited by 24 days ago

    Hello all, just have 2 questions that have me stumped.

    1. I would like to have the modules across the top lined up, and preferably same sized backgrounds. I’ve tried adjusting the margins, but for some reason cannot make the Moon phase and Lesson plan module move up. Any suggestions?

    2. Can someone tell me where to add padding or what margin to adjust to add space between my individual events? thanks in advance.

    Screenshot_20250505_161321.png
    Screenshot_20250505_161341.png

    1 Reply Last reply Reply Quote 0
    • B Offline
      bobbylx
      last edited by 24 days ago

      By the way, here is my custom.css so you can see what changes I’ve tried.

      body {
              background-Image: url("background.jpg");
              background-size: cover;
              position: absolute;
              margin: 0px;
              height: 100%;
              width: 100%;
      }
      header {
        border-bottom: none;
        color: #616161;
      }
      .wi.dimmed.wi-sunset {
      color: orange;
      }
      .wi.dimmed.wi-sunrise {
      color: yellow;
      }
      .wi-day-sunny {
      color: yellow;
      }
      .wi-day-cloudy {
      color: yellow;
      }
      .wi-rain {
      color: grey;
      }
      .wi-thunderstorm {
      color: grey;
      }
      .wi-snow {
      color: white;
      }
      .wi-fog {
      color: white;
      }
      .wi-night-clear {
      color: white;
      }
      .wi-night-cloudy {
      color: grey;
      }
      .wi-night-showers {
      color: blue;
      }
      .wi-night-rain {
      color: blue;
      }
      .wi-thunderstorm {
      color: yelow;
      }
      .wi-night-snow {
      color: white;
      }
      .wi-night-alt-cloudy-windy {
      color: grey;
      }
      .clock, .weather, .MMM-MoonPhase, .MMM-WeeklySchedule {
      	display: inline-flex;
      	margin-right: 25px;
      	margin-left: 25px;
      	margin-top: 0;
      }
      .lessontime {
           text-align: right;
           white-space: nowrap;
           padding-right: 2em;
           width: 1ex;
           font-size: 27px;
           color: #616161;   
       }
      
       .lesson{
           text-align: left;
           font-size: 27px;
           color: #616161;
       }
      
      .MMM-CalendarExt3, .clock, .weather, .MMM-MoonPhase, .MMM-WeeklySchedule {
            background-color:rgba(255, 255, 255,0.6);
            border-radius:20px;
            padding: 8px;
            color: #616161;
            margin-top: 0;	
       } 
      .CX3 .cell {
        border: 1px solid var(--celllinecolor);
        background-color: var(--cellbgcolor);
        height: calc(
          var(--cellheaderheight) + var(--cellfooterheight) +
            calc(var(--eventheight) * var(--maxeventlines))
        );
      }
      .CX3 .weekGrid {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(7, [cell-start] 1fr [cell-end]);
        grid-auto-columns: 0fr;
        margin-top: 5px; /* ADD THIS*/
      }
      
      .CX3 .cw {
      	display:none;
      }
      .CX3 .cellContainer .cell:nth-child(1) .cw {
        display: none;
      }
      .CX3 .cw::before {
              display: none;
      }
      .CX3 .event.singleday .headline:not(.useSymbol)::before {
        display: none;
      }
      .CX3 .event.singleday:not(.useSymbol)::before {
        content: '';
      }
      .CX3 .event.singleday {
        border-left:6px solid var(--calendarColor);
        color: #616161;
      }
      .CX3 .cell.today {
        border: 2px solid #fff; /* default was 1px, so you can change to 2px or whatever */
      }
      .CX3 .thisMonth {
        background-color: rgb(255 255 255 / 10%);
      }
      
      S 1 Reply Last reply 24 days ago Reply Quote 0
      • S Offline
        sdetweil @bobbylx
        last edited by sdetweil 24 days ago 24 days ago

        @bobbylx i cannot help w specifics, only tools

        use the developers window, elements tab to examine and test css style changes you can then put in custom.css.

        you can examine the styles set for each and decide how to
        make one set for all

        see the second link in my signature below

        on the ext3

        there is lineheight and eventheight
        see the readme

        IMG_1101.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy