add button allnews

This commit is contained in:
argoexpert press
2025-05-12 11:08:30 +03:00
parent 64154c3dc5
commit d52db10322
4 changed files with 32 additions and 5 deletions

View File

@@ -53,6 +53,34 @@ ul.wp-block-list li{
text-align: center;
}
.allnews-container{
width: 100%;
max-width: 100%;
}
.allnews{
display: flex; /* включаем flex-контейнер */
justify-content: center; /* по горизонтали по центру */
align-items: center;
padding: 1rem;
background: var(--primary);
font-weight: 700;
font-size: 1.6rem;
line-height: 1.8rem;
color: #fff;
-webkit-transition: 0.3s;
transition: 0.3s;
border-radius: .5rem;
border-right: 2px solid var(--secondary);
border-bottom: 2px solid var(--secondary);
width: 250px;
}
.allnews:hover{
background: var(--secondary);
}
@media (max-width: 1439px) {
.content {
grid-template-columns: 36.4rem 1fr;