rework accessibility on mobile/small screens

This commit is contained in:
2020-10-18 14:50:54 +02:00
parent 43e48cdac1
commit 3b4d42b0de
2 changed files with 69 additions and 1 deletions

View File

@@ -108,6 +108,72 @@
@media screen and (max-width: 1023px)
{
html.has-navbar-fixed-top,
body.has-navbar-fixed-top{
padding-top: 6.5rem;
}
.navbar, .navbar-brand
{
min-height: 6.5rem;
font-size: 2em;
}
.navbar-item img
{
max-height: 3.5rem;
}
.navbar-burger{
height: 6.5rem;
width: 12rem;
}
.navbar-burger span{
height: 3px;
left: calc(50% - 16px);
width: 32px;
}
.navbar-burger span:nth-child(1){
top: calc(50% - 12px);
}
.navbar-burger span:nth-child(2){
top: calc(50% - 1px);
}
.navbar-burger span:nth-child(3){
top: calc(50% + 10px);
}
.navbar-burger:hover{
background-color: rgba(0, 0, 0, 0.05);
}
.navbar-dropdown{
font-size: 1.5rem;
padding-bottom: 1rem;
padding-top: 1rem;
padding-left: 48px;
}
.navbar-end .navbar-item{
width: 40%;
height: 3.5rem;
display: inline-block;
text-align: center;
padding:0;
margin:0;
}
.navbar-end .navbar-item img{
width:3.5rem;
}
.logo
{
margin-right: 20px;
}
#main
{
margin-left: 5%;