Выделение глобальных стилей

This commit is contained in:
Ifraim Solomonov committed 2024-02-28 15:36:39 +03:00
1 parent d3ab3ce6ef
commit 4e3c7b9bce
3 files changed
+22 -21

No files matched your search

+21
View File
@@ -1,3 +1,4 @@
@import "../../assets/styles/theme.scss";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
input {
@@ -26,3 +27,23 @@ code {
a {
text-decoration: none;
}
.btn {
display: block;
width: fit-content;
padding: 16px 24px;
border-radius: 8px;
font-size: 20px;
font-weight: 600;
line-height: 24px;
color: $btn-primary-text;
background: $btn-primary-bg;
background-size: 200%;
transition: .5s;
}
.btn:hover {
background-position: 100%;
}
+1 -1
View File
@@ -4,7 +4,7 @@ import { createHashRouter, RouterProvider } from 'react-router-dom';
import routes from './routes';
import reportWebVitals from './reportWebVitals';
import './index.styles.scss';
import './assets/styles/global.scss';
const router = createHashRouter(routes);
-20
View File
@@ -65,26 +65,6 @@
}
}
.btn {
display: block;
width: fit-content;
padding: 16px 24px;
border-radius: 8px;
font-size: 20px;
font-weight: 600;
line-height: 24px;
color: $btn-primary-text;
background: $btn-primary-bg;
background-size: 200%;
transition: .5s;
}
.btn:hover {
background-position: 100%;
}
.block .heading a,
.navbar .nav-link {
position: relative;