[ckan-changes] [okfn/ckan] baebb6: [2332] Normalise the margins on the homepage headi...

GitHub noreply at github.com
Mon Apr 30 17:24:17 UTC 2012


  Branch: refs/heads/feature-2332-theme-ui
  Home:   https://github.com/okfn/ckan
  Commit: baebb6854e3304dbe3c08d82f004aab42504f74b
      https://github.com/okfn/ckan/commit/baebb6854e3304dbe3c08d82f004aab42504f74b
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M ckan/public/css/style.css
    M ckan/templates/home/index.html

  Log Message:
  -----------
  [2332] Normalise the margins on the homepage heading


diff --git a/ckan/public/css/style.css b/ckan/public/css/style.css
index dfcd060..17252ce 100644
--- a/ckan/public/css/style.css
+++ b/ckan/public/css/style.css
@@ -425,8 +425,7 @@ body.index.home .front-page .action-box {
   background:  #FFF7C0;
 }
 body.index.home .front-page .action-box-inner {
-  margin: 20px;
-  margin-bottom: 5px;
+  margin: 0 20px 5px;
   min-height: 15em;
 }
 body.index.home .front-page .action-box-inner.collaborate {
diff --git a/ckan/templates/home/index.html b/ckan/templates/home/index.html
index b2da98e..7e4ca38 100644
--- a/ckan/templates/home/index.html
+++ b/ckan/templates/home/index.html
@@ -10,7 +10,7 @@
 
   <div py:match="//div[@id='content']" class="front-page">
     <div>
-      <h1>Welcome to ${g.site_title}!</h1>
+      <h1 class="page_heading">Welcome to ${g.site_title}!</h1>
     </div>
     <div class="row">
       <div class="span4">


================================================================
  Commit: 4bd2e33cc8df765bb8eef09186fe4ba13eb6a19d
      https://github.com/okfn/ckan/commit/4bd2e33cc8df765bb8eef09186fe4ba13eb6a19d
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M ckan/public/css/style.css

  Log Message:
  -----------
  [2332] Tweak the spacing in the header

Gave the login text a little more space between it and the line height
and added a bit more padding to the bottom.


diff --git a/ckan/public/css/style.css b/ckan/public/css/style.css
index 17252ce..2e9a938 100644
--- a/ckan/public/css/style.css
+++ b/ckan/public/css/style.css
@@ -22,7 +22,7 @@ body.no-sidebar .content-outer {
 }
 
 header {
-  padding: 5px 0px 2px 0px;
+  padding: 5px 0px 5px 0px;
 }
 
 header #logo {
@@ -38,6 +38,7 @@ header #site-name {
   /*font-weight: bold;*/
   color: #333;
   text-shadow: 1px 1px 3px #ccc;
+  line-height: 1.3;
 }
 
 header #site-name a {


================================================================
Compare: https://github.com/okfn/ckan/compare/b1a28e8...4bd2e33


More information about the ckan-changes mailing list