:root {
--primary-color: #d9306b; --secondary-color: #f89c40; --background-color: #a2043c; --text-color: #444343; }
a.hfe-menu-item:focus {
outline: unset !important;
}  #results-container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
justify-content: space-between;
img {
width: 100%;
height: 250px;
object-fit: contain;
}
}
.projets-posts {
display: flex;
flex-direction: column;
margin-bottom: 20px; margin-bottom: 20px; box-sizing: border-box;
border-radius: 7px;
box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
padding: 16px;
transition: 0.3s;
.lire-suite {
transition: transform 0.5s ease;
text-align: center;
}
.lire-suite:hover {
transform: translateY(-2px);
}
.lire-suite a {
color: var(--secondary-color);
font-family: 'Verdana';
font-size: 14px;
font-weight: 500;
}
.lire-suite a:hover {
color: var(--background-color);
}
}
.posts-infos h3 {
text-align: center;
font-size: 18px;
font-weight: 500;
text-transform: uppercase;
font-family: 'Capriola';
color: var(--primary-color);
margin-top: 15px;
} .titre-archives {
width: 1140px;
margin: 30px auto 40px auto;
}
.titre-archives h1 {
color: var(--primary-color);
font-weight: 500;
font-size: 48px;
font-family: 'Capriola';
}
.titre-archives p {
color: var(--text-color);
font-size: 15px;
font-weight: 400;
font-family: "Verdana", serif;
}
.grid-archive {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 30px;
width: 1140px;
margin: 0 auto;
} .card {
display: flex;
flex-direction: column;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.card-img {
width: 100%;
height: 250px;
object-fit: contain;
border-radius: 10px 10px 0 0;
}
.card-body {
padding: 0 15px 15px 15px;
}
.card-title {
margin-top: 15px;
}
.card-title a {
font-size: 20px;
font-weight: 500;
font-family: 'Capriola';
color: var(--primary-color);
margin-bottom: 10px;
}
.card-title a:hover {
color: var(--background-color);
}
.card-excerpt {
font-size: 12px;
color: var(--text-color);
margin-bottom: 15px;
font-family: 'Verdana', serif;
}
.card-link {
display: inline-block;
color: var(--background-color);
font-size: 12px;
font-family: 'Capriola';
font-weight: 500;
text-transform: uppercase;
border: 1px solid white;
border-radius: 20px;
padding: 5px 10px 5px 10px;
}
.card-link:hover {
color: var(--secondary-color);
border: 1px solid var(--secondary-color);
} .pagination {
margin: 20px 0;
text-align: center;
}
.pagination a {
display: inline-block;
margin: 0 5px;
padding: 10px 15px;
color: var(--secondary-color);
text-decoration: none;
border: 1px solid #ddd;
border-radius: 5px;
font-family: 'Verdana';
font-weight: 500;
}
.pagination a:hover {
background-color: #f1f1f1;
color: var(--background-color);
}
.pagination .current {
background-color: var(--background-color);
color: var(--background-color) !important;
border: 1px solid var(--background-color);
padding: 15px;
border-radius: 5px;
font-family: 'Verdana';
font-weight: 500;
} .content,
.navigation-projects {
background-color: rgba(0, 0, 0, 0.02);
}
.content-sidebar-wrapper {
width: 1140px;
margin: 0 auto;
display: flex;
flex-direction: row;
}
.post-bg {
padding: 50px 0 150px 0;
background-color: rgb(248, 156, 64, 0.2);
}
.title-blog {
width: 1140px;
margin: 0 auto;
display: flex;
align-items: center;
h1 {
font-size: 38px;
font-weight: 700;
margin-right: 100px;
color: var(--primary-color);
font-family: 'Capriola';
text-transform: uppercase;
border: none !important;
}
img {
width: 500px;
height: 280px;
object-fit: cover;
}
}
.entry-content-post {
flex-basis: 70%;
padding-right: 20px;
background-color: #fff;
border-radius: 6px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
padding: 20px;
margin-top: -80px;
font-size: 15px;
font-weight: 300;
font-family: 'Verdana';
li {
font-size: 15px;
font-family: 'Verdana';
font-weight: 300;
}
}
.sidebar {
flex-basis: 30%;
padding: 20px 20px 20px 40px;
}
.recent-articles,
.social-buttons {
margin-bottom: 40px;
h2 {
font-size: 18px;
font-weight: 700;
font-family: 'Capriola';
text-transform: uppercase;
}
}
.social-buttons-links {
display: flex;
flex-direction: row;
justify-content: flex-start;
gap: 30px;
}
.recent-post-item {
display: grid;
grid-template-columns: 30% 70%;
align-items: flex-start;
margin-bottom: 20px;
gap: 10px;
}
.recent-post-thumbnail img {
margin-right: 10px;
width: 100px;
height: 100px;
object-fit: contain;
}
.recent-post-title {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
color: var(--primary-color);
margin: 0;
transition: 0.3s;
}
.recent-post-title:hover {
color: var(--background-color);
}
.button-post {
color: var(--secondary-color);
font-size: 10px;
font-weight: 400;
font-family: 'Verdana';
}
.button-post:hover {
color: var(--background-color);
}
.social-buttons {
display: flex;
flex-direction: column;
}
.social-buttons-links a {
color: var(--secondary-color);
transition: 0.3s;
}
.social-buttons-links a:hover {
color: var(--background-color);
}
.navigation-projects {
padding: 30px 0;
}
.navigation-projects-container {
width: 900px;
margin: 50px auto;
display: flex;
justify-content: space-between;
gap: 20px;
}
.navigation-project-item {
width: 48%;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.nav-prev,
.nav-next {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
img {
width: 300px;
height: 180px;
object-fit: contain;
}
}
.nav-title {
font-size: 18px;
margin-top: 10px;
color: var(--primary-color);
text-transform: uppercase;
font-family: 'Capriola';
}
.nav-label {
font-size: 16px;
color: var(--secondary-color);
margin-top: 5px;
font-family: 'Verdana';
transition: 0.3s;
}
.nav-label:hover {
color: var(--background-color);
}
.button-stack {
display: flex;
flex-direction: column;
gap: 10px;
}
.button-stack a {
color: white;
background-color: var(--secondary-color);
padding: 5px 20px;
text-transform: uppercase;
font-size: 14px;
font-family: 'Capriola';
text-align: center;
border: 1px solid var(--secondary-color);
border-radius: 25px;
transition: 0.3s;
}
.button-stack a:hover {
background-color: var(--background-color);
border: 1px solid var(--background-color);
color: white;
}     @media (max-width: 768px) { #results-container {
grid-template-columns: 1fr;
gap: 10px;
} .grid-archive {
width: auto;
grid-template-columns: repeat(1, 1fr);
margin: 0 10px;
}
.titre-archives {
width: auto;
margin: 0 10px;
h1 {
font-size: 32px;
text-transform: uppercase;
}
p {
font-size: 14px;
}
}
.card-img {
height: 220px;
}
.card-title {
line-height: 20px;
a {
font-size: 18px !important;
}
} .post-bg {
width: auto;
padding: 50px 0 100px 0;
.title-blog {
width: auto;
margin: 0 10px;
display: flex;
flex-direction: column;
}
h1 {
margin: 0;
}
.post-thumbnail {
text-align: center;
img {
width: 90%;
height: 200px;
object-fit: cover;
text-align: center;
margin: 15px 0;
}
}
}
.sidebar {
display: none;
}
.content-sidebar-wrapper {
width: auto;
margin: 0 10px;
display: block;
}
.entry-content-post {
padding: 10px;
}
.navigation-projects-container {
width: auto;
margin: 0 10px;
}
.navigation-project-item {
width: 50%;
padding: 0;
}
.nav-prev img,
.nav-next img {
width: 100%;
height: 100px;
object-fit: cover;
}
.nav-title {
font-size: 12px !important;
}
.nav-label {
font-size: 11px;
}
}