editor-css MDL-16319 Set default font for the core moodle themes
authorSam Hemelryk <sam@moodle.com>
Thu, 7 Oct 2010 04:17:15 +0000 (04:17 +0000)
committerSam Hemelryk <sam@moodle.com>
Thu, 7 Oct 2010 04:17:15 +0000 (04:17 +0000)
28 files changed:
theme/anomaly/config.php
theme/anomaly/style/editor.css [new file with mode: 0644]
theme/arialist/config.php
theme/arialist/style/editor.css [new file with mode: 0644]
theme/binarius/config.php
theme/binarius/style/editor.css [new file with mode: 0644]
theme/canvas/config.php
theme/canvas/style/editor.css [new file with mode: 0644]
theme/formal_white/config.php
theme/formal_white/style/editor.css [new file with mode: 0644]
theme/formfactor/config.php
theme/formfactor/style/editor.css
theme/fusion/config.php
theme/fusion/style/editor.css [new file with mode: 0644]
theme/leatherbound/config.php
theme/leatherbound/style/editor.css [new file with mode: 0644]
theme/magazine/config.php
theme/magazine/style/editor.css [new file with mode: 0644]
theme/nonzero/config.php
theme/nonzero/style/editor.css [new file with mode: 0644]
theme/overlay/config.php
theme/overlay/style/editor.css [new file with mode: 0644]
theme/serenity/config.php
theme/serenity/style/editor.css [new file with mode: 0644]
theme/sky_high/config.php
theme/sky_high/style/editor.css [new file with mode: 0644]
theme/splash/config.php
theme/splash/style/editor.css [new file with mode: 0644]

index e09b445..c97be59 100644 (file)
@@ -125,4 +125,6 @@ $THEME->layouts = array(
 
 $THEME->rendererfactory = 'theme_overridden_renderer_factory';
 $THEME->enable_dock = true;
-//$THEME->javascripts_footer = array('navigation');
\ No newline at end of file
+//$THEME->javascripts_footer = array('navigation');
+
+$THEME->editor_sheets = array('editor');
\ No newline at end of file
diff --git a/theme/anomaly/style/editor.css b/theme/anomaly/style/editor.css
new file mode 100644 (file)
index 0000000..f0ce2b2
--- /dev/null
@@ -0,0 +1,2 @@
+body, div, p, li, input, option, textarea {font-size: 10pt; line-height: 1.5em;}
+body, div, p, li, input, option, textarea, h1, h2, h3, h4, h5 {font-family: Georgia,Times,"Times New Roman",serif;}
\ No newline at end of file
index 6848c22..9b7e5a0 100644 (file)
@@ -258,3 +258,5 @@ $THEME->rarrow      = '&rang;';
 ////////////////////////////////////////////////////
 // Controls the colours for the MP3 player
 ////////////////////////////////////////////////////
+
+$THEME->editor_sheets = array('editor');
\ No newline at end of file
diff --git a/theme/arialist/style/editor.css b/theme/arialist/style/editor.css
new file mode 100644 (file)
index 0000000..6a1394a
--- /dev/null
@@ -0,0 +1,10 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+    font-family: arial, verdana, sans-serif;
+    line-height: 1.5;
+    color: #333;
+}
+
+h2,h3,h4,h5,h6 {
+    color: #999;
+    font-weight: normal;
+}
\ No newline at end of file
index 071a13d..27fc3f6 100644 (file)
@@ -258,3 +258,5 @@ $THEME->layouts = array(
 ////////////////////////////////////////////////////
 // Controls the colours for the MP3 player
 ////////////////////////////////////////////////////
+
+$THEME->editor_sheets = array('editor');
\ No newline at end of file
diff --git a/theme/binarius/style/editor.css b/theme/binarius/style/editor.css
new file mode 100644 (file)
index 0000000..cb24a47
--- /dev/null
@@ -0,0 +1,3 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+  font-family:"Trebuchet MS", Helvetica, Arial, sans-serif;
+}
index c4457bb..2bfa714 100644 (file)
@@ -267,3 +267,5 @@ $THEME->hidefromselector = true;
 ////////////////////////////////////////////////////
 // Controls the colours for the MP3 player
 ////////////////////////////////////////////////////
