add search
This commit is contained in:
487
style.css
487
style.css
@@ -110,18 +110,143 @@ a{
|
||||
max-width: 330px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-right: 28px;
|
||||
border-right: 28px solid #F2F2F2;
|
||||
/** margin-right: 28px;
|
||||
border-right: 28px solid #F2F2F2;*/
|
||||
|
||||
}
|
||||
|
||||
#vert-title{
|
||||
width: 48px;
|
||||
background: #F2F2F2;
|
||||
|
||||
}
|
||||
|
||||
#main-arrow{
|
||||
background: url(/wp-content/themes/vij/pub/icons/main-arrow.png) no-repeat;
|
||||
width: 51px;
|
||||
height: 130px;
|
||||
}
|
||||
|
||||
|
||||
.wrap{
|
||||
transform: translate(-50%, -50%);
|
||||
width: 0px;
|
||||
height: 55px;
|
||||
line-height: 55px;
|
||||
border-radius: 35px;
|
||||
background: #F2F2F2;
|
||||
/*transition: all 0.5s ease;
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.5);
|
||||
transition: all 0.5s ease;*/
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 55px;
|
||||
margin-left: 35px;
|
||||
}
|
||||
|
||||
.input{
|
||||
border: 0;
|
||||
background: transparent;
|
||||
width: 0%;
|
||||
outline: none;
|
||||
font-size: 18px;
|
||||
color: black;
|
||||
transition: all 0.3s ease;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.wrap .fa{
|
||||
color: black;
|
||||
position: absolute;
|
||||
right: 17px;
|
||||
top: 15px;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.wrap.active{
|
||||
width: 200px;
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
|
||||
.input.active{
|
||||
width: 98%;
|
||||
padding-left: 5px;
|
||||
transition: all 0.5s 0.8s ease;
|
||||
}
|
||||
|
||||
.input::placeholder {
|
||||
color: #909294;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
|
||||
#search-form{
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.search_submit {
|
||||
background: #F18129;
|
||||
border-radius: 35px;
|
||||
border: 1px solid #F18129;
|
||||
color: white;
|
||||
padding: 8px 8px;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
line-height: 110%;
|
||||
width: 134px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.search-text{
|
||||
width: 60%;
|
||||
height: 50px;
|
||||
border-radius: 35px;
|
||||
border: 1px solid #F2F2F2;
|
||||
background: #F2F2F2;
|
||||
font-size: 18px;
|
||||
line-height: 22px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.search-result{
|
||||
font-size: 14px;
|
||||
line-height: 160%;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
|
||||
/** #vert-title div{
|
||||
|
||||
background: #F18129;
|
||||
writing-mode: tb-rl;
|
||||
transform:rotate(180deg);
|
||||
width: 100%;
|
||||
color: white;
|
||||
|
||||
font-weight: bold;
|
||||
font-size: 11px;
|
||||
line-height: 150%;
|
||||
letter-spacing: 0.095em;
|
||||
text-transform: uppercase;
|
||||
padding: 48px 12px 48px 12px;
|
||||
clip-path: polygon(100% 0%, 100% 51%, 100% 100%, 29% 100%, 0% 50%, 29% 0);
|
||||
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
#right{
|
||||
max-width: 330px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-left: 1px solid #E9EAEB;
|
||||
padding-left: 12px;
|
||||
|
||||
}
|
||||
|
||||
header{
|
||||
@@ -136,48 +261,64 @@ a{
|
||||
#footer_menu{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
#footer_menu > div:nth-child(2){
|
||||
margin-left: auto;
|
||||
/** margin-left: auto; */
|
||||
}
|
||||
|
||||
|
||||
#footer_up{
|
||||
width: 20%;
|
||||
width: 30%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#footer_info{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
border-top: 1px solid #D5D5D6;
|
||||
border-bottom: 1px solid #D5D5D6;
|
||||
margin-bottom: 28px;
|
||||
padding-top: 28px;
|
||||
padding-bottom: 28px;
|
||||
|
||||
}
|
||||
|
||||
#footer_qr{
|
||||
width: 300px;
|
||||
width: 20%;
|
||||
margin-right: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#footer-contact{
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
#footer_subscript{
|
||||
margin-left: 32px;
|
||||
margin-right: 22px;
|
||||
margin-top: 12px;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
#footer_logo{
|
||||
margin-left: 12px;
|
||||
margin-right: 32px;
|
||||
width: 150px;
|
||||
|
||||
}
|
||||
|
||||
#footer_social{
|
||||
margin-left: 12px;
|
||||
margin-right: 12px;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.sub_button {
|
||||
background: #F18129;
|
||||
border-radius: 55px;
|
||||
@@ -186,9 +327,13 @@ a{
|
||||
padding: 10px 28px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-size: 11px;
|
||||
line-height: 110%;
|
||||
height: 55px;
|
||||
}
|
||||
|
||||
.vazh{
|
||||
@@ -199,24 +344,27 @@ a{
|
||||
|
||||
#footer_2{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#footer_3{
|
||||
display: flex;
|
||||
margin-top: 12px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 28px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
#rating{
|
||||
width: 20%;
|
||||
text-align: right;
|
||||
margin-right: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#pere{
|
||||
width: 40%;
|
||||
font-size: 12px;
|
||||
line-height: 150%;
|
||||
margin-left: 18px;
|
||||
color: #909294;
|
||||
}
|
||||
|
||||
@@ -225,7 +373,7 @@ a{
|
||||
font-size: 13px;
|
||||
line-height: 150%;
|
||||
margin-right: 8px;
|
||||
width: 300px;
|
||||
width: 20%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -234,6 +382,8 @@ a{
|
||||
color: #444444;
|
||||
font-size: 13px;
|
||||
line-height: 150%;
|
||||
width: 80%;
|
||||
|
||||
}
|
||||
|
||||
#svid li{
|
||||
@@ -242,6 +392,11 @@ a{
|
||||
|
||||
|
||||
|
||||
.sp-button{
|
||||
color: orange;
|
||||
}
|
||||
|
||||
|
||||
/** - menus -- */
|
||||
ul.menu_main{
|
||||
display: flex;
|
||||
@@ -261,7 +416,6 @@ a{
|
||||
flex-direction: column;
|
||||
background-color: #00466A;
|
||||
padding: 32px 22px 22px 32px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
ul.menu_left li{
|
||||
@@ -307,7 +461,7 @@ a{
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
header, footer, article, nav, #right {
|
||||
header, article, nav{
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
@@ -329,7 +483,7 @@ a{
|
||||
}
|
||||
|
||||
#head_mail a{
|
||||
color: blue;
|
||||
color: #2D9CDB;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@@ -375,23 +529,34 @@ a{
|
||||
background: #F5F5F5;
|
||||
}
|
||||
|
||||
.pagination-wrapper{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.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{
|
||||
color: #909294;
|
||||
}
|
||||
|
||||
a.page-numbers:hover {
|
||||
|
||||
background: #f9f9f9;
|
||||
color: #909294;
|
||||
}
|
||||
|
||||
.page-numbers.current{
|
||||
font-weight: bold;
|
||||
font-size: 22px;
|
||||
line-height: 140%;
|
||||
color: #171717;
|
||||
}
|
||||
|
||||
|
||||
h1{
|
||||
@@ -401,6 +566,50 @@ a{
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
#mainpage-title{
|
||||
margin-top: 42px;
|
||||
}
|
||||
|
||||
site-header .search-form {
|
||||
position: absolute;
|
||||
right: 200px;
|
||||
top: 200px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.site-header .search-field {
|
||||
background-color: transparent;
|
||||
background-image: url(images/search-icon.png);
|
||||
background-position: 5px center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 24px 24px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
height: 37px;
|
||||
margin: 3px 0;
|
||||
padding: 0 0 0 34px;
|
||||
position: relative;
|
||||
-webkit-transition: width 400ms ease, background 400ms ease;
|
||||
transition: width 400ms ease, background 400ms ease;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.site-header .search-field:focus {
|
||||
background-color: #fff;
|
||||
border: 2px solid #c3c0ab;
|
||||
cursor: text;
|
||||
outline: 0;
|
||||
width: 230px;
|
||||
}
|
||||
|
||||
.search-form
|
||||
.search-submit {
|
||||
display:none;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.mini-card-block{
|
||||
display: grid;
|
||||
@@ -456,6 +665,7 @@ a{
|
||||
.main-card-title{
|
||||
font-family: 'GrtskPeta';
|
||||
font-size: 36px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.main-card-text{
|
||||
@@ -466,6 +676,10 @@ a{
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.main-card IMG{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -578,6 +792,8 @@ a{
|
||||
.left_opinion img{
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
width: 84px;
|
||||
height: 84px;
|
||||
}
|
||||
|
||||
.left_opinion_title{
|
||||
@@ -650,19 +866,34 @@ a{
|
||||
|
||||
.right_archive{
|
||||
margin-bottom: 22px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.right_archive_img{
|
||||
width: 280px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.right_archive_text{
|
||||
font-size: 15px;
|
||||
line-height: 130%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.right_archive_link{
|
||||
font-size: 15px;
|
||||
line-height: 130%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.right_archive_link a{
|
||||
color: #909294;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.yets_rubric{
|
||||
color: #F18129;
|
||||
@@ -679,14 +910,15 @@ a{
|
||||
.yets{
|
||||
display: grid;
|
||||
grid-gap: 1rem;
|
||||
grid-template-columns: repeat(auto-fi, minmax(300px, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
margin-top: 8px;
|
||||
margin-bottom: 28px;
|
||||
padding: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.yet_card{
|
||||
padding: 12px;
|
||||
padding: 32px 28px 32px 28px;
|
||||
background: #E9EAEB;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -723,23 +955,122 @@ a{
|
||||
color: #909294;
|
||||
}
|
||||
|
||||
|
||||
#subscript-mail{
|
||||
padding-left: 22px;
|
||||
padding-right: 22px;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 22px;
|
||||
|
||||
}
|
||||
|
||||
#subscript_box{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#convert{
|
||||
|
||||
width: 87px;
|
||||
height: 87px;
|
||||
border: 1px solid #E9EAEB;
|
||||
box-sizing: border-box;
|
||||
background: url(/wp-content/themes/vij/pub/icons/mail.png) no-repeat;
|
||||
background-position: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.form-right input{
|
||||
width: 230px;
|
||||
height: 50px;
|
||||
border-radius: 35px;
|
||||
background: #F2F2F2;
|
||||
border: 1px solid #F2F2F2;
|
||||
margin-bottom: 12px;
|
||||
padding-left: 28px;
|
||||
}
|
||||
|
||||
.frm_mail{
|
||||
width: 240px;
|
||||
height: 50px;
|
||||
border-radius: 35px;
|
||||
border: 1px solid #F2F2F2;
|
||||
background: #F2F2F2;
|
||||
font-size: 12px;
|
||||
line-height: 110%;
|
||||
}
|
||||
|
||||
.frm_submit {
|
||||
background: #F18129;
|
||||
border-radius: 35px;
|
||||
border: 1px solid #F18129;
|
||||
color: white;
|
||||
padding: 10px 28px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
line-height: 110%;
|
||||
width: 234px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
|
||||
.right_title{
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
line-height: 130%;
|
||||
text-align: center;
|
||||
margin-top: 22px;
|
||||
margin-bottom: 12px;
|
||||
padding-left: 28px;
|
||||
padding-right: 28px;
|
||||
}
|
||||
|
||||
.form-right{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/** socials */
|
||||
|
||||
#socials{
|
||||
display: flex;
|
||||
margin: 0 12px 32px 12px;
|
||||
margin-bottom: 18px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#socials_footer{
|
||||
display: flex;
|
||||
margin: 12px 12px 32px 12px;
|
||||
margin: 0 12px 0 12px;
|
||||
}
|
||||
|
||||
.btn_soc{
|
||||
margin-right: 18px;
|
||||
padding: 10px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #E9EAEB;
|
||||
border: 1px solid #D5D5D6;
|
||||
}
|
||||
|
||||
.btn_soc_post{
|
||||
@@ -747,21 +1078,30 @@ a{
|
||||
}
|
||||
|
||||
|
||||
.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;
|
||||
width: 4em;
|
||||
height: 4em;
|
||||
line-height: 4em;
|
||||
text-align: center;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
.btn_soc{
|
||||
margin-right: 18px;
|
||||
padding: 10px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #D5D5D6;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.soc_telegram{
|
||||
background: url(/wp-content/themes/vij/pub/icons/telegram-icon.png) no-repeat;
|
||||
}
|
||||
@@ -803,6 +1143,26 @@ img-fluid{
|
||||
|
||||
|
||||
@media screen and ( max-width: 580px ) {
|
||||
|
||||
#left{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#right{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.main-card-title{
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
|
||||
#content{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.toggle-nav {
|
||||
display: inline-block !important;
|
||||
@@ -854,12 +1214,65 @@ img-fluid{
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
|
||||
.post-h1{
|
||||
font-weight: 24px;
|
||||
}
|
||||
|
||||
.img-fluid{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.main.menu li:after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#footer_logo{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#footer_qr{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
#footer_menu{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
#pere{
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
|
||||
#footer_subscript{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.footer_sub{
|
||||
width: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
#svid{
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
#socials_footer{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -879,6 +1292,10 @@ img-fluid{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#vert-title{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#nav_content{
|
||||
display: none;
|
||||
}
|
||||
@@ -925,6 +1342,8 @@ and (max-device-width : 667px) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user