Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Homepage design: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
m (scrapbook nav)
m (template move)
Línia 1: Línia 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.
{{Scrapbook}}


==Homepage design of moodle.org==
The [http://moodle.org moodle.org] theme is not included in the standard Moodle download, however theme designers are welcome to take ideas from its homepage design.


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.
Línia 45: Línia 45:
* [http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.10 W3C 17.10 Adding structure to forms] - The recommended use of fieldset and legend elements is for adding structure to forms.
* [http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.10 W3C 17.10 Adding structure to forms] - The recommended use of fieldset and legend elements is for adding structure to forms.


{{Scrapbook}}
[[Category:Administrator]]
[[Category:Administrator]]
[[Category:Developer]]
[[Category:Developer]]
[[Category:Themes]]
[[Category:Themes]]

Revisió del 09:47, 25 feb 2006

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

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