This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 6dc781abc Fix css.
6dc781abc is described below

commit 6dc781abcf389a3345ca1fa706ec510bff095b01
Author: JamesBognar <[email protected]>
AuthorDate: Mon Jul 4 15:46:03 2022 -0400

    Fix css.
---
 content/site/apidocs-9.0.0/resources/juneau-doc.css | 4 ++--
 templates/about.html                                | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/content/site/apidocs-9.0.0/resources/juneau-doc.css 
b/content/site/apidocs-9.0.0/resources/juneau-doc.css
index 34dbeb97e..c96365d8f 100644
--- a/content/site/apidocs-9.0.0/resources/juneau-doc.css
+++ b/content/site/apidocs-9.0.0/resources/juneau-doc.css
@@ -97,7 +97,7 @@ ul.normal { margin-top:0px; }
 ul.normal li { font-size:100%; list-style:disc; }
 
 /*--- Bordered images ---*/
-.bordered { border:1px solid #cccccc; margin:0px 20px; border-radius:10px; 
box-shadow:1px 1px 1px 0px rgba(0, 0, 0, 0.5); }
+.bordered { margin:0px 20px; border-radius:10px; }
 
 ol.toc, ul.toc, .toc ol, .toc ul { background:#dee3e9; margin:0px; 
padding:0px; max-width:900px;}
 ul.toc, .toc ul { list-style: disc; }
@@ -138,7 +138,7 @@ body > p:first-child {
 }
 
 /* Header styles */
-h5.toc, h5.topic { color:#2C4557; padding:5px 30px; margin-bottom:0px; 
border-radius:10px 10px 10px 0px; text-decoration:none; box-shadow:1px 1px 1px 
0px rgba(0, 0, 0, 0.5); }
+h5.toc, h5.topic { color:#2C4557; padding:5px 30px; margin-bottom:0px; 
border-radius:10px 10px 10px 0px; text-decoration:none; }
 
 /* Light-colored title on package summary pages */
 div.docSummary > div.block,
diff --git a/templates/about.html b/templates/about.html
index 8749ec15b..64df16f55 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -119,7 +119,7 @@
        String <jv>json</jv> = Json.<jsm>of</jsm>(<jk>new</jk> Person());
 
        <jc>// Parse back into a bean.</jc>
-       Person <jv>person</jv> = Json.<jsm>from</jsm>(<jv>json</jv>, 
Person.<jk>class</jk>);
+       Person <jv>person</jv> = Json.<jsm>to</jsm>(<jv>json</jv>, 
Person.<jk>class</jk>);
 
        <jc>// Various other languages.</jc>
        String <jv>simpleJson</jv> = SimpleJson.<jsm>of</jsm>(<jv>person</jv>);

Reply via email to