vkorobtsev-nextJs/app/globals.css

103 lines
1.5 KiB
CSS
Raw Permalink Normal View History

2023-08-30 19:06:48 +07:00
/* 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');
2023-08-29 16:57:18 +07:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2023-08-30 19:06:48 +07:00
html {
font-size: 17px !important;
2023-08-29 16:57:18 +07:00
}
@media (max-width: 1268px) {
2023-08-30 19:06:48 +07:00
html {
font-size: 14px !important;
}
2023-08-29 16:57:18 +07:00
}
2023-09-03 08:45:12 +07:00
@media (max-width: 768px) {
html {
font-size: 13px !important;
}
}
2023-08-29 16:57:18 +07:00
body {
2023-08-30 19:06:48 +07:00
font-family: 'Poppins', sans-serif !important;
2023-09-02 21:23:37 +07:00
color: black;
2023-09-05 21:39:08 +07:00
background-color: rgb(230, 230, 230);
2023-08-30 19:06:48 +07:00
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Jost', sans-serif !important;
}
.title {
font-family: 'Jost', sans-serif !important;
2023-08-29 16:57:18 +07:00
}
2023-08-30 19:06:48 +07:00
.section {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.navbar {
z-index: 49 !important;
}
.fp-watermark {
display: none !important;
2023-09-02 11:12:47 +07:00
}
h2, h3, h4, h5, h6 {
@apply text-gray-600;
}
span {
font-family: "Jost", sans-serif;
2023-09-02 21:23:37 +07:00
}
2023-09-05 21:39:08 +07:00
li {
@apply list-none relative;
}
li.active:after {
content: "";
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 2px;
background-color: #ffffff;
2023-09-03 08:45:12 +07:00
}
td, th {
@apply py-2 px-3;
}
2023-09-03 11:21:56 +07:00
a[title]:hover:after {
margin-left: -100px;
margin-top: -50px;
2023-09-03 08:45:12 +07:00
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);
2023-09-03 11:21:56 +07:00
font-size: 0.8rem;
2023-09-03 13:23:39 +07:00
}
2023-09-04 22:10:11 +07:00
::selection {
background: #333333;
color: #fff;
}