You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2016/09/19 09:53:25 UTC

[2/4] couchdb-www git commit: fix: logo positioning in all viewport sizes

fix: logo positioning in all viewport sizes


Project: http://git-wip-us.apache.org/repos/asf/couchdb-www/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-www/commit/5fbe85b7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-www/tree/5fbe85b7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-www/diff/5fbe85b7

Branch: refs/heads/2.0
Commit: 5fbe85b7a2a73a2ac40d4913bf0ec7ac96d68f86
Parents: 1a3891c
Author: Alex Feyerke <es...@users.noreply.github.com>
Authored: Mon Sep 19 11:17:23 2016 +0200
Committer: Alex Feyerke <es...@users.noreply.github.com>
Committed: Mon Sep 19 11:25:59 2016 +0200

----------------------------------------------------------------------
 style/master.css  | 14 ++++++++------
 style/master.less | 17 +++++++++--------
 2 files changed, 17 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-www/blob/5fbe85b7/style/master.css
----------------------------------------------------------------------
diff --git a/style/master.css b/style/master.css
index 208a7f0..3b32383 100644
--- a/style/master.css
+++ b/style/master.css
@@ -246,7 +246,7 @@ blockquote {
 }
 .leadin img {
   position: absolute;
-  top: 64px;
+  top: 32px;
   left: 24px;
 }
 .leadin li {
@@ -593,9 +593,9 @@ a.pt-about {
     padding-top: 54px;
   }
   .leadin img {
-    top: 32px;
+    top: 10px;
     width: 240px;
-    height: 158px;
+    height: 270px;
   }
   .leadin .text-block {
     top: 32px;
@@ -630,8 +630,9 @@ a.pt-about {
     padding-top: 54px;
   }
   .leadin img {
+    top: 25px;
     width: 192px;
-    height: 126px;
+    height: 216px;
   }
   .leadin .text-block {
     top: 32px;
@@ -693,7 +694,7 @@ a.pt-about {
   .leadin img {
     left: -4px;
     width: 160px;
-    height: 105px;
+    height: 180px;
   }
   .leadin .text-block {
     left: 175px;
@@ -720,8 +721,9 @@ a.pt-about {
     font-size: 16px;
   }
   .leadin img {
+    top: 0;
     width: 128px;
-    height: 84px;
+    height: 144px;
   }
   .leadin .text-block {
     left: 130px;

http://git-wip-us.apache.org/repos/asf/couchdb-www/blob/5fbe85b7/style/master.less
----------------------------------------------------------------------
diff --git a/style/master.less b/style/master.less
index ae2de43..aaf147f 100644
--- a/style/master.less
+++ b/style/master.less
@@ -288,7 +288,7 @@ blockquote {
 
 .leadin img {
     position: absolute;
-    top: @gap*2;
+    top: @gap;
     left: @gutter;
 }
 
@@ -666,9 +666,9 @@ a.pt-about {
         padding-top: 54px;
     }
     .leadin img {
-        top: @gap;
+        top: 10px;
         width: 240px;
-        height: 158px;
+        height: 270px;
     }
     .leadin .text-block  {
         top: 32px;
@@ -704,8 +704,9 @@ a.pt-about {
         padding-top: 54px;
     }
     .leadin img {
+        top: 25px;
         width: 192px;
-        height: 126px;
+        height: 216px;
     }
     .leadin .text-block  {
         top: 32px;
@@ -763,7 +764,7 @@ a.pt-about {
     .leadin img {
         left: -4px;
         width: 160px;
-        height: 105px;
+        height: 180px;
     }
     .leadin .text-block  {
        left: 175px;
@@ -791,8 +792,9 @@ a.pt-about {
         font-size: 16px;
     }
     .leadin img {
-         width: 128px;
-         height: 84px;
+        top: 0;
+        width: 128px;
+        height: 144px;
     }
     .leadin .text-block  {
        left: 130px;
@@ -973,4 +975,3 @@ a.pt-about {
     color: @key-color;
     text-decoration: underline;
 }
-