diff options
author | vjeantet <valere.jeantet@gmail.com> | 2020-09-07 23:44:59 +0300 |
---|---|---|
committer | vjeantet <valere.jeantet@gmail.com> | 2020-09-07 23:44:59 +0300 |
commit | ea86b158013c84db81e665602da22930de3abc0f (patch) | |
tree | 43eab71bf99a30057175417a0040968eaa01aabc /assets/sass | |
parent | 8484dfe7f346d844727bef4be3795e104b180bba (diff) |
use fontAwesome icon library
Diffstat (limited to 'assets/sass')
-rw-r--r-- | assets/sass/main.scss | 16 | ||||
-rw-r--r-- | assets/sass/menu.scss | 15 |
2 files changed, 20 insertions, 11 deletions
diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 1560dc1..a0b4495 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -96,7 +96,6 @@ body:not(.render_raw){ margin: 0px; .fa { - font-size: 1.5rem; margin-right: 0.5rem } @@ -238,6 +237,10 @@ article section.page { } nav.subpages{ + + flex-wrap: wrap; + display: flex; + margin-right: -1.5rem; margin-left: -1.5rem; padding-left: 1.5em; @@ -247,11 +250,9 @@ article section.page { overflow-y: auto; top: 45px; background-color: inherit; - - + opacity: 0.85; - flex: 1; - display: flex; + justify-content: flex-start; list-style-type: none; li { @@ -259,7 +260,7 @@ article section.page { overflow: hidden; text-overflow: ellipsis; margin: 0px; - padding-right: .75rem; + padding-right: .4rem; min-width: 50px; a { @@ -268,7 +269,8 @@ article section.page { } &:not(:first-child):before{ display: inline-block; - padding-right: .75rem; + margin-left: 0.4em; + padding-right: .4rem; color: $c_saturate2; content: "|"; } diff --git a/assets/sass/menu.scss b/assets/sass/menu.scss index c1c03e2..8476723 100644 --- a/assets/sass/menu.scss +++ b/assets/sass/menu.scss @@ -43,19 +43,23 @@ article>aside { ul {
display: none;
}
-
+ .ddexp{
+ cursor: pointer;
+ }
// first menu level
>.dd-item {
margin-top: 24px;
>a{
font-weight: 700;
font-size: 16px;
- color:black;
}
> i {
+ color:darken($color_main,6);
position: absolute;
- left:15px;
- font-size: 2em;
+ left:21px;
+ font-size: 1em;
+ font-size: 20px;
+ line-height: inherit;
}
}
@@ -78,6 +82,9 @@ article>aside { }
+ > i {
+ color:darken($color_main,6);
+ }
ul {
padding-inline-start: 0px;
}
|