diff --git a/less/categories.less b/less/categories.less index 73ea6ad..47a332b 100644 --- a/less/categories.less +++ b/less/categories.less @@ -27,12 +27,13 @@ height: 46px; } - h1 { + h2 { font-size: 20px; line-height: 22px; margin: 0; margin-left: 62px; width: 85%; + word-break: break-all; strong { color: @gray-dark; @@ -45,7 +46,7 @@ height: 32px; margin-right: 8px; } - h1 { + h2 { margin-left: 40px; } } @@ -169,4 +170,4 @@ font-weight: 300; font-size: 12px; } -} \ No newline at end of file +} diff --git a/less/category.less b/less/category.less index f33bc3c..acd51c3 100644 --- a/less/category.less +++ b/less/category.less @@ -8,7 +8,7 @@ border-color: lighten(@gray-light, 20%) !important; } - h1 a { + h2 a { color: @gray !important; } } @@ -34,7 +34,7 @@ border-radius: 50%; position: absolute; font-size: 15px; - opacity: 0; + opacity: 0; top: 0px; &:before { @@ -91,4 +91,20 @@ text-transform: uppercase; color: @gray-light; } + + h2.title p { + font-size: 65%; + font-weight: normal; + line-height: 1; + color: @gray-light; + } +} + +.categories-title { + text-transform: uppercase; + color: @gray-light; + margin: 0 0 10px; + font-size: 14px; + font-weight: normal; + line-height: 1.42857143; } \ No newline at end of file diff --git a/less/header.less b/less/header.less index c70440e..b82d9b2 100644 --- a/less/header.less +++ b/less/header.less @@ -1,12 +1,11 @@ #menu, .header { - #notif-list { + .notification-list { overflow-x: hidden; overflow-y: auto; max-height: 250px; padding: 0; li { - font-size: 12px; width: 300px; text-align: left; margin-bottom: 5px; @@ -75,12 +74,11 @@ } .chat-list { - #notif-list; + .notification-list; li { .pointer; width: 200px; - font-size: 16px; a { white-space: nowrap; diff --git a/less/mobile.less b/less/mobile.less index 841fbf8..d4edf6a 100644 --- a/less/mobile.less +++ b/less/mobile.less @@ -2,18 +2,11 @@ display: none; } -@media (max-width: 980px) { - html { - height: 100%; - overflow-y: hidden; - } +@media (max-width: 980px) { body { - height: 100%; padding-top: 0; padding-bottom: 0; - overflow-y: scroll; - overflow-x: hidden; } #panel { diff --git a/less/topic.less b/less/topic.less index 11a2b16..3c7b284 100644 --- a/less/topic.less +++ b/less/topic.less @@ -2,6 +2,7 @@ h1 { line-height: 24px; margin-bottom: 30px; + word-break: break-all; .topic-title { font-size: 28px; @@ -345,4 +346,4 @@ position: relative; text-align: center; } -} \ No newline at end of file +} diff --git a/lib/persona.js b/lib/persona.js index f114dd0..4fb4c12 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -196,7 +196,7 @@ $(document).ready(function() { $('#menu').show(); $('#header-menu').css({ - 'top': $('#panel').position().top * -1 + 'px', + 'top': $(window).scrollTop() + 'px', 'position': 'absolute' }); } diff --git a/package.json b/package.json index 4411565..577af91 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodebb-theme-persona", - "version": "2.1.11", + "version": "2.1.17", "nbbpm": { "compatibility": "^0.8.0" }, diff --git a/templates/account/edit.tpl b/templates/account/edit.tpl index c5b4875..1170ae6 100644 --- a/templates/account/edit.tpl +++ b/templates/account/edit.tpl @@ -113,7 +113,7 @@
- +
@@ -123,7 +123,7 @@
- +
diff --git a/templates/categories.tpl b/templates/categories.tpl index 7cb2a99..5fce80c 100644 --- a/templates/categories.tpl +++ b/templates/categories.tpl @@ -1,6 +1,5 @@ +

[[category:categories]]