diff --git a/frontend/src/styles/pages/main.css b/frontend/src/styles/pages/main.css index d6cd96b..99a8843 100644 --- a/frontend/src/styles/pages/main.css +++ b/frontend/src/styles/pages/main.css @@ -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; diff --git a/header-en.php b/header-en.php index e34d491..625085f 100644 --- a/header-en.php +++ b/header-en.php @@ -1,5 +1,5 @@ -> +
diff --git a/header.php b/header.php index a23f36c..d32e237 100644 --- a/header.php +++ b/header.php @@ -62,8 +62,7 @@ height="0" width="0" style="display:none;visibility:hidden">