From ef7d8898b4efb9099b55ee7a9c242025d2c12cbc Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 14 Sep 2012 07:09:49 -0400
Subject: [PATCH] Display custom inline styles after displaying standard CSS
 files.

---
 themes/blueprint/templates/layout/layout.phtml    | 2 +-
 themes/jquerymobile/templates/layout/layout.phtml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/blueprint/templates/layout/layout.phtml b/themes/blueprint/templates/layout/layout.phtml
index 283ac9e3394..89cc1504850 100644
--- a/themes/blueprint/templates/layout/layout.phtml
+++ b/themes/blueprint/templates/layout/layout.phtml
@@ -4,7 +4,6 @@
     <?$this->headThemeResources()?>
     <?=$this->headMeta()?>
     <?=$this->headTitle()?>
-    <?=$this->headStyle()?>
     <?
         // Set up OpenSearch link:
         $this->headLink(
@@ -17,6 +16,7 @@
         );
     ?>
     <?=$this->headLink()?>
+    <?=$this->headStyle()?>
     <?
         // Set global path for Javascript code:
         $this->headScript()->prependScript("path = '" . rtrim($this->url('home'), '/') . "';");
diff --git a/themes/jquerymobile/templates/layout/layout.phtml b/themes/jquerymobile/templates/layout/layout.phtml
index c9aed226ed9..c9cb2d5d10c 100644
--- a/themes/jquerymobile/templates/layout/layout.phtml
+++ b/themes/jquerymobile/templates/layout/layout.phtml
@@ -7,8 +7,8 @@
     <?$this->headThemeResources()?>
     <?=$this->headMeta()?>
     <?=$this->headTitle()?>
-    <?=$this->headStyle()?>
     <?=$this->headLink()?>
+    <?=$this->headStyle()?>
     <?
         // Set global path for Javascript code:
         $this->headScript()->prependScript("path = '" . rtrim($this->url('home'), '/') . "';");
-- 
GitLab