diff --git a/blocks/zakons.php b/blocks/zakons.php new file mode 100644 index 0000000..4858a96 --- /dev/null +++ b/blocks/zakons.php @@ -0,0 +1,34 @@ + 2, + 'category' => 6, + 'post_type' => 'post', + //'post_status' => 'publish, future', + 'suppress_filters' => true, // подавление работы фильтров изменения SQL запроса +) ); + +# вывод поста +if( $posts ):?> + +
+ +
Законодательство
+ + + +
+ +
+ + + +
+ + - + + + + '']);?> diff --git a/header.php b/header.php index f7c66cb..a716e7d 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?> - + diff --git a/style.css b/style.css index 8e84bdb..5fc277c 100644 --- a/style.css +++ b/style.css @@ -129,9 +129,16 @@ a{ #mainlogo{ margin-left: 12px; - width: 240px; + min-width: 260px; + flex-shrink: 0; + text-align: center; + margin-right: 10%; } + #mainlogo IMG{ + min-width: 240px; + } + .right-info{ margin-top: 8px; margin-bottom: 12px; @@ -300,7 +307,6 @@ a{ background-color: white; display: flex; align-items: center; - justify-content: center; box-shadow: 0px 4px 53px rgba(0, 0, 0, 0.07); width: 100%; @@ -591,7 +597,6 @@ a{ display: flex; flex-direction: column; margin-left: 22px; - width: 20%; } /* +7 (495) 925 06 34 info@vetandlife.ru */ @@ -814,7 +819,7 @@ a{ #nav_content{ display: flex; padding:0; - padding-bottom: 28px; + padding-bottom: 18px; margin-top: 28px; margin-bottom: 28px; border-bottom: 1px solid #E9EAEB; @@ -823,6 +828,8 @@ a{ #nav_content li{ margin-right: 8px; color: #909294; + font-size: 12px; + line-height: 3,2px; } #nav_content li a{ @@ -886,11 +893,32 @@ a{ background-color: #00466A; width: 100%; padding: 22px; + margin-bottom: 22px; } +.publs_right{ + border-top: 1px solid #E9EAEB; + margin: 22px; + padding-top: 18px; + padding-bottom: 18px; +} +.publs_right_title{ + text-transform: uppercase; + font-size: 14px; + font-weight: bold; + margin-top: 12px; + + } + + +.publs_right_item{ + padding-top: 28px; + font-size: 15px; +} + .most_title{ color: #2D9CDB; }