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
cc1593e8
Commit
cc1593e8
authored
May 30, 2018
by
Jacek Lebioda
Browse files
New underline in menu links
parent
3804513b
Changes
2
Hide whitespace changes
Inline
Side-by-side
_sass/minima/_layout.scss
View file @
cc1593e8
...
...
@@ -55,6 +55,14 @@ html {
display
:
none
;
}
a
.page-link
{
color
:
#858381
;
}
a
.page-link.active
{
color
:
#222
;
}
.page-link
:hover
{
text-decoration
:
none
;
}
...
...
@@ -64,7 +72,7 @@ html {
}
@media
(
min-width
:
640px
)
{
.page-link
:after
{
/*
.page-link:after {
content: " ";
width: 22px;
border-bottom: solid 3px #cbcfda;
...
...
@@ -72,6 +80,9 @@ html {
top: 30px;
left: 10px;
float: left;
}*/
.page-link.active
{
border-bottom
:
3px
solid
#808080
;
}
}
...
...
@@ -96,17 +107,27 @@ html {
.page-link
:hover
{
color
:
#222
!
important
;
border-bottom
:
3px
solid
#808080
;
&
:not
(
.active
)
{
// padding-top: 20px;
}
}
.page-link
{
min-width
:
60px
;
position
:
relative
;
margin
:
0
0
0
-1px
;
padding
:
2px
10px
4px
9px
;
// Old version:
// min-width: 60px;
// margin: 0 0 0 -1px;
// padding: 2px 10px 4px 9px;
// New version (full underline)
min-width
:
40px
;
margin
:
0
15px
0
8px
;
padding
:
0
2px
0
2px
;
border-bottom
:
3px
solid
#e0e0e0
;
color
:
#b8b8b8
;
float
:
left
;
...
...
jekyll-theme-lcsb-default.gemspec
View file @
cc1593e8
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"jekyll-theme-lcsb-default"
spec
.
version
=
"0.2.
1
"
spec
.
version
=
"0.2.
2
"
spec
.
authors
=
[
"Trefex"
,
"jaceklebioda_lux"
]
spec
.
email
=
[
"lcsb-sysadmins@uni.lu"
]
...
...
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