• 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-Lunartic

Scheduled Pinned Locked Moved Education
266 Posts 30 Posters 355.3k Views 29 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @BD0G
    last edited by Nov 19, 2019, 3:20 AM

    @BD0G said in MMM-Lunartic:

    I think a centered text that reads “Moon Phase” and no line would be more aesthetically pleasing.

    Ohhhhh, the header underline!!!

    When you do get a custom.css file, try this (outside the body)

    body {
    }
    
    MMM-Lunartic .header {
      border-bottom: none;
    }

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • B Offline
      BD0G
      last edited by Nov 19, 2019, 5:17 PM

      I tried your suggestion (thanks) and the top header line is still showing. Here is the contents of my custom.css

      /*****************************************************
       * Magic Mirror                                      *
       * Custom CSS                                        *
       *                                                   *
       * By Michael Teeuw http://michaelteeuw.nl           *
       * MIT Licensed.                                     *
       *                                                   *
       * Add any custom CSS below.                         *
       * Changes to this files will be ignored by GIT. *
       *****************************************************/
      
       body {
       	.MMM-Lunartic .xsmall.bright {
        font-size:22px;
      }
      
      .MMM-Lunartic img.photo {
      /*  display: none;              uncomment if you don't want an image */
        width: 100%;                /* adjust size of moon picture */
        margin-left: 0px;          /* Precisely align moon picture with these */
        margin-right: 0px;
        margin-top: 0px;         /* -41px for current. -21px for animation or static. */
        margin-bottom: -11px;      /* -51px for current. -21px for animation or static. */
      }
      MMM-Lunartic .header {
        border-bottom: none;
      }
      
      S 1 Reply Last reply Nov 19, 2019, 5:21 PM Reply Quote 0
      • S Offline
        sdetweil @BD0G
        last edited by Nov 19, 2019, 5:21 PM

        @BD0G said in MMM-Lunartic:

        MMM-Lunartic .header {
        missing the dot in front of MMM-Lunartic

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Nov 19, 2019, 5:51 PM Reply Quote 1
        • B Offline
          BD0G @sdetweil
          last edited by Nov 19, 2019, 5:51 PM

          @sdetweil Strangely the line is still there and I just copied and pasted from @Mykle1 post above and since it was missing the period thats how it landed in my custom.css.

          M 1 Reply Last reply Nov 20, 2019, 1:36 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @BD0G
            last edited by Nov 20, 2019, 1:36 AM

            @BD0G

            My bad. Sorry about that missing dot. Thanks to @sdetweil for spotting the mistake.

            Create a working config
            How to add modules

            B 1 Reply Last reply Nov 20, 2019, 2:42 AM Reply Quote 0
            • B Offline
              BD0G @Mykle1
              last edited by Nov 20, 2019, 2:42 AM

              @Mykle1 I guess Im stuck with the line…

              M 1 Reply Last reply Nov 20, 2019, 3:37 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @BD0G
                last edited by Nov 20, 2019, 3:37 AM

                @BD0G said in MMM-Lunartic:

                I guess Im stuck with the line…

                No, here it is. I just tested it. I’m sorry if I gave you bad info earlier. Forgive me? :-)

                Goes into your custom.css file, exactly as written. NO DOT BEFORE “header”. Guaranteed!

                .MMM-Lunartic header {
                  border-bottom: none;
                  text-align: center;
                  color: cyan;
                }
                

                Proof!
                0_1574221010114_Screenshot from 2019-11-19 22-33-28.png

                Again, I apologize for error.

                Create a working config
                How to add modules

                B 1 Reply Last reply Nov 20, 2019, 6:01 AM Reply Quote 1
                • B Offline
                  BD0G @Mykle1
                  last edited by Nov 20, 2019, 6:01 AM

                  @Mykle1 I forgive you. LOL! Actually I praise your willingness to respond with such a helpfulness! I just copied and pasted directly from your code to my custom.css and …
                  Drumroll please…

                  Nope! No change?

                  Its as if the custom.css file is not being recognized.

                  Here is the entire contents of my custom.css file

                  /*****************************************************
                   * Magic Mirror                                      *
                   * Custom CSS                                        *
                   *                                                   *
                   * By Michael Teeuw http://michaelteeuw.nl           *
                   * MIT Licensed.                                     *
                   *                                                   *
                   * Add any custom CSS below.                         *
                   * Changes to this files will be ignored by GIT. *
                   *****************************************************/
                  
                   body {
                   	.MMM-Lunartic .xsmall.bright {
                    font-size:28px;
                  }
                  
                  .MMM-Lunartic img.photo {
                  /*  display: none;              uncomment if you don't want an image */
                    width: 100%;                /* adjust size of moon picture */
                    margin-left: 0px;          /* Precisely align moon picture with these */
                    margin-right: 0px;
                    margin-top: 0px;         /* -41px for current. -21px for animation or static. */
                    margin-bottom: -11px;      /* -51px for current. -21px for animation or static. */
                  
                    .MMM-Lunartic header {
                    border-bottom: none;
                    text-align: center;
                    color: cyan;
                  }
                  .module.MMM-AlexaControl{
                  .img{
                  height: 30px;
                  width: 30px;
                  }
                  }
                  
                  M 2 Replies Last reply Nov 21, 2019, 1:12 AM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @BD0G
                    last edited by Mykle1 Nov 21, 2019, 3:33 AM Nov 21, 2019, 1:12 AM

                    Wait, let me fix this.

                    Ok, those entries must be made OUTSIDE the body. I’ve corrected it for you.

                    /*****************************************************
                     * Magic Mirror                                      *
                     * Custom CSS                                        *
                     *                                                   *
                     * By Michael Teeuw http://michaelteeuw.nl           *
                     * MIT Licensed.                                     *
                     *                                                   *
                     * Add any custom CSS below.                         *
                     * Changes to this files will be ignored by GIT. *
                     *****************************************************/
                    
                     body {
                    
                     }
                    
                    .MMM-Lunartic .xsmall.bright {
                       font-size:28px;
                    }
                    
                    .MMM-Lunartic img.photo {
                    /*  display: none;              uncomment if you don't want an image */
                      width: 100%;                /* adjust size of moon picture */
                      margin-left: 0px;          /* Precisely align moon picture with these */
                      margin-right: 0px;
                      margin-top: 0px;         /* -41px for current. -21px for animation or static. */
                      margin-bottom: -11px;      /* -51px for current. -21px for animation or static. */
                    }
                    
                    .MMM-Lunartic header {
                      border-bottom: none;
                      text-align: center;
                      color: cyan;
                    }
                    
                    .MMM-AlexaControl .img { 
                      height: 30px;
                      width: 30px;
                    }
                    
                    

                    Next step, I come to your house and fix it for you. :-)

                    Create a working config
                    How to add modules

                    B 1 Reply Last reply Nov 21, 2019, 3:14 AM Reply Quote 1
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @BD0G
                      last edited by Nov 21, 2019, 1:25 AM

                      @BD0G said in MMM-Lunartic:

                      I praise your willingness to respond with such a helpfulness!

                      I started on this forum with no knowledge of coding at all. There were people willing to help me then. I still ask for help when I need it. So, this is my way of thanking the people that help(ed) me. :thumbsup:

                      Create a working config
                      How to add modules

                      B 1 Reply Last reply Nov 21, 2019, 3:17 AM Reply Quote 2
                      • 1
                      • 2
                      • 17
                      • 18
                      • 19
                      • 20
                      • 21
                      • 26
                      • 27
                      • 19 / 27
                      19 / 27
                      • First post
                        189/266
                        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