Moodle
  1. Moodle
  2. MDL-19082

Tiny margin issue in styles_layout.css

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.9, 1.7.7, 1.8.8, 1.9.4
    • Fix Version/s: 1.9.5
    • Component/s: Themes
    • Labels:
      None
    • Rank:
      36640

      Description

      http://moodle.org/mod/forum/discuss.php?d=122021

      Add some margin screen after forum posts to standard theme styles_layout.css and tag

      #redirect

      { text-align: center; margin-top:10%; }

        Activity

        Hide
        Martin Dougiamas added a comment -

        I put this into 1.9 and head .... it sort of makes sense for standard themes but I don't think it's helped moodle.org at all ...

        Show
        Martin Dougiamas added a comment - I put this into 1.9 and head .... it sort of makes sense for standard themes but I don't think it's helped moodle.org at all ...
        Hide
        Mauno Korpelainen added a comment -

        Could that top margin be just a little smaller in moodle2 theme css - maybe 5 ???

        (Messages dropped down from the top but a little too much)

        Show
        Mauno Korpelainen added a comment - Could that top margin be just a little smaller in moodle2 theme css - maybe 5 ??? (Messages dropped down from the top but a little too much)
        Hide
        Mauno Korpelainen added a comment -

        Or a very simple solution:

        #redirect

        { text-align: center; margin-top:3em; margin-bottom:3em; }

        gives some margin ( 3 em ) to the top and to the bottom.

        Show
        Mauno Korpelainen added a comment - Or a very simple solution: #redirect { text-align: center; margin-top:3em; margin-bottom:3em; } gives some margin ( 3 em ) to the top and to the bottom.
        Hide
        Mauno Korpelainen added a comment -

        Example from custom corners theme

        Show
        Mauno Korpelainen added a comment - Example from custom corners theme
        Hide
        Martin Dougiamas added a comment - - edited

        OK, I think moodle.org looks better now.

        #redirect {
          margin-top:4em;
        }
        
        #redirect #message {
          padding-top:4em;
        }
        
        Show
        Martin Dougiamas added a comment - - edited OK, I think moodle.org looks better now. #redirect { margin-top:4em; } #redirect #message { padding-top:4em; }
        Hide
        Mauno Korpelainen added a comment -

        Did you add any margin-bottom or padding-bottom ?

        Show
        Mauno Korpelainen added a comment - Did you add any margin-bottom or padding-bottom ?

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: