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 f0e45b9  separate theme hightlight
f0e45b9 is described below

commit f0e45b9bcbfb76508a3d2455e71afead42ba99a1
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue May 28 16:25:51 2019 +0200

    separate theme hightlight
---
 assets/css/styles.sass => _sass/highlight.sass | 32 ++++++++++++++++----------
 _sass/royale-theme.sass                        | 21 -----------------
 assets/css/styles.sass                         |  1 +
 3 files changed, 21 insertions(+), 33 deletions(-)

diff --git a/assets/css/styles.sass b/_sass/highlight.sass
similarity index 55%
copy from assets/css/styles.sass
copy to _sass/highlight.sass
index 421ede7..babc57f 100644
--- a/assets/css/styles.sass
+++ b/_sass/highlight.sass
@@ -1,9 +1,5 @@
----
-# Front matter comment to ensure Jekyll properly reads file.
----
-
 /**
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed under the Apache License, Version 2.0 (the "License")
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
@@ -15,11 +11,23 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+     
+.highlight
+       border-radius: 10px
+       font-size: 14px
+       padding: 10px 30px 10px 30px
+       margin-left: -30px
+       margin-right: -30px
 
-// Imports
-@import "fonts"
-@import "html"
-@import "markdown"
-@import "dracula"
-@import "royale-theme"
-
+.highlighter-rouge 
+       background-color: rgba(27,31,35,.05)
+       border-radius: 3px
+       margin: 0
+       font-size: 95%
+       padding: .2em .4em
+       border-top-left-radius: 3px
+       border-top-right-radius: 3px
+       border-bottom-right-radius: 3px
+       border-bottom-left-radius: 3px
+       color: rgb(16, 16, 16)
+       box-shadow: rgb(230, 230, 230) 0px 0px 0px 1px inset
\ No newline at end of file
diff --git a/_sass/royale-theme.sass b/_sass/royale-theme.sass
index 6af06a9..05edf0c 100644
--- a/_sass/royale-theme.sass
+++ b/_sass/royale-theme.sass
@@ -16,8 +16,6 @@
        .tagline 
                display: none
 
-
-
 .asf
        text-align: center
        font-family: Verdana, Geneva, sans-serif
@@ -443,22 +441,3 @@
        display: inline-block
        user-select: none
 
-.highlight
-       border-radius: 10px
-       font-size: 14px
-       padding: 10px 30px 10px 30px
-       margin-left: -30px
-       margin-right: -30px
-
-.highlighter-rouge 
-       background-color: rgba(27,31,35,.05)
-       border-radius: 3px
-       margin: 0
-       font-size: 95%
-       padding: .2em .4em
-       border-top-left-radius: 3px
-       border-top-right-radius: 3px
-       border-bottom-right-radius: 3px
-       border-bottom-left-radius: 3px
-       color: rgb(16, 16, 16)
-       box-shadow: rgb(230, 230, 230) 0px 0px 0px 1px inset
diff --git a/assets/css/styles.sass b/assets/css/styles.sass
index 421ede7..40cc90b 100644
--- a/assets/css/styles.sass
+++ b/assets/css/styles.sass
@@ -21,5 +21,6 @@
 @import "html"
 @import "markdown"
 @import "dracula"
+@import "highlight"
 @import "royale-theme"
 

Reply via email to