From c2e44176b152c8beb2ba66941347f29c191b2f99 Mon Sep 17 00:00:00 2001 From: Melissa Wen Date: Fri, 17 Jun 2016 12:35:33 -0400 Subject: [PATCH] add article internal page style --- _internalpages.sass | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ style.sass | 2 ++ theme.js | 7 +++++++ 3 files changed, 135 insertions(+), 0 deletions(-) create mode 100644 _internalpages.sass diff --git a/_internalpages.sass b/_internalpages.sass new file mode 100644 index 0000000..f87bd3d --- /dev/null +++ b/_internalpages.sass @@ -0,0 +1,126 @@ +#content + .main-content + padding: 0 + .block.breadcrumbs-plugin_content-breadcrumbs-block + margin: 0 0 30px 30px + padding: 0 + a.item, span.separator, #breadcrumbs-you-are-here + color: #CE9500 + font-family: 'Signika' + font-size: 14px + margin-right: 10px + a.item + color: #3D70AF + text-transform: capitalize + #breadcrumbs-you-are-here + font-weight: 400 + text-transform: uppercase + +#content #article-header + background: #EDEDED url('icons/ico-destaque.png') no-repeat 5px 10px + border: none + border-left: 8px solid #4EA9B6 + color: #4EA9B6 + font-family: 'Signika' + font-size: 16px + font-variant: normal + font-weight: 400 + height: auto + padding-left: 40px + h1.title, .publishing-info + background: #F3F3F3 + color: #919191 + display: block + font-weight: 400 + height: auto + margin: 0 + padding: 0 10px 10px + vertical-align: middle + width: 628px + .publishing-info + color: #4EA9B6 + font-family: 'Signika' + font-size: 14px + line-height: 30px + padding: 10px 10px 0 + span + display: none + span.date + display: block + +#content .article-body + border: 1px solid #EDEDED + border-radius: 0px 0px 5px 5px + color: #000 + font-family: 'Signika' + font-size: 14px + font-variant: normal + font-weight: 300 + padding: 20px + +#content #article-source + padding: 20px + +#content #comments_list + border: 1px solid #EDEDED + border-radius: 5px + h3 + border-bottom: 1px solid #EDEDED + color: #919191 + font-family: 'Signika' + font-size: 14px + font-variant: normal + font-weight: 700 + margin: 0 + padding: 20px 20px 10px + text-transform: uppercase + .article-comments-list + margin: 15px 0 0 + li.article-comment + border-bottom: 1px solid #EDEDED + margin: 0 + padding: 20px + &:last-child + border: none + .comment-info + font-size: 12px + .comment-actions-reply + background-color: #FFF + border-radius: 5px + .vcard .menu-submenu-trigger + border-radius: 5px + padding: 1px + .comment-details + margin-left: 50px + padding: 0 + .comment-created-at + color: #FA5F59 + float: left + font-size: 12px + font-style: italic + margin: 0 + padding: 0 + h4 + color: #000 + float: left + font-size: 14px + font-weight: 500 + width: 100% + .comment-text + color: #000 + display: block + float: left + p + font-size: 12px + margin: 0 + .comment-wrapper-1, .comment-wrapper-2, .comment-wrapper-3, .comment-wrapper-4, .comment-wrapper-5, .comment-wrapper-6, .comment-wrapper-7, .comment-wrapper-8 + background: none + +#content #comments_list .post_comment_box + padding: 15px + text-align: left + a.display-comment-form + background: none + border: 1px solid #EDEDED + color: #3D70AF + font-weight: 500 diff --git a/style.sass b/style.sass index ea06563..5dde21a 100644 --- a/style.sass +++ b/style.sass @@ -106,5 +106,7 @@ body margin: 0 @import searchbar +@import internalpages + #boxes margin-top: 0px diff --git a/theme.js b/theme.js index bf14ba1..ed3829c 100644 --- a/theme.js +++ b/theme.js @@ -31,3 +31,10 @@ jQuery("document").ready(function($){ $('input#q').attr('placeholder', 'Tipo de conteúdo'); }); + +jQuery("document").ready(function($){ + $('span.publishing-info').prependTo('div#article-header'); + $('#article-sub-header').remove(); + $('div.page-comment-form').insertBefore('ul.article-comments-list'); + $('Você está aqui: ').insertBefore($('.breadcrumbs-plugin_content-breadcrumbs-block .block-inner-2').children().first()); +}); -- libgit2 0.21.2