Mercurial > libervia-templates
diff default/static/blog.css @ 30:69a2e3bf5e17
blog/item: if item is not in same language as current locale, item is hidden but will be shown on click.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Jun 2017 20:27:12 +0200 |
parents | 8cdcbe0d7dee |
children | be1aebaccac0 |
line wrap: on
line diff
--- a/default/static/blog.css Sat Jun 24 20:25:39 2017 +0200 +++ b/default/static/blog.css Sat Jun 24 20:27:12 2017 +0200 @@ -75,6 +75,31 @@ display: initial; } +article.other_lang>div.info { + display: none; +} + +article.other_lang.init>* { + display: none; +} + +article.other_lang.init>div.info { + display: initial; +} + +article.other_lang.init>div.info>p { + margin: 0; + padding: 0.2em; + text-align: center; + font-style: italic; +} + +article.other_lang.init { + border: none; + border-radius: 0; + padding: 0; +} + /**** comments ****/ button.comments_btn {