diff --git a/Templates/Blog/CommunityBlog/template.css b/Templates/Blog/CommunityBlog/template.css index 7cee997..9bc7e9d 100644 --- a/Templates/Blog/CommunityBlog/template.css +++ b/Templates/Blog/CommunityBlog/template.css @@ -108,7 +108,22 @@ .ModBlogC .bbs-listarticle { overflow: hidden; - padding: 20px 0 + padding: 1.2em 0 +} + +.ModBlogC .bbs-listarticle:first-child { + padding-top:0; +} +/* Unless the PB is visible */ + +.personabar-visible .ModBlogC .bbs-listarticle:first-child { + padding-top:1.2em; +} + +.ModBlogC .bbs-listarticle h2 { + + margin-top:0; + } .ModBlogC .bbs-listarticle h2 a, .ModBlogC .bbs-listarticle h2 a:hover, .ModBlogC .bbs-listarticle h2 a:visited { diff --git a/_src/theme/scss/modules/_blog.scss b/_src/theme/scss/modules/_blog.scss index 82aca6f..2058ad4 100644 --- a/_src/theme/scss/modules/_blog.scss +++ b/_src/theme/scss/modules/_blog.scss @@ -72,12 +72,12 @@ // Make sure blog details are full width (see https://github.com/DNNCommunity/DNNCommunityTheme/issues/141) // Depends on the class injected by Style Helper + .blogs-detail { .panes { .main-blog-module{ width: 100% !important; - - } + } } - } \ No newline at end of file + }