Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Homepage design.

Homepage design: Difference between revisions

From MoodleDocs
m (category change)
Line 1: Line 1:
The [http://moodle.org moodle.org] theme is not included in the standard Moodle download, however theme designers are welcome to take ideas from it.
The [http://moodle.org moodle.org] theme is not included in the standard Moodle download, however theme designers are welcome to take ideas from it.
==Homepage design of moodle.org==


The centre sections are created using fieldset and legend elements within a single html block.
The centre sections are created using fieldset and legend elements within a single html block.
Line 45: Line 47:
[[Category:Administrator]]
[[Category:Administrator]]
[[Category:Developer]]
[[Category:Developer]]
[[Category:ThemeScrapbook]]
[[Category:Themes]]

Revision as of 18:51, 4 December 2005

The moodle.org theme is not included in the standard Moodle download, however theme designers are welcome to take ideas from it.

Homepage design of moodle.org

The centre sections are created using fieldset and legend elements within a single html block.

<fieldset>
  <legend>Welcome to Moodle!</legend>
  <p>text ...</p>
</fieldset>
<fieldset>
  <legend>Moodle Community</legend>
  <p>text ...</p>
</fieldset>
<fieldset>
  <legend>Moodle Development</legend>
  <p>text ...</p>
</fieldset>
<fieldset>
  <legend>Moodle Downloads</legend>
  <p>text ...</p>
</fieldset>

The fieldset and legend elements are then styled to match the blocks.

fieldset {
  margin-bottom: 20px;
  border: #DDD solid 1px;
  -moz-border-radius-bottomleft:20px;
  -moz-border-radius-bottomright:20px;
  font-size: 0.95em;
}

legend {
  border: #DDD solid 1px;
  background-image:url(gradient.jpg);  
  background-position:top;  
  background-repeat:repeat-x;  
  padding: 1px 10px;
}

External links