Browse Source

mobilní menu funguje na mobilu, graf se zmenšuje se stránkou

export_seznamu_prednasek
Kateřina Čížková 5 years ago
parent
commit
2242659f9b
  1. 20
      mamweb/static/css/mamweb.css
  2. 2
      mamweb/templates/graph.svg

20
mamweb/static/css/mamweb.css

@ -242,6 +242,10 @@ nav.nav-button {
display: none;
}
div.dropdown-backdrop { /* tohle způsobuje, že funguje mobilní menu */
z-index: -1;
}
h1 a:hover {
text-decoration: none;
}
@ -387,11 +391,16 @@ p.license-mobile {
}
div.graf{
width: 70%;
float: none;
margin-left: auto;
margin-right: auto;
width: 70%;
margin-top: 10px;
}
#svg-graf{
width: 100%;
height: auto;;
}
ul.menu {
font-size: 90%;
@ -575,12 +584,9 @@ ul.submenu {
float: none;
}
div.graf{
float: none;
width: 70%;
margin-left: auto;
margin-right: auto;
}
div.graf {
width: 100%;
}
}

2
mamweb/templates/graph.svg

@ -10,7 +10,7 @@
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg2"
id="svg-graf"
width="482.57019"
height="599.45636"
viewBox="0 0 482.57019 599.45636"

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Loading…
Cancel
Save