/* 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; width: 100%; font-family: 'GrtskPeta'; flex-direction: column; margin: 0; background-color: #FFFFFF; } #main { display: flex; flex: 1; } #main > article { flex: 1; } #main > #left, #main > #right { flex: 0 0 20vw; } #main > #left { order: -1; } #left{ max-width: 330px; display: flex; flex-direction: column; margin-right: 28px; } #right{ max-width: 330px; display: flex; flex-direction: column; } header{ background-color: white; display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; } #footer_menu{ display: flex; align-items: center; } #footer_menu > div:nth-child(2){ margin-left: auto; } /** - 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; background-color: #00466A; padding: 32px 22px 22px 32px; margin-bottom: 22px; } ul.menu_left li{ font-weight: bold; font-size: 14px; line-height: 150%; /*text-transform: uppercase;*/ padding-top: 4px; padding-bottom: 4px; } ul.menu_left li a{ color: white; } .current-menu-item { color: #2D9CDB; } 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;*/ } #footer_up{ text-transform: uppercase; font-weight: bold; font-size: 12px; } header, footer, article, nav, #right { padding: 1em; } #main{ padding: 0 8px 0 8px; } #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; } #header_icons{ display: flex; } #header_icons li{ width: 20px; height: 15px; margin-left: 18px; } .btn_search{ background: url(/wp-content/themes/vij/pub/icons/union.png) no-repeat; } .btn_rss{ background: url(/wp-content/themes/vij/pub/icons/header-rss.png) no-repeat; } h1{ font-family: 'GrtskPeta'; font-size: 36px; font-weight: bold; margin-bottom: 18px; } .mini-card-block{ display: grid; grid-template-columns: repeat(auto-fit, minmax(372px, 372px)); grid-gap: 2rem; } .mini-card-title{ font-family: 'GrtskPeta'; font-size: 18px; } .mini-card-img{ width: 372px; height: 216px; } .main-card{ padding-bottom: 22px; margin: 8px 0 32px 0; border-bottom: 1px solid #E9EAEB; /*text-align: center; */ } .main-card-title{ font-family: 'GrtskPeta'; font-size: 36px; } .main-card-text{ font-family: 'GrtskPeta'; font-size: 18px; text-align: left; line-height: 140%; padding: 8px; } .news_date{ color: #909294; font-family: 'GrtskPeta'; font-size: 13px; padding: 8px 0 8px 0; } #events_left{ padding: 8px; } .event{ padding: 18px 0 18px 0; font-size: 16px; border-bottom: 1px solid #E9EAEB; } #mosts{ background-color: #00466A; width: 100%; padding: 22px; } .most_title{ color: #2D9CDB; } .most{ padding: 12px 0 12px 0; color: #FFFFFF; font-size: 16px; line-height: 22.4px; } .most a{ color: #FFFFFF; } .left_preview{ border-radius: 50%; width: 95px; height: 84px; } .publ_expert{ font-size: 16px; font-weight: bold; margin-bottom: 18px; } .post_info{ font-size: 14px; color: #444444; margin-bottom: 12px; } .post_img_title{ color: #909294; text-align: center; padding: 12px 0 12px 0; } .post_img_title a{ color: #909294; } .post_link_category a { color: #2D9CDB; } .post_info{ display: flex; font-size: 14px; } .post_info_sub{ width: 50%; } .post_panel_info{ display: flex; font-size: 14px; border-top: 1px solid #E9EAEB; border-bottom: 1px solid #E9EAEB; padding: 18px 0 18px 0; margin: 24px 0 18px 0; } .post_panel_info_sub{ width: 50%; } .left_opinion{ display: flex; flex-direction: column; background: #F5F5F5; padding: 18px; } .left_opinion img{ margin-top: 8px; margin-bottom: 8px; } .left_opinion_title{ margin-bottom: 8px; font-weight: bold; } .left_opinion_text{ font-size: 16px; font-weight: bold; } .left_citata{ display: flex; flex-direction: column; padding: 18px; } .left_citata img{ margin-top: 8px; margin-bottom: 8px; } .left_citata_title{ margin-bottom: 8px; font-weight: bold; } .left_citata_text{ font-size: 16px; font-weight: bold; } .moread{ display: grid; grid-template-columns: repeat(auto-fit, minmax(372px, 380px)); grid-gap: 1rem; margin-top: 8px; margin-bottom: 28px; } .moread_card{ padding-right: 12px; } .moread_rubric{ padding-top: 28px; padding-bottom: 8px; font-weight: bold; } .moread_title{ margin-top: 8px; margin-bottom: 8px; font-weight: bold; } .moread_card IMG{ width: 372px; height: 216px; float: top; } .moread_date{ color: #909294; font-size: 13px; } .yets_rubric{ color: #F18129; text-transform: uppercase; font-weight: bold; font-size: 13px; line-height: 110%; margin-top: 32px; margin-bottom: 32px; border-top: 1px solid #E9EAEB; padding-top: 28px; } .yets{ display: grid; grid-template-columns: repeat(auto-fit, minmax(372px, 380px)); grid-gap: 1rem; margin-top: 8px; margin-bottom: 28px; } .yet_card{ padding: 12px; background: #E9EAEB; font-weight: bold; } .publ-to-main{ text-align: center; margin-bottom: 22px; } .go-to-main{ color: #909294; } .arrow-go-main{ font-weight: bold; } .post_author{ color: #171717; font-size: 14px; margin-bottom: 14px; } #form_subscript{ margin-bottom: 32px; } /** socials */ #socials{ display: flex; margin: 0 12px 32px 12px; } .btn_soc{ margin-right: 18px; padding: 10px; border-radius: 50%; border: 1px solid #E9EAEB; } .btn_soc_post{ margin-left: } .soc_btn{ height: 24px; width: 24px; /*border-radius: 10px;*/ border: 1px solid #E9EAEB; } #rating{ border-radius: 50%; background-color: white; } .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; }