You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/09/15 13:50:34 UTC

[royale-docs] branch master updated: more cleaning in template

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

carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new e2de200  more cleaning in template
e2de200 is described below

commit e2de2003407838ae5690d39b93a263a8f251caee
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 15 15:50:28 2019 +0200

    more cleaning in template
---
 _layouts/docpage.html   | 6 ++++--
 _sass/html.sass         | 2 +-
 _sass/royale-theme.sass | 5 +----
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/_layouts/docpage.html b/_layouts/docpage.html
index 2195c70..0013c5d 100644
--- a/_layouts/docpage.html
+++ b/_layouts/docpage.html
@@ -42,8 +42,10 @@ limitations under the License.
   {% include header.html %}
 
   <div class="toc_and_doc">
-    <div class="content" id="content">
-      {{content}}
+    <div class="page-content" id="content">
+      <article>
+        {{content}}
+      </article>
       <div class="bottom-links">
         <a href="https://github.com/apache/royale-docs/edit/master/{{ page.path }}" target="_blank">Edit this page</a>
       </div>
diff --git a/_sass/html.sass b/_sass/html.sass
index 6342061..969e39c 100644
--- a/_sass/html.sass
+++ b/_sass/html.sass
@@ -68,7 +68,7 @@ a:hover, a:focus, a:visited
 a 
 	color: darken(#4393c3, 10%)
 
-.content a 
+.page-content a 
 	padding: 0px 3px
 	background-color: rgba(104, 223, 255,0.1)
 	border-bottom: 1px dashed rgba(61, 139, 160,0.8)
diff --git a/_sass/royale-theme.sass b/_sass/royale-theme.sass
index 8f1b726..d69deb3 100644
--- a/_sass/royale-theme.sass
+++ b/_sass/royale-theme.sass
@@ -42,9 +42,6 @@
 .topbar 
 	width: 100%
 	top: 0
-	left: auto
-	position: relative
-	z-index: 4
 	max-width: 1170px
 	margin-right: auto
 	margin-left: auto
@@ -230,7 +227,7 @@
 	transform: rotateX(180deg)
 	margin-bottom: 2px
 
-.content 
+.page-content 
 	min-height: 670px
 	margin-left: 15px
 	margin-right: 15px