Gitlab migration complete. If you have any issue please read the FAQ.

Commit ed3da0b7 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

chore: Merge branch '38-correct-the-responsive-menu-on-mobile' into 'latest'

Resolve "Correct the responsive menu on mobile"

Closes #38

See merge request core-services/jekyll-theme-lcsb-default!24
parents 757f92cf d84f48ed
......@@ -89,10 +89,10 @@ html {
@media (max-width: 640px) {
.page-link.active:before, .page-link2.active:before {
content: "\2022";
content: "\2023";
margin-right: 10px;
position: absolute;
left: 12%;
left: 20px;
color: rgb(23, 168, 225);
}
.page-link.active, .page-link2.active {
......@@ -186,6 +186,7 @@ html {
border: 1px solid $grey-color-light;
border-radius: 5px;
text-align: right;
max-width: calc(100% - 30px);
label[for="nav-trigger"] {
display: block;
......@@ -215,17 +216,24 @@ html {
display: none;
}
input:checked ~ div {
width: 100%;
}
input:checked ~ .trigger {
display: block;
padding-bottom: 5px;
padding-bottom: 15px;
padding-right: 15px;
width: calc(100% - 15px);
}
.page-link, .page-link2 {
display: block;
padding: 5px 10px;
padding: 7px 10px;
&:not(:last-child) {
margin-right: 0;
border-bottom: solid 1px #eceaea;
}
margin-left: 20px;
}
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-theme-lcsb-default"
spec.version = "0.3.12"
spec.version = "0.3.13"
spec.authors = ["Trefex", "jaceklebioda_lux"]
spec.email = ["lcsb-sysadmins@uni.lu"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment