You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sl...@apache.org on 2019/02/14 17:43:45 UTC

[incubator-daffodil-site] 31/39: Style the Download pane so it is consistent with the Maven and SBT panes

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

slawrence pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-daffodil-site.git

commit 545278aedeb240be289ab112c7f7553ef4c99a4a
Author: Steve Lawrence <sl...@tresys.com>
AuthorDate: Mon Oct 15 07:42:21 2018 -0400

    Style the Download pane so it is consistent with the Maven and SBT panes
    
    Also fix some unnecessary indentation
---
 site/_layouts/release.html              | 25 +++++++++++++------------
 site/assets/themes/apache/css/style.css | 18 ++++++++++++++----
 2 files changed, 27 insertions(+), 16 deletions(-)

diff --git a/site/_layouts/release.html b/site/_layouts/release.html
index f89cd78..babc9e5 100644
--- a/site/_layouts/release.html
+++ b/site/_layouts/release.html
@@ -60,6 +60,7 @@ permalink: /release/release-notes-:title
         {% endif %}
 
         {% if page.apache %}
+          <hr />
           <p>
             <i>
               The above release files should be verified using the PGP signatures and the
@@ -75,25 +76,25 @@ permalink: /release/release-notes-:title
 
       <div id="maven" class="tab-pane fade">
 {% highlight xml %}
-  <dependency>
-    <groupId>{% if page.apache %}org.apache.daffodil{% else %}edu.illinois.ncsa{% endif %}</groupId>
-    <artifactId>daffodil-japi_{{ page.scala-version }}</artifactId>
-    <version>{{ page.title }}</version>
-  </dependency>
+<dependency>
+  <groupId>{% if page.apache %}org.apache.daffodil{% else %}edu.illinois.ncsa{% endif %}</groupId>
+  <artifactId>daffodil-japi_{{ page.scala-version }}</artifactId>
+  <version>{{ page.title }}</version>
+</dependency>
 {% unless page.apache %}
-  <repository>
-    <id>ncsa-sonatype-releases</id>
-    <name>NCSA Sonatype Releases</name>
-    <url>https://opensource.ncsa.illinois.edu/nexus/content/repositories/releases</url>
-  </repository>
+<repository>
+  <id>ncsa-sonatype-releases</id>
+  <name>NCSA Sonatype Releases</name>
+  <url>https://opensource.ncsa.illinois.edu/nexus/content/repositories/releases</url>
+</repository>
 {% endunless %}
 {% endhighlight %}
       </div>
       <div id="sbt" class="tab-pane fade">
 {% highlight scala %}
-  libraryDependencies += "{% if page.apache %}org.apache.daffodil{% else %}edu.illinois.ncsa{% endif %}" %% "daffodil-sapi" % "{{ page.title }}"
+libraryDependencies += "{% if page.apache %}org.apache.daffodil{% else %}edu.illinois.ncsa{% endif %}" %% "daffodil-sapi" % "{{ page.title }}"
 {% unless page.apache %}
-  resolvers += "NCSA Sonatype Releases" at "https://opensource.ncsa.illinois.edu/nexus/content/repositories/releases"
+resolvers += "NCSA Sonatype Releases" at "https://opensource.ncsa.illinois.edu/nexus/content/repositories/releases"
 {% endunless %}
 {% endhighlight %}
       </div>
diff --git a/site/assets/themes/apache/css/style.css b/site/assets/themes/apache/css/style.css
index 74849fd..ce9be6e 100644
--- a/site/assets/themes/apache/css/style.css
+++ b/site/assets/themes/apache/css/style.css
@@ -420,11 +420,21 @@ a.external:before {
   content: "\e066";
 }
 
+.tab-pane {
+  padding: 10px 20px;
+  margin: 0 0 10px;
+  background-color: #f5f5f5;
+  border: 1px solid #dddddd;
+  border-radius: 4px;
+  border-top-width: 0px;
+  border-top-left-radius: 0px;
+  border-top-right-radius: 0px;
+}
+
 .tab-pane pre {
-	border-top-width: 0px;
-	border-top-left-radius: 0px;
-	border-top-right-radius: 0px;
-	border-color: #dddddd;
+  border-width: 0px;
+  margin: 0px;
+  padding: 0px;
 }
 
 dd {