[openmeetings-site] branch asf-site updated: no jira: more improvements to CallForLogo

2020-10-13 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/openmeetings-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 827814a  no jira: more improvements to CallForLogo
827814a is described below

commit 827814a02d494818eddd9495b973d65fb267e84d
Author: Maxim Solodovnik 
AuthorDate: Tue Oct 13 20:59:49 2020 +0700

no jira: more improvements to CallForLogo
---
 CallForLogo.html | 15 ++-
 css/site.css | 12 ++--
 2 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/CallForLogo.html b/CallForLogo.html
index 7a2a5ac..fa08286 100644
--- a/CallForLogo.html
+++ b/CallForLogo.html
@@ -3,7 +3,7 @@
 
   
 
 
 
@@ -214,7 +214,7 @@
 
 
 
-Last Published: 
2020-10-11
+Last Published: 
2020-10-13
 
 
  
@@ -223,10 +223,12 @@
   
   As you may know, Apache Openmeetings is part of the Apache Software 
Foundation, which is a non-profit organization. In order to celebrate The 
Apache Software Foundation's 15th Anniversary and promote the ASF's more than 
200 projects, Apache has launched an effort to get folks who use Apache 
projects to note that by including one or more of the newly-designed "Powered 
By Apache" logos on their websites, documentation, marketing materials, 
etc. Guidelines for use are available [...]
   Please send your logos and opinions to user@ 
mail list (you need to subscribe first) Thanks in advance :)  
+  
  
  
  Preview 
   
+   
   
  
  
