Remove unused CSS files, shrink splash image
authorCharles Connell <charles@connells.org>
Wed, 23 Apr 2014 16:21:07 +0000 (12:21 -0400)
committerCharles Connell <charles@connells.org>
Wed, 23 Apr 2014 16:21:07 +0000 (12:21 -0400)
karmaworld/assets/css/add_course.css [deleted file]
karmaworld/assets/css/home.css
karmaworld/assets/css/quiz.css [deleted file]
karmaworld/assets/img/banner.jpg [deleted file]
karmaworld/assets/img/banner_large.jpg [new file with mode: 0644]
karmaworld/assets/img/banner_original.jpg [new file with mode: 0644]
karmaworld/assets/img/banner_small.jpg

diff --git a/karmaworld/assets/css/add_course.css b/karmaworld/assets/css/add_course.css
deleted file mode 100644 (file)
index 437e805..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-.results_on_deck
-{
-  padding: 0;
-}
-
-span.required-field
-{
-  font-size: 0.8em;
-  color: red;
-}
\ No newline at end of file
index 6e31dcfc589221107db38ff3b3635df3244f2100..ac943c13ba203134a7569f5fed30cd569c7af995 100644 (file)
@@ -3,11 +3,22 @@
   color: #ffffff;
   text-align: center;
   font-size: 3em;
-  background-image: url('../img/banner_small.jpg');
   background-size: cover;
   background-position: center center;
 }
 
+@media only screen and (max-width: 500px) {
+  #splash {
+    background-image: url('../img/banner_small.jpg');
+  }
+}
+
+@media only screen and (min-width: 501px) {
+  #splash {
+    background-image: url('../img/banner_large.jpg');
+  }
+}
+
 @media only screen and (max-width: 40.063em) {
   #splash {
     font-size: 1.8em;
diff --git a/karmaworld/assets/css/quiz.css b/karmaworld/assets/css/quiz.css
deleted file mode 100644 (file)
index 25938bd..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-/* DASHBOARD */
-
-#dashboard_content
-{
-  padding-top: 46px;
-}
-
-/* STATS */
-#stats_container
-{
-  height: 210px;
-  margin-bottom: 20px;
-}
-
-.stat_lead_in
-{
-  padding-top: 25px;
-  font-family: "MuseoSlab-900";
-  font-size: 11px;
-  text-transform: uppercase;
-}
-
-.stat_number
-{
-  font-family: "MuseoSlab-900";
-  font-size: 57px;
-  padding-top: 5px;
-}
-
-.stat_object
-{
-  font-family: "MuseoSlab-900";
-  font-size: 13px;
-  text-transform: uppercase;
-}
-
-.stat_earned
-{
-  color: #f05a28;
-}
-
-.stat_uploaded
-{
-  color: #9ccf00;
-}
-
-.stat_downloaded
-{
-  color: #00cf9c;
-}
-
-.stat_liked
-{
-  color: #009ccf;
-}
-
-/* ACTIVITY */
-
-.activity_item
-{
-  margin: 20px 20px;
-}
-
-#activity_more
-{
-  text-align: center;
-  padding: 20px 0;
-}
-
-#no_activity
-{
-  font-family: "MuseoSlab-900";
-  font-size: 10px;
-  color: #8e8e8e;
-  margin-bottom: 20px;
-}
-
-#add-row-btn
-{
-  cursor: pointer;
-}
-
-.correct-answer-flash
-{
-  background-color: #67ff50;
-}
-
-.correct-answer
-{
-  background-color: #b5ffaa;
-}
-
-.wrong-answer-flash
-{
-  background-color: #ff3a3a;
-}
-
-.wrong-answer
-{
-  background-color: #ffb4b4;
-}
-
-div.question ul
-{
-  list-style-type: none;
-}
-
diff --git a/karmaworld/assets/img/banner.jpg b/karmaworld/assets/img/banner.jpg
deleted file mode 100644 (file)
index 7e0a6d1..0000000
Binary files a/karmaworld/assets/img/banner.jpg and /dev/null differ
diff --git a/karmaworld/assets/img/banner_large.jpg b/karmaworld/assets/img/banner_large.jpg
new file mode 100644 (file)
index 0000000..48ed534
Binary files /dev/null and b/karmaworld/assets/img/banner_large.jpg differ
diff --git a/karmaworld/assets/img/banner_original.jpg b/karmaworld/assets/img/banner_original.jpg
new file mode 100644 (file)
index 0000000..7e0a6d1
Binary files /dev/null and b/karmaworld/assets/img/banner_original.jpg differ
index 0eefbad01f820b207795025ff254ddaa3ebf67c9..6608e47b0fa2f2bf2233591f014efb9a90bc28e0 100644 (file)
Binary files a/karmaworld/assets/img/banner_small.jpg and b/karmaworld/assets/img/banner_small.jpg differ