commit 5a50fb1a940aed43a1786785304665a3375dd805 Author: AK Delfin Date: Thu Sep 16 12:14:35 2021 +0300 add files diff --git a/comments.php b/comments.php new file mode 100644 index 0000000..e69de29 diff --git a/content.php b/content.php new file mode 100644 index 0000000..1125d0f --- /dev/null +++ b/content.php @@ -0,0 +1,21 @@ + +
+

Главное

+ +

+
+ <?the_title();?> +
+

+
+
+
+ + +

Записей не найдено.

+ + 4, + 'end_size' => 2, +));*/?> +
\ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..81e45af --- /dev/null +++ b/footer.php @@ -0,0 +1,41 @@ + +
+ 'menu_left', + 'theme_location'=>'left' + ));?> +
+ + + + + + + diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..adc0a48 --- /dev/null +++ b/functions.php @@ -0,0 +1,11 @@ + 'Верхнее меню', + 'bottom' => 'Нижнее меню', + 'left' => 'Левое меню' +)); + + +add_theme_support('post-thumbnails'); \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..da86d7f --- /dev/null +++ b/header.php @@ -0,0 +1,31 @@ + + + + + + <?php wp_title('|', true, 'right');?> + + + + +
+ + + + 'menu_main', + 'theme_location'=>'top' +) ); +?> + + + + +
+
+ + \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..315afc7 --- /dev/null +++ b/index.php @@ -0,0 +1,14 @@ + + +
+ +
+ + + \ No newline at end of file diff --git a/pub/fonts/GrtskPeta-Bold.ttf b/pub/fonts/GrtskPeta-Bold.ttf new file mode 100644 index 0000000..2544060 Binary files /dev/null and b/pub/fonts/GrtskPeta-Bold.ttf differ diff --git a/pub/fonts/GrtskPeta-BoldItalic.ttf b/pub/fonts/GrtskPeta-BoldItalic.ttf new file mode 100644 index 0000000..750abf2 Binary files /dev/null and b/pub/fonts/GrtskPeta-BoldItalic.ttf differ diff --git a/pub/fonts/GrtskPeta-Extralight.ttf b/pub/fonts/GrtskPeta-Extralight.ttf new file mode 100644 index 0000000..dc4faf8 Binary files /dev/null and b/pub/fonts/GrtskPeta-Extralight.ttf differ diff --git a/pub/fonts/GrtskPeta-ExtralightItalic.ttf b/pub/fonts/GrtskPeta-ExtralightItalic.ttf new file mode 100644 index 0000000..67b0e8e Binary files /dev/null and b/pub/fonts/GrtskPeta-ExtralightItalic.ttf differ diff --git a/pub/fonts/GrtskPeta-Italic.ttf b/pub/fonts/GrtskPeta-Italic.ttf new file mode 100644 index 0000000..219c942 Binary files /dev/null and b/pub/fonts/GrtskPeta-Italic.ttf differ diff --git a/pub/fonts/GrtskPeta-Light.ttf b/pub/fonts/GrtskPeta-Light.ttf new file mode 100644 index 0000000..9471291 Binary files /dev/null and b/pub/fonts/GrtskPeta-Light.ttf differ diff --git a/pub/fonts/GrtskPeta-LightItalic.ttf b/pub/fonts/GrtskPeta-LightItalic.ttf new file mode 100644 index 0000000..0d8c540 Binary files /dev/null and b/pub/fonts/GrtskPeta-LightItalic.ttf differ diff --git a/pub/fonts/GrtskPeta-Medium.ttf b/pub/fonts/GrtskPeta-Medium.ttf new file mode 100644 index 0000000..55c334d Binary files /dev/null and b/pub/fonts/GrtskPeta-Medium.ttf differ diff --git a/pub/fonts/GrtskPeta-MediumItalic.ttf b/pub/fonts/GrtskPeta-MediumItalic.ttf new file mode 100644 index 0000000..960c4c7 Binary files /dev/null and b/pub/fonts/GrtskPeta-MediumItalic.ttf differ diff --git a/pub/fonts/GrtskPeta-Regular.ttf b/pub/fonts/GrtskPeta-Regular.ttf new file mode 100644 index 0000000..e25bd81 Binary files /dev/null and b/pub/fonts/GrtskPeta-Regular.ttf differ diff --git a/pub/fonts/GrtskPeta-Semibold.ttf b/pub/fonts/GrtskPeta-Semibold.ttf new file mode 100644 index 0000000..34fba5b Binary files /dev/null and b/pub/fonts/GrtskPeta-Semibold.ttf differ diff --git a/pub/fonts/GrtskPeta-SemiboldItalic.ttf b/pub/fonts/GrtskPeta-SemiboldItalic.ttf new file mode 100644 index 0000000..4e35adc Binary files /dev/null and b/pub/fonts/GrtskPeta-SemiboldItalic.ttf differ diff --git a/pub/fonts/GrtskPeta-Thin.ttf b/pub/fonts/GrtskPeta-Thin.ttf new file mode 100644 index 0000000..65e851b Binary files /dev/null and b/pub/fonts/GrtskPeta-Thin.ttf differ diff --git a/pub/fonts/GrtskPeta-ThinItalic.ttf b/pub/fonts/GrtskPeta-ThinItalic.ttf new file mode 100644 index 0000000..c21e4c4 Binary files /dev/null and b/pub/fonts/GrtskPeta-ThinItalic.ttf differ diff --git a/pub/fonts/GrtskPetaBkslnt-Bold.ttf b/pub/fonts/GrtskPetaBkslnt-Bold.ttf new file mode 100644 index 0000000..b9d49a1 Binary files /dev/null and b/pub/fonts/GrtskPetaBkslnt-Bold.ttf differ diff --git a/pub/fonts/GrtskPetaBkslnt-Extralight.ttf b/pub/fonts/GrtskPetaBkslnt-Extralight.ttf new file mode 100644 index 0000000..19f47e4 Binary files /dev/null and b/pub/fonts/GrtskPetaBkslnt-Extralight.ttf differ diff --git a/pub/fonts/GrtskPetaBkslnt-Light.ttf b/pub/fonts/GrtskPetaBkslnt-Light.ttf new file mode 100644 index 0000000..f4f8d54 Binary files /dev/null and b/pub/fonts/GrtskPetaBkslnt-Light.ttf differ diff --git a/pub/fonts/GrtskPetaBkslnt-Medium.ttf b/pub/fonts/GrtskPetaBkslnt-Medium.ttf new file mode 100644 index 0000000..4cbed64 Binary files /dev/null and b/pub/fonts/GrtskPetaBkslnt-Medium.ttf differ diff --git a/pub/fonts/GrtskPetaBkslnt-Regular.ttf b/pub/fonts/GrtskPetaBkslnt-Regular.ttf new file mode 100644 index 0000000..2dfa9de Binary files /dev/null and b/pub/fonts/GrtskPetaBkslnt-Regular.ttf differ diff --git a/pub/fonts/GrtskPetaBkslnt-Semibold.ttf b/pub/fonts/GrtskPetaBkslnt-Semibold.ttf new file mode 100644 index 0000000..63db330 Binary files /dev/null and b/pub/fonts/GrtskPetaBkslnt-Semibold.ttf differ diff --git a/pub/fonts/GrtskPetaBkslnt-Thin.ttf b/pub/fonts/GrtskPetaBkslnt-Thin.ttf new file mode 100644 index 0000000..0b95c3c Binary files /dev/null and b/pub/fonts/GrtskPetaBkslnt-Thin.ttf differ diff --git a/pub/icons/facebook-icon.png b/pub/icons/facebook-icon.png new file mode 100644 index 0000000..760b4ee Binary files /dev/null and b/pub/icons/facebook-icon.png differ diff --git a/pub/icons/instagram-icon.png b/pub/icons/instagram-icon.png new file mode 100644 index 0000000..8f24d2d Binary files /dev/null and b/pub/icons/instagram-icon.png differ diff --git a/pub/icons/telegram-icon.png b/pub/icons/telegram-icon.png new file mode 100644 index 0000000..9f839c3 Binary files /dev/null and b/pub/icons/telegram-icon.png differ diff --git a/pub/icons/vk-icon.png b/pub/icons/vk-icon.png new file mode 100644 index 0000000..b94dd6f Binary files /dev/null and b/pub/icons/vk-icon.png differ diff --git a/pub/icons/youtube-icon.png b/pub/icons/youtube-icon.png new file mode 100644 index 0000000..30e0422 Binary files /dev/null and b/pub/icons/youtube-icon.png differ diff --git a/single.php b/single.php new file mode 100644 index 0000000..359f218 --- /dev/null +++ b/single.php @@ -0,0 +1,10 @@ + + +