+
+$THEME->editor_sheets = array('editor');
\ No newline at end of file
diff --git a/theme/canvas/style/editor.css b/theme/canvas/style/editor.css
new file mode 100644 (file)
index 0000000..41e77e5
--- /dev/null
@@ -0,0 +1,122 @@
+body {
+       font-size: 85%;
+       line-height: 1.4;
+}
+
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+       font-family: Helvetica, Arial, sans-serif;
+}
+
+h1,h2,h3,h4,h5,h6 {
+       font-weight: bold;
+       margin: 0;
+}
+
+h1 {
+       font-size: 2.25em;
+       line-height: 1;
+       margin-bottom: 0.5em;
+}
+
+h2 {
+       font-size: 1.5em;
+       margin-bottom: 0.5em;
+}
+
+h3 {
+       font-size: 1.25em;
+       line-height: 1;
+       margin-bottom: 0.5em;
+}
+
+h4 {
+       font-size: 1.1em;
+       line-height: 1.25;
+       margin-bottom: 0.75em;
+}
+
+h5 {
+       font-size: 1em;
+       margin-bottom: 1em;
+}
+
+h6 {
+       font-size: 1em;
+}
+
+p {
+       margin: 0 0 1em;
+}
+
+ul, ol {
+       margin: 0 1.5em 1.5em 1.5em;
+}
+
+ul {
+       list-style-type: circle;
+}
+
+ol {
+       list-style-type: decimal;
+}
+
+dl {
+       margin: 0 0 1.5em 0;
+}
+
+dl dt {
+       font-weight: bold;
+}
+
+dl dd {
+       margin-left: 1.5em;
+}
+
+abbr, acronym {
+       border-bottom: 1px dotted #000;
+}
+
+address {
+       margin-top: 1.5em;
+       font-style: italic;
+}
+
+del {
+       color: #000;
+}
+
+a {
+       text-decoration: none;
+}
+
+blockquote {
+       margin: 1.5em;
+}
+
+strong {
+       font-weight: bold;
+}
+
+em, dfn {
+       font-style: italic;
+}
+
+dfn {
+       font-weight: bold;
+}
+
+pre, code {
+       margin: 1.5em 0;
+       white-space: pre;
+}
+
+pre, code, tt {
+       font: 1.2em monospace;
+       line-height: 1.5;
+}
+
+tt {
+       display: block;
+       margin: 1.5em 0;
+       line-height: 1.5;
+}
\ No newline at end of file
index a635df7..ddc8f0a 100644 (file)
@@ -165,4 +165,6 @@ $THEME->javascripts_footer = array('navigation');
 /**
  * Sets the function that will replace our settings within the CSS
  */
