Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

CSS: Difference between revisions

From MoodleDocs
m (added link to spanish translation of page)
Line 25: Line 25:
* [http://en.wikipedia.org/wiki/Cascading_Style_Sheets Wikipedia Cascading Style Sheets]
* [http://en.wikipedia.org/wiki/Cascading_Style_Sheets Wikipedia Cascading Style Sheets]
* [http://www.w3schools.com/css/default.asp W3schools]
* [http://www.w3schools.com/css/default.asp W3schools]
* [https://developers.google.com/speed/docs/best-practices/rendering#UseEfficientCSSSelectors Use efficient CSS selectors]


[[Category:Themes]]
[[Category:Themes]]


[[es:CSS]]
[[es:CSS]]

Revision as of 16:49, 1 October 2013

CSS or Cascading Style Sheets are used to control the way web pages look. By changing a CSS definition, the change is made on every Moodle webpage that uses that definition.

CSS files are located in the theme folder being used by Moodle. The normal Moodle practice is to have 3 main CSS files: styles_color, styles_layout, styles_fonts. When a CSS definition is not found in a theme CSS file, the CSS files located in the standard theme serves as the default.

There may also be CSS files for Internet Explorer, Mozilla or other internet browsers.

Basic Moodle page parts

A web page is broken up into pieces or elements. Not every page contains the same parts.

These parts or elements include: core, forms, header, footer,admin, blocks, blog, calendar, course, doc, grades, login, message, notes, mymoodle, question, tabs, tags, user and many of the modules.

Basic CSS files

See Also