820 lines
12 KiB
CSS
820 lines
12 KiB
CSS
/*
|
|
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;
|
|
border-right: 28px solid #F2F2F2;
|
|
|
|
}
|
|
|
|
|
|
#right{
|
|
max-width: 330px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-left: 1px solid #E9EAEB;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
|
|
#footer_up{
|
|
width: 20%;
|
|
text-align: right;
|
|
}
|
|
|
|
#footer_info{
|
|
display: flex;
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
#footer_qr{
|
|
width: 300px;
|
|
margin-right: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
#footer_subscript{
|
|
margin-left: 32px;
|
|
margin-right: 22px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
#footer_logo{
|
|
margin-left: 12px;
|
|
margin-right: 32px;
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
#footer_social{
|
|
margin-left: 12px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.sub_button {
|
|
background: #F18129;
|
|
border-radius: 55px;
|
|
border: 1px solid #F18129;
|
|
color: white;
|
|
padding: 10px 28px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 16px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.vazh{
|
|
font-size: 9px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.45em;
|
|
}
|
|
|
|
#footer_2{
|
|
display: flex;
|
|
}
|
|
|
|
#footer_3{
|
|
display: flex;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
#rating{
|
|
width: 20%;
|
|
text-align: right;
|
|
margin-right: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
#pere{
|
|
width: 40%;
|
|
font-size: 12px;
|
|
line-height: 150%;
|
|
color: #909294;
|
|
}
|
|
|
|
#copy{
|
|
color: #171717;
|
|
font-size: 13px;
|
|
line-height: 150%;
|
|
margin-right: 8px;
|
|
width: 300px;
|
|
text-align: center;
|
|
}
|
|
|
|
#svid{
|
|
display: flex;
|
|
color: #444444;
|
|
font-size: 13px;
|
|
line-height: 150%;
|
|
}
|
|
|
|
#svid li{
|
|
margin-right: 18px;
|
|
}
|
|
|
|
|
|
|
|
/** - 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;
|
|
margin-top: 12px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
/* +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;
|
|
}
|
|
|
|
|
|
#content{
|
|
margin-right: 58px;
|
|
margin-left: 58px;
|
|
padding-bottom: 28px;
|
|
max-width: 880px;
|
|
}
|
|
|
|
#content p{
|
|
margin-top: .5em; /* Отступ сверху */
|
|
margin-bottom: 1em; /* Отступ снизу */
|
|
}
|
|
|
|
#content IMG{
|
|
max-width: 700px;
|
|
}
|
|
|
|
.page-numbers {
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
margin: 0 2px 0 0;
|
|
border: 1px solid #eee;
|
|
line-height: 1;
|
|
text-decoration: none;
|
|
border-radius: 2px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.page-numbers.current,
|
|
|
|
a.page-numbers:hover {
|
|
|
|
background: #f9f9f9;
|
|
|
|
}
|
|
|
|
|
|
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{
|
|
max-width: 372px;
|
|
}
|
|
|
|
|
|
.mini-card-title{
|
|
font-family: 'GrtskPeta';
|
|
font-size: 18px;
|
|
}
|
|
|
|
.mini-card-img{
|
|
width: 372px;
|
|
height: 216px;
|
|
}
|
|
|
|
|
|
#nav_content{
|
|
display: flex;
|
|
padding:0;
|
|
padding-bottom: 28px;
|
|
margin-top: 28px;
|
|
margin-bottom: 28px;
|
|
border-bottom: 1px solid #E9EAEB;
|
|
}
|
|
|
|
#nav_content li{
|
|
margin-right: 8px;
|
|
color: #909294;
|
|
}
|
|
|
|
#nav_content li a{
|
|
color: #909294;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.right_archive{
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.right_archive_img{
|
|
width: 280px;
|
|
}
|
|
|
|
.right_archive_text{
|
|
font-size: 15px;
|
|
line-height: 130%;
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
.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-gap: 1rem;
|
|
grid-template-columns: repeat(auto-fit, 320px);
|
|
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;
|
|
}
|
|
|
|
#tags{
|
|
color: #909294;
|
|
}
|
|
|
|
#tags a{
|
|
color: #909294;
|
|
}
|
|
|
|
/** socials */
|
|
|
|
#socials{
|
|
display: flex;
|
|
margin: 0 12px 32px 12px;
|
|
}
|
|
|
|
#socials_footer{
|
|
display: flex;
|
|
margin: 12px 12px 32px 12px;
|
|
}
|
|
|
|
.btn_soc{
|
|
margin-right: 18px;
|
|
padding: 10px;
|
|
border-radius: 50%;
|
|
border: 1px solid #E9EAEB;
|
|
}
|
|
|
|
.btn_soc_post{
|
|
margin-left: 12px;
|
|
}
|
|
|
|
|
|
.soc_btn{
|
|
height: 24px;
|
|
width: 24px;
|
|
/*border-radius: 10px;*/
|
|
border: 1px solid #E9EAEB;
|
|
}
|
|
|
|
.rating{
|
|
border-radius: 50%;
|
|
background-color: white;
|
|
padding: 8px;
|
|
color: white;
|
|
background: #ACACAC;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
img-fluid{
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
#left{
|
|
display: none;
|
|
}
|
|
|
|
#mainmenu{
|
|
display: none;
|
|
}
|
|
|
|
#right{
|
|
display: none;
|
|
}
|
|
|
|
#nav_content{
|
|
display: none;
|
|
}
|
|
|
|
#header-contact{
|
|
display: none;
|
|
}
|
|
|
|
#content{
|
|
margin: 8px;
|
|
width: 540px;
|
|
}
|
|
|
|
.img-fluid{
|
|
max-width: 80%;
|
|
}
|
|
|
|
|
|
.post_info_social{
|
|
display: none;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|