Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19082

Tiny margin issue in styles_layout.css

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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

      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%; }

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas 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
            dougiamas 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
            korpelainen 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
            korpelainen 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
            korpelainen 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
            korpelainen 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
            korpelainen Mauno Korpelainen added a comment -

            Example from custom corners theme

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

            OK, I think moodle.org looks better now.

            #redirect {
              margin-top:4em;
            }
             
            #redirect #message {
              padding-top:4em;
            }

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

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

            Show
            korpelainen 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:
                  Fix Release Date:
                  13/May/09