Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Miroslav Kratochvil
jekyll-theme-lcsb-default
Commits
f4270710
Commit
f4270710
authored
Mar 22, 2018
by
Jacek Lebioda
Browse files
Underline current tab
parent
52a8887d
Changes
2
Hide whitespace changes
Inline
Side-by-side
_includes/header.html
View file @
f4270710
...
...
@@ -41,7 +41,11 @@
{%- for my_page in my_pages -%}
{%- if my_page.title -%}
{%- if page.url == my_page.url -%}
<a
class=
"page-link active"
href=
"{{ my_page.url | relative_url }}"
>
{{ my_page.title | escape }}
</a>
{% else %}
<a
class=
"page-link"
href=
"{{ my_page.url | relative_url }}"
>
{{ my_page.title | escape }}
</a>
{%- endif -%}
{%- endif -%}
{%- endfor -%}
</div>
...
...
_sass/minima/_layout.scss
View file @
f4270710
...
...
@@ -44,6 +44,10 @@
display
:
none
;
}
.active
{
text-decoration
:
#333
underline
solid
;
}
.page-link
{
color
:
$text-color
;
line-height
:
$base-line-height
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment