community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1839598 - in /comdev/project-logos/site: css/logofinder.css images/transparent.png
Date Wed, 29 Aug 2018 19:03:23 GMT
Author: humbedooh
Date: Wed Aug 29 19:03:22 2018
New Revision: 1839598

URL: http://svn.apache.org/viewvc?rev=1839598&view=rev
Log:
highlight the fact that these images have transparent backgrounds

Added:
    comdev/project-logos/site/images/transparent.png   (with props)
Modified:
    comdev/project-logos/site/css/logofinder.css

Modified: comdev/project-logos/site/css/logofinder.css
URL: http://svn.apache.org/viewvc/comdev/project-logos/site/css/logofinder.css?rev=1839598&r1=1839597&r2=1839598&view=diff
==============================================================================
--- comdev/project-logos/site/css/logofinder.css (original)
+++ comdev/project-logos/site/css/logofinder.css Wed Aug 29 19:03:22 2018
@@ -78,13 +78,26 @@ body {
 
 .project_logo {
     width: 400px;
-    height: 160px;
+    height: 170px;
     position: relative;
     vertical-align: middle;
     line-height: 180px;
     text-align: center;
 }
 
+.project_logo {
+    background: url(../images/transparent.png);
+    background-size: 28px;
+}
+
+.project_logo > img {
+    position: absolute;
+    top: 0;
+    bottom: 0;
+    right: 0;
+    left: 0;
+    margin:auto;
+}
 .project_rect > p {
     font-size: 11px;
     padding: 2px;

Added: comdev/project-logos/site/images/transparent.png
URL: http://svn.apache.org/viewvc/comdev/project-logos/site/images/transparent.png?rev=1839598&view=auto
==============================================================================
Binary file - no diff available.

Propchange: comdev/project-logos/site/images/transparent.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message