diff --git a/content/style.css b/content/style.css index 6d43845..8b1e4c7 100644 --- a/content/style.css +++ b/content/style.css @@ -158,3 +158,36 @@ span.comment { img { max-width: 100%; } + + +body {margin: 0;} + +ul.topnav { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #333; +} + +ul.topnav li {float: left;} + +ul.topnav li a { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; +} + +ul.topnav li a:hover:not(.active) {background-color: #111;} + +ul.topnav li a.active {background-color: #4CAF50;} + +ul.topnav li.right {float: right;} + +@media screen and (max-width: 600px) { + ul.topnav li.right, + ul.topnav li {float: none;} +} +