h3{
color: #555;
font-size: 20px;
margin-top: 10px;
}
h2{
margin-bottom: 60px;
font-size: 31px;
}
div.row div.img{
height: 210px;
background-size: contain;
background-repeat: no-repeat;
}
div.row:first-of-type div.img{
background-image: url(//bsdm.by/wp-content/themes/bsdm/img/news1.jpeg);
}
div.row:nth-of-type(2) div.img{
background-image: url(//bsdm.by/wp-content/themes/bsdm/img/news3.jpg);
}
section.text{
padding-top: 50px;
}
mark{
background-color: white;
position: relative;
top: 2px;
}
h4{
color: #323231;
font-family: "Open Sans";
margin-top: 15px;
margin-bottom: 15px;
}
section.text p{
color: #555;
font-size: 18px;
}
li{
font-size: 18px;
}
.news{
margin-bottom: 30px;
margin-top: 30px;
}
div.news:hover{
padding-left: 20px;
box-shadow: 0 0 20px #504e06;
transition-duration: 2s;
}
@media all and (max-width: 992px){
h4{
font-size: 15px;
margin-top: 7px;
margin-bottom: 7px;
}
section.text p{
font-size: 13px;
}
p, li {
font-size: 13px;
}
mark{
font-size: 10px;
top: -1px;
}
svg{
width: 15px;
height: 15px;
}
h3{
font-size: 14px;
}
.img{
padding: 0;
}
h2 {
margin-bottom: 60px;
font-size: 31px;
}
}
@media all and (max-width: 576px){
h2 {
margin-bottom: 25px;
font-size: 24px;
}
section.text p {
font-size: 9px;
}
h4 {
font-size: 10px;
}
div.row div.img {
height: 100px;
}
mark{
font-size: 8px;
top: -1px;
}
svg{
width: 11px;
height: 11px;
}
.news {
margin-bottom: 10px;
margin-top: 10px;
padding-top: 10px;
}
}
@media all and (max-width: 425px){
h2{
margin-bottom: 10px;
font-size: 12px;
}
.col-7{
flex-grow: 2;
}
h3 {
font-size: 7px;
margin-top: 6px;
}
section.text {
padding-top: 25px;
}
section.text p{
font-size: 7px;
}
mark{
font-size: 6px;
top: -1px;
}
svg{
width: 10px;
height: 10px;
}
div.row div.img {
height: 72px;
margin-top: 10px;
}
h4{
margin-top: 1px;
margin-bottom: 1px;
font-size: 7px;
}
.news {
margin-bottom: 5px;
margin-top: 5px;
padding-top: 5px;
}
}