X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8c64595415e15fda7b2a70e01c8fb53e3e6ac1cc..8a88eee48855aa26ac5ddd9af11678600f74fb91:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 2cdb617be..97ed59071 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -50,7 +50,7 @@ time[title] { /* Utility for de-emphasizing content */ -.text-muted a { +.text-body-secondary a { color: $blue; } @@ -79,7 +79,7 @@ time[title] { position: absolute; top: 0; right: 0; - background: image-url("menu-icon.png") no-repeat; + background: image-url("menu-icon.svg") no-repeat; background-size: 30px 30px; width: 30px; height: 30px; @@ -98,23 +98,13 @@ header { position: relative; font-size: 14px; - h1, nav, nav > ul, nav > ul > li { - display: inline-block; - } - > * { height: 100%; padding: $lineheight * 0.5; } - img.logo { - margin-top: -2px; - } - h1 { font-size: 18px; - line-height: 1.2; - padding-top: 15px; } .btn { @@ -160,7 +150,7 @@ nav.primary { nav.secondary { .nav-link { - padding: 0.2rem; + padding: 0.3rem; } } @@ -197,7 +187,7 @@ body.small-nav { min-height: $headerHeight; &.closed nav { - display: none; + display: none !important; } .search_forms { @@ -222,6 +212,8 @@ body.small-nav { } nav.secondary { + flex-direction: column; + .user-menu, .login-menu { width: 100%; } @@ -891,28 +883,20 @@ div.secondary-actions { } } -/* Rules for the "Welcome" page */ +/* Rules for the "Welcome" and "Fix the map" pages */ + .site-welcome, .site-fixthemap { .sprite { - background-image: image-url("welcome-sprite.png"); - background-size: 500px 250px; - display: block; - } - - .sprite.small { width: 50px; height: 50px; + background-image: image-url("welcome-sprite.svg"); + background-size: 500px 250px; } .sprite.x { /*rtl:ignore*/ background-position: -50px 0; } - .sprite.term { - margin-right: 10px; - vertical-align: middle; - } - .sprite.node { /*rtl:ignore*/ background-position: -100px 0; } @@ -938,6 +922,8 @@ div.secondary-actions { } } +/* Rules for the "About" page */ + .site-about #content { .content-inner { max-width: 760px;