+ <?the_title();?> +

+ + + + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..4b9d126 --- /dev/null +++ b/style.css @@ -0,0 +1,258 @@ +/* +Theme Name: vij +Theme URI: https://vetandlife.ru +Description: Ветеринария и жизнь +Version: 0.1 +Author: AK Delfin +Author URI: masterforweb@hotmail.com +*/ + +/** + * Reset CSS + */ + + /** + a,abbr,acronym,address,applet,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,iframe,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,ul,var{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}html{font-size:62.5%;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{background:#fff}article,aside,details,figcaption,figure,footer,header,main,nav,section{display:block}ol,ul{list-style:none}table{border-collapse:separate;border-spacing:0}caption,td,th{font-weight:400;text-align:left}blockquote:after,blockquote:before,q:after,q:before{content:""}blockquote,q{quotes:"" ""}a:focus{outline:thin dotted}a:active,a:hover{outline:0}a img{border:0} + img, embed, iframe, object { + max-width: 100%; + } + */ + + +/** +fonts +*/ + +/* Обычный */ +@font-face { + font-family: 'GrtskPeta'; + font-style: normal; + font-weight: normal; + src: url(/wp-content/themes/vij/pub/fonts/GrtskPeta-Regular.ttf); + +} + +/* Жирный */ +@font-face { + font-family: 'GrtskPeta'; + font-style: normal; + font-weight: bold; + src: url(/wp-content/themes/vij/pub/fonts/GrtskPeta-Bold.ttf); +} + + + + + + + /* Убираем внешние отступы */ +body, +h1, +h2, +h3, +h4, +p, +ul, +ol, +li, +figure, +figcaption, +blockquote, +dl, +dd { + margin: 0; +} + + ul, ol { + list-style: none; +} + +a{ + color: black; + text-decoration: none; +} + + + * { + box-sizing: border-box; + } + + body { + display: flex; + min-height: 100vh; + font-family: 'GrtskPeta'; + flex-direction: column; + margin: 0; + background-color: #FFFFFF; + } + #main { + display: flex; + flex: 1; + } + #main > article { + flex: 1; + } + #main > #left, + #main > aside { + flex: 0 0 20vw; + background: beige; + } + #main > #left { + order: -1; + } + + header{ + background-color: white; + display: flex; + flex-direction: + justify-content: space-between; + + } + + + /** - menus -- */ + ul.menu_main{ + display: flex; + padding: 5px; + } + + ul.menu_main li{ + margin: 5px; + padding: 15px; + font-weight: bold; + font-size: 15px; + } + + + ul.menu_left{ + display: flex; + flex-direction: column; + } + + ul.menu_left li{ + font-weight: bold; + font-size: 12px; + line-height: 150%; + text-transform: uppercase; + } + + + ul.menu_footer{ + display: flex; + padding: 5px; + } + + ul.menu_footer li{ + margin: 5px; + padding: 15px; + font-weight: bold; + font-size: 15px; + } + + + + footer { + background: #E2E2E2; + height: 20vh; + + + + } + + header, footer, article, nav, aside { + padding: 1em; + } + + #main{ + padding: 24px; + } + + #header-contact{ + display: flex; + flex-direction: column; + } + + /* +7 (495) 925 06 34 info@vetandlife.ru */ + + #head_tel{ + font-weight: bold; + } + + #head_mail a{ + color: blue; + text-decoration: underline; + } + + + + h1{ + margin: 18px 0 18px 0; + font-family: 'GrtskPeta'; + font-size: 36px; + font-weight: bold; + } + + .card{ + margin: 8px 0 8px 0; + } + + .card-title{ + font-family: 'GrtskPeta'; + font-size: 36px; + } + + .card-text{ + font-family: 'GrtskPeta'; + font-size: 18px; + line-height: 140%; + padding: 8px; + } + + .news_date{ + color: #909294; + font-family: 'GrtskPeta'; + font-size: 13px; + padding: 8px 0 8px 0; + } + +/** socials */ + +#socials{ + display: flex; +} + + +.soc_btn{ + height: 24px; + width: 24px; + border-radius: 10px; + border: 1px solid #E9EAEB; + + +} + +.soc_telegram{ + background: url(/wp-content/themes/vij/pub/icons/telegram-icon.png) no-repeat; +} + +.soc_youtube{ + background: url(/wp-content/themes/vij/pub/icons/youtube-icon.png) no-repeat; +} + +.soc_vk{ + background: url(/wp-content/themes/vij/pub/icons/vk-icon.png) no-repeat; +} + +.soc_fb{ + background: url(/wp-content/themes/vij/pub/icons/facebook-icon.png) no-repeat; +} + +.soc_instagram{ + background: url(/wp-content/themes/vij/pub/icons/instagram-icon.png) no-repeat; +} + + + + + + \ No newline at end of file