-$THEME->csspostprocess = 'formalwhite_process_css';
\ No newline at end of file
+$THEME->csspostprocess = 'formalwhite_process_css';
+
+$THEME->editor_sheets = array('editor');
\ No newline at end of file
diff --git a/theme/formal_white/style/editor.css b/theme/formal_white/style/editor.css
new file mode 100644 (file)
index 0000000..207301f
--- /dev/null
@@ -0,0 +1,2 @@
+body, div, p, li, input, option, textarea {font-size:8pt;line-height:1.5em;}
+body, div, p, li, input, option, textarea, h1, h2, h3, h4, h5 {font-family:Arial, Helvetica, sans-serif;}
\ No newline at end of file
index 1d0c707..e39d2ab 100644 (file)
@@ -243,3 +243,5 @@ $THEME->layouts = array(
 ////////////////////////////////////////////////////
 // Controls the colours for the MP3 player
 ////////////////////////////////////////////////////
+
+$THEME->editor_sheets = array('editor');
\ No newline at end of file
index a9e053c..9079053 100644 (file)
@@ -1,3 +1,5 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
+
 .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
 .large { font-size: 1.25em; line-height:1.5em; margin-bottom: 1em; }
 .quiet { color: #999; }
index 5f57e76..8271c2d 100644 (file)
@@ -82,7 +82,7 @@ $THEME->enable_dock = true;
 ////////////////////////////////////////////////////
 
 
-// $THEME->editor_sheets
+$THEME->editor_sheets = array('editor');
 
 ////////////////////////////////////////////////////
 // An array of stylesheets to include within the
diff --git a/theme/fusion/style/editor.css b/theme/fusion/style/editor.css
new file mode 100644 (file)
index 0000000..7af5967
--- /dev/null
@@ -0,0 +1,5 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
+       line-height: 1.5;
+       color: #333;
+}
\ No newline at end of file
index 7e9ccd2..9219516 100644 (file)
@@ -69,7 +69,7 @@ $THEME->enable_dock = true;
 ////////////////////////////////////////////////////
 
 
-// $THEME->editor_sheets = array('editor');
+$THEME->editor_sheets = array('editor');
 
 ////////////////////////////////////////////////////
 // An array of stylesheets to include within the
diff --git a/theme/leatherbound/style/editor.css b/theme/leatherbound/style/editor.css
new file mode 100644 (file)
index 0000000..fa25467
--- /dev/null
@@ -0,0 +1,3 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+       font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
\ No newline at end of file
index 0d7c0a0..3cd91ae 100644 (file)
@@ -35,6 +35,8 @@ $THEME->enable_dock = true;
 // Do you want to use the new navigation dock?
 ////////////////////////////////////////////////////
 
+$THEME->editor_sheets = array('editor');
+
 ////////////////////////////////////////////////////
 // An array of stylesheets to include within the
 // body of the editor.
diff --git a/theme/magazine/style/editor.css b/theme/magazine/style/editor.css
new file mode 100644 (file)
index 0000000..2302a62
--- /dev/null
@@ -0,0 +1,3 @@
+html,body {
+    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
\ No newline at end of file
index 3ece0fb..1249bf0 100644 (file)
@@ -80,7 +80,7 @@ $THEME->enable_dock = true;
 ////////////////////////////////////////////////////
 
 
-// $THEME->editor_sheets
+$THEME->editor_sheets = array('editor');
 
 ////////////////////////////////////////////////////
 // An array of stylesheets to include within the
diff --git a/theme/nonzero/style/editor.css b/theme/nonzero/style/editor.css
new file mode 100644 (file)
index 0000000..5f71a0d
--- /dev/null
@@ -0,0 +1,4 @@
+
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+  font-family:"Trebuchet MS", Helvetica, Arial, sans-serif;
+}
\ No newline at end of file
index a3d3225..3425f8f 100644 (file)
@@ -81,7 +81,7 @@ $THEME->enable_dock = true;
 ////////////////////////////////////////////////////
 
 
-// $THEME->editor_sheets
+$THEME->editor_sheets = array('editor');
 
 ////////////////////////////////////////////////////
 // An array of stylesheets to include within the 
diff --git a/theme/overlay/style/editor.css b/theme/overlay/style/editor.css
new file mode 100644 (file)
index 0000000..80d7d22
--- /dev/null
@@ -0,0 +1,4 @@
+body {color: #281f18;}
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+  font-family: 'Myriad Pro', 'Myriad', helvetica, arial, sans-serif;
+}
\ No newline at end of file
index b4b28bf..1665ddc 100644 (file)
@@ -36,7 +36,7 @@ $THEME->enable_dock = true;
 ////////////////////////////////////////////////////
 
 
-// $THEME->editor_sheets = array('editor');
+$THEME->editor_sheets = array('editor');
 
 ////////////////////////////////////////////////////
 // An array of stylesheets to include within the 
diff --git a/theme/serenity/style/editor.css b/theme/serenity/style/editor.css
new file mode 100644 (file)
index 0000000..141af30
--- /dev/null
@@ -0,0 +1,4 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
+    font-family: Georgia, "Times New Roman", Times, serif;
+    color: #2a2513;
+}
\ No newline at end of file
index 8d3666d..df25c67 100644 (file)
@@ -79,7 +79,7 @@ $THEME->enable_dock = true;
 ////////////////////////////////////////////////////
 
 
-// $THEME->editor_sheets
+$THEME->editor_sheets = array('editor');
 
 ////////////////////////////////////////////////////
 // An array of stylesheets to include within the
diff --git a/theme/sky_high/style/editor.css b/theme/sky_high/style/editor.css
new file mode 100644 (file)
index 0000000..12340c6
--- /dev/null
@@ -0,0 +1,5 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea
+{
+       font-family:Arial, Helvetica, sans-serif;
+       color:#333;
+}
\ No newline at end of file
index 9f9fdd8..d42352c 100644 (file)
@@ -160,4 +160,6 @@ $THEME->csspostprocess = 'splash_process_css';
 ///////////////////////////////////////////////////////////////
 // Splash Theme Specific settings for Administrators to customise
 // css.
-///////////////////////////////////////////////////////////////
\ No newline at end of file
+///////////////////////////////////////////////////////////////
+
+$THEME->editor_sheets = array('editor');
\ No newline at end of file
diff --git a/theme/splash/style/editor.css b/theme/splash/style/editor.css
new file mode 100644 (file)
index 0000000..234d96d
--- /dev/null
@@ -0,0 +1,3 @@
+body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {   /* Set fonttype for site */
+    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
\ No newline at end of file