diff --git a/templates/default-layout.hamlet b/templates/default-layout.hamlet index 9ae0a31..df982ca 100644 --- a/templates/default-layout.hamlet +++ b/templates/default-layout.hamlet @@ -15,7 +15,7 @@
  • - #{userHandle user} + #{userHandle user}
  • Logout $nothing diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index a05018b..ab58c7d 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -1,16 +1,47 @@ -.navbar .nav > li > a { - color: #0088cc +.navbar { + .brand { + color: #0088cc; + padding-left: 0; + } + .nav > li > a { + color: #0088cc; + } + .navbar-inner { + box-shadow: none; + border: 0; + background: inherit; + border-top-left-radius: 0; + border-top-right-radius: 0; + } + .user-handle { + max-width: 15em; + overflow: hidden; + white-space: nowrap; + display: inline-block; + text-overflow: ellipsis; + } } -.navbar .navbar-inner { - border: 0; - background: inherit; - border-top-left-radius: 0; - border-top-right-radius: 0; + +@media (max-width: 979px) { + .navbar-inner { + padding-left: 0; + } } -.navbar .user-handle { - max-width: 15em; - overflow: hidden; - white-space: nowrap; - display: inline-block; - text-overflow:ellipsis; + +@media (max-width: 767px) { + .navbar .nav.pull-right { + float: none; + display: block; + clear: left; + margin-left: -15px; + } +} + +@media (max-width: 480px){ + .navbar .brand + .nav { + float: none; + display: block; + clear: left; + margin-left: -15px; + } } diff --git a/templates/profile.hamlet b/templates/profile.hamlet index ad29c5e..fad2a12 100644 --- a/templates/profile.hamlet +++ b/templates/profile.hamlet @@ -1,44 +1,46 @@
    -

    Email addresses - $if length emails <= 1 - $forall Entity _ email <- emails -

    #{emailEmail email} - $else -