@@ -522,15 +524,10 @@
$(window).scrollTop(0);
}
function applyLogoSmall() {
-   var pp = $('.powered-preview');
-   var l = 
pp.children('.powered-preview-logo');
-   if (!l.length) {
-   l = $("");
-   pp.append(l);
-   }
+   var l = $('.powered-preview 
.powered-preview-logo');
var ib = 
$(this).closest('table').find('.logo-square');
l.css('background-image', 'url(' + 
ib.attr('src') + ')');
-   $('#_toc_preview')[0].scrollIntoView();
+   
$('#before-preview')[0].scrollIntoView();
}
document.addEventListener("DOMContentLoaded", 
function() {
$('.btn-logo-big').click(applyLogoBig);
diff --git a/css/site.css b/css/site.css
index 24a3a57..29052c3 100644
--- a/css/site.css
+++ b/css/site.css
@@ -33,7 +33,7 @@ iframe {
background-repeat: no-repeat;
background-image: url('../images/logos/pb.png');
background-position: 0 0;
-   background-size: 200px 200px;
+   background-size: 200px;
width: 200px;
height: 200px;
position: relative;
@@ -41,12 +41,12 @@ iframe {
 .powered-preview-logo {
background-repeat: no-repeat;
background-position: 0 0;
-   background-size: 70px 70px;
+   background-size: 130px;
position: absolute;
-   height: 70px;
-   width: 70px;
-   top: 65px;
-   left: 65px;
+   height: 130px;
+   width: 130px;
+   top: 37px;
+   left: 37px;
 }
 .example-image-link {
display: block;



[openmeetings-site] branch asf-site updated: no jira: more improvements to CallForLogo

2020-10-13 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/openmeetings-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 827814a  no jira: more improvements to CallForLogo
827814a is described below

commit 827814a02d494818eddd9495b973d65fb267e84d
Author: Maxim Solodovnik 
AuthorDate: Tue Oct 13 20:59:49 2020 +0700

no jira: more improvements to CallForLogo
---
 CallForLogo.html | 15 ++-
 css/site.css | 12 ++--
 2 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/CallForLogo.html b/CallForLogo.html
index 7a2a5ac..fa08286 100644
--- a/CallForLogo.html
+++ b/CallForLogo.html
@@ -3,7 +3,7 @@
 
   
 
 
 
@@ -214,7 +214,7 @@
 
 
 
-Last Published: 
2020-10-11
+Last Published: 
2020-10-13
 
 
  
@@ -223,10 +223,12 @@
   
   As you may know, Apache Openmeetings is part of the Apache Software 
Foundation, which is a non-profit organization. In order to celebrate The 
Apache Software Foundation's 15th Anniversary and promote the ASF's more than 
200 projects, Apache has launched an effort to get folks who use Apache 
projects to note that by including one or more of the newly-designed "Powered 
By Apache" logos on their websites, documentation, marketing materials, 
etc. Guidelines for use are available [...]
   Please send your logos and opinions to user@ 
mail list (you need to subscribe first) Thanks in advance :)  
+  
  
  
  Preview 
   
+   
   
  
  
@@ -522,15 +524,10 @@
$(window).scrollTop(0);
}
function applyLogoSmall() {
-   var pp = $('.powered-preview');
-   var l = 
pp.children('.powered-preview-logo');
-   if (!l.length) {
-   l = $("");
-   pp.append(l);
-   }
+   var l = $('.powered-preview 
.powered-preview-logo');
var ib = 
$(this).closest('table').find('.logo-square');
l.css('background-image', 'url(' + 
ib.attr('src') + ')');
-   $('#_toc_preview')[0].scrollIntoView();
+   
$('#before-preview')[0].scrollIntoView();
}
document.addEventListener("DOMContentLoaded", 
function() {
$('.btn-logo-big').click(applyLogoBig);
diff --git a/css/site.css b/css/site.css
index 24a3a57..29052c3 100644
--- a/css/site.css
+++ b/css/site.css
@@ -33,7 +33,7 @@ iframe {
background-repeat: no-repeat;
background-image: url('../images/logos/pb.png');
background-position: 0 0;
-   background-size: 200px 200px;
+   background-size: 200px;
width: 200px;
height: 200px;
position: relative;
@@ -41,12 +41,12 @@ iframe {
 .powered-preview-logo {
background-repeat: no-repeat;
background-position: 0 0;
-   background-size: 70px 70px;
+   background-size: 130px;
position: absolute;
-   height: 70px;
-   width: 70px;
-   top: 65px;
-   left: 65px;
+   height: 130px;
+   width: 130px;
+   top: 37px;
+   left: 37px;
 }
 .example-image-link {
display: block;



[openmeetings-site] branch asf-site updated: no jira: more improvements to CallForLogo

2020-10-13 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/openmeetings-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 827814a  no jira: more improvements to CallForLogo
827814a is described below

commit 827814a02d494818eddd9495b973d65fb267e84d
Author: Maxim Solodovnik 
AuthorDate: Tue Oct 13 20:59:49 2020 +0700

no jira: more improvements to CallForLogo
---
 CallForLogo.html | 15 ++-
 css/site.css | 12 ++--
 2 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/CallForLogo.html b/CallForLogo.html
index 7a2a5ac..fa08286 100644
--- a/CallForLogo.html
+++ b/CallForLogo.html
@@ -3,7 +3,7 @@
 
   
 
 
 
@@ -214,7 +214,7 @@
 
 
 
-Last Published: 
2020-10-11
+Last Published: 
2020-10-13
 
 
  
@@ -223,10 +223,12 @@
   
   As you may know, Apache Openmeetings is part of the Apache Software 
Foundation, which is a non-profit organization. In order to celebrate The 
Apache Software Foundation's 15th Anniversary and promote the ASF's more than 
200 projects, Apache has launched an effort to get folks who use Apache 
projects to note that by including one or more of the newly-designed "Powered 
By Apache" logos on their websites, documentation, marketing materials, 
etc. Guidelines for use are available [...]
   Please send your logos and opinions to user@ 
mail list (you need to subscribe first) Thanks in advance :)  
+  
  
  
  Preview 
   
+   
   
  
  
@@ -522,15 +524,10 @@
$(window).scrollTop(0);
}
function applyLogoSmall() {
-   var pp = $('.powered-preview');
-   var l = 
pp.children('.powered-preview-logo');
-   if (!l.length) {
-   l = $("");
-   pp.append(l);
-   }
+   var l = $('.powered-preview 
.powered-preview-logo');
var ib = 
$(this).closest('table').find('.logo-square');
l.css('background-image', 'url(' + 
ib.attr('src') + ')');
-   $('#_toc_preview')[0].scrollIntoView();
+   
$('#before-preview')[0].scrollIntoView();
}
document.addEventListener("DOMContentLoaded", 
function() {
$('.btn-logo-big').click(applyLogoBig);
diff --git a/css/site.css b/css/site.css
index 24a3a57..29052c3 100644
--- a/css/site.css
+++ b/css/site.css
@@ -33,7 +33,7 @@ iframe {
background-repeat: no-repeat;
background-image: url('../images/logos/pb.png');
background-position: 0 0;
-   background-size: 200px 200px;
+   background-size: 200px;
width: 200px;
height: 200px;
position: relative;
@@ -41,12 +41,12 @@ iframe {
 .powered-preview-logo {
background-repeat: no-repeat;
background-position: 0 0;
-   background-size: 70px 70px;
+   background-size: 130px;
position: absolute;
-   height: 70px;
-   width: 70px;
-   top: 65px;
-   left: 65px;
+   height: 130px;
+   width: 130px;
+   top: 37px;
+   left: 37px;
 }
 .example-image-link {
display: block;