You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by jb...@apache.org on 2017/12/12 07:06:03 UTC
[45/51] incubator-servicecomb-website git commit: fixed fake link
with underline
fixed fake link with underline
Project: http://git-wip-us.apache.org/repos/asf/incubator-servicecomb-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-servicecomb-website/commit/a1de0686
Tree: http://git-wip-us.apache.org/repos/asf/incubator-servicecomb-website/tree/a1de0686
Diff: http://git-wip-us.apache.org/repos/asf/incubator-servicecomb-website/diff/a1de0686
Branch: refs/heads/asf-site
Commit: a1de068639836e5055d6c3742ade8ddc02e31d95
Parents: 5a410c7
Author: ljfbleach <lj...@163.com>
Authored: Wed Dec 6 11:13:53 2017 +0800
Committer: Willem Jiang <ji...@huawei.com>
Committed: Thu Dec 7 14:21:35 2017 +0800
----------------------------------------------------------------------
_includes/nav_list | 4 ++--
_sass/minimal-mistakes/_navigation.scss | 6 +++++-
2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-servicecomb-website/blob/a1de0686/_includes/nav_list
----------------------------------------------------------------------
diff --git a/_includes/nav_list b/_includes/nav_list
index 7c3c061..09b3c6c 100644
--- a/_includes/nav_list
+++ b/_includes/nav_list
@@ -15,7 +15,7 @@
{% assign domain = site.url | append: site.baseurl %}
{% endif %}
- <a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
+ <a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title nav__sub-title-with-url">{{ nav.title }}</span></a>
{% else %}
<span class="nav__sub-title">{{ nav.title }}</span>
{% endif %}
@@ -44,4 +44,4 @@
</li>
{% endfor %}
</ul>
-</nav>
\ No newline at end of file
+</nav>
http://git-wip-us.apache.org/repos/asf/incubator-servicecomb-website/blob/a1de0686/_sass/minimal-mistakes/_navigation.scss
----------------------------------------------------------------------
diff --git a/_sass/minimal-mistakes/_navigation.scss b/_sass/minimal-mistakes/_navigation.scss
index 4ba6ea6..2a4bd6d 100644
--- a/_sass/minimal-mistakes/_navigation.scss
+++ b/_sass/minimal-mistakes/_navigation.scss
@@ -561,13 +561,17 @@
text-decoration: none;
&:hover {
- text-decoration: underline;
height: auto;
overflow: visible;
white-space: normal;
}
}
+.nav__sub-title-with-url {
+ &:hover {
+ text-decoration: underline;
+ }
+}
/*
Table of contents navigation