From 0f04c0e4e2658edb810374fdc64539ce36b09318 Mon Sep 17 00:00:00 2001 From: Michael Sharman Date: Wed, 11 Dec 2013 14:01:00 +1100 Subject: [PATCH] [REFACTOR] Removed default custom css for items settings override. Updated contents of custom.css --- src/views/modals/settings-items.php | 3 +++ www/assessment/items/custom.css | 12 +++++++++++- www/assessment/items/itemsapi_assess.php | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/modals/settings-items.php b/src/views/modals/settings-items.php index 32227462..2f0e9075 100644 --- a/src/views/modals/settings-items.php +++ b/src/views/modals/settings-items.php @@ -206,6 +206,9 @@
+
+

eg http://demos.learnosity.com/assessment/items/custom.css

+
diff --git a/www/assessment/items/custom.css b/www/assessment/items/custom.css index 754d10fe..a9e10760 100644 --- a/www/assessment/items/custom.css +++ b/www/assessment/items/custom.css @@ -1,3 +1,13 @@ -h1 { +h1, .test-title-text { color: cornflowerblue; + font-size: 130%; +} +h1, h2, p, div, body { + font-family: Georgia, Times, "Times New Roman", serif; +} +p, div, body { + font-size: 16px; +} +.subtitle { + font-size: 130%; } diff --git a/www/assessment/items/itemsapi_assess.php b/www/assessment/items/itemsapi_assess.php index a0c578a3..8fed8c3c 100644 --- a/www/assessment/items/itemsapi_assess.php +++ b/www/assessment/items/itemsapi_assess.php @@ -57,7 +57,7 @@ 'interval' => 300, 'countdown_time' => 60 ), - 'stylesheet' => 'http://demos.learnosity.com/assessment/items/custom.css' + 'stylesheet' => '' ) ) );