Index: public/stylesheets/application.css =================================================================== --- public/stylesheets/application.css (revision 18423) +++ public/stylesheets/application.css (working copy) @@ -82,7 +82,12 @@ #main {display: flex; flex-direction: row-reverse;} -#sidebar{ flex-shrink: 0; width: 22%; padding-left: 20px; background: #EEEEEE; border-left: 1px solid #ddd} +#sidebar{ flex-shrink: 0; padding-left: 20px; background: #EEEEEE; border-left: 1px solid #ddd} +@media screen and (min-width: 0px) and (max-width: 1280px) {#sidebar{width:240px;}} +@media screen and (min-width: 1280px) and (max-width: 1600px) {#sidebar{width:280px;}} +@media screen and (min-width: 1600px) and (max-width: 1920px) {#sidebar{width:320px;}} +@media screen and (min-width: 1920px) and (max-width: 2560px) {#sidebar{width:360px;}} +@media screen and (min-width: 2560px) {#sidebar{width:380px;}} #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; } #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }