diff --git a/public/css/default.css b/public/css/default.css index dfabb0a..51ddafd 100755 --- a/public/css/default.css +++ b/public/css/default.css @@ -62,7 +62,7 @@ input[type="submit" i] { font-size: 1.5em; } -.aside, .article, .section, .mobilemenu, .banner { +.aside, .article, .section, .banner { opacity: 0.9; transition: 0.3s; } @@ -101,14 +101,14 @@ input[type="submit" i] { border: none; } -.aside, .article, .section, .mobilemenu { +.aside, .article, .section { background: var(--bg-col); padding: 10px; border: 1px solid var(--main-col); box-shadow: 3px 3px 2px var(--main-col); } -.aside:hover, .article:hover, .section:hover, .mobilemenu:hover { +.aside:hover, .article:hover, .section:hover { opacity: 1; box-shadow: 6px 6px 4px var(--main-col); } @@ -217,8 +217,8 @@ input[type="submit" i] { .mobilemenu { width: 250px; overflow-x: hidden; - padding-right: 25px; - margin-bottom: 80px; + margin-right: auto; + margin-left: auto; } .mobilemenu > ul { diff --git a/views/asidemenu.erb b/views/asidemenu.erb index 356ca56..89d1128 100644 --- a/views/asidemenu.erb +++ b/views/asidemenu.erb @@ -2,12 +2,5 @@ Navigation