vkorobtsev-nextJs/app/globals.css
2023-09-03 08:45:12 +07:00

90 lines
No EOL
1.3 KiB
CSS

/* font */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
html {
font-size: 17px !important;
}
@media (max-width: 1268px) {
html {
font-size: 14px !important;
}
}
@media (max-width: 768px) {
html {
font-size: 13px !important;
}
}
body {
font-family: 'Poppins', sans-serif !important;
color: black;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Jost', sans-serif !important;
}
.title {
font-family: 'Jost', sans-serif !important;
}
.section {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.navbar {
z-index: 49 !important;
}
.fp-watermark {
display: none !important;
}
h2, h3, h4, h5, h6 {
@apply text-gray-600;
}
span {
font-family: "Jost", sans-serif;
}
.active {
color: rgb(255, 235, 87);
}
td, th {
@apply py-2 px-3;
}
[title]:hover:after {
margin-left: 10px;
position: absolute;
content: attr(title);
padding: 0.5rem;
white-space: nowrap;
z-index: 1;
background-color: #333333;
color: #fff;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
font-size: 14px;
}
[title]:hover:after {
opacity: 1;
transform: translateY(0);
}