Featured in evidenza swiper slider
This commit is contained in:
@ -19,7 +19,7 @@ article{
|
||||
|
||||
|
||||
.blog-featured{
|
||||
margin:60px 0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
|
||||
@ -1801,3 +1801,61 @@ text-decoration: none;
|
||||
font-size: 1rem;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
.featured .item-title, .featured .item-title a{
|
||||
color: #000;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 600;
|
||||
line-height: .9rem;
|
||||
}
|
||||
|
||||
.featured .item-title a:hover{
|
||||
color: #C3334B;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.featured .item-content{
|
||||
background-color: #F5F5F5;
|
||||
padding: 1rem;
|
||||
font-size: .9rem;
|
||||
}
|
||||
.titolo-featured {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #000;
|
||||
font-family: "Titillium Web";
|
||||
font-size: 30px;
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.titolo-featured::before {
|
||||
content: "";
|
||||
display: block;
|
||||
width:30%;
|
||||
height:4px;
|
||||
background-color:#CC334B;
|
||||
margin-right: 30px;
|
||||
flex-shrink: 0; /* Impedisce alla linea di ridimensionarsi */
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.titolo-featured {
|
||||
font-size: 1rem; /* Dimensione più piccola su dispositivi stretti */
|
||||
}
|
||||
|
||||
.titolo-featured::before {
|
||||
width: 30px; /* Accorcia la linea su dispositivi stretti */
|
||||
}
|
||||
}
|
||||
|
||||
.featured a.leggimore {
|
||||
color:#CC334B;
|
||||
fill: #CC334B;
|
||||
-webkit-text-fill-color: #CC334B;
|
||||
}
|
||||
|
||||
.featured a.leggimore svg{
|
||||
display: none!important;
|
||||
}
|
||||
@ -1510,7 +1510,15 @@ a.view-all{
|
||||
padding: 0 18px;
|
||||
}
|
||||
|
||||
|
||||
.container-jit{
|
||||
--bs-gutter-x: 24px;
|
||||
--bs-gutter-y: 0;
|
||||
width: 100%;
|
||||
padding-right: calc(var(--bs-gutter-x)* 2);
|
||||
padding-left: calc(var(--bs-gutter-x)* 2);
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
@supports (display: grid) {
|
||||
.blog-items {
|
||||
@ -1543,6 +1551,10 @@ a.view-all{
|
||||
.blog-items.columns-4 {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.blog-items.columns-4 {
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
13
media/templates/site/joomla-italia-theme/css/swiper-bundle.min.css
vendored
Normal file
13
media/templates/site/joomla-italia-theme/css/swiper-bundle.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
14
media/templates/site/joomla-italia-theme/js/swiper-bundle.min.js
vendored
Normal file
14
media/templates/site/joomla-italia-theme/js/swiper-bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user