add button allnews
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user