hrms-exam/cms/src/app.postcss

84 lines
1.7 KiB
Text
Raw Normal View History

2023-03-14 13:47:44 +07:00
/* Write your global styles here, in PostCSS syntax */
@tailwind base;
@tailwind components;
@tailwind utilities;
2023-04-04 12:38:01 +07:00
@layer base {
html {
font-family: 'Noto Sans Thai', sans-serif;
}
2023-04-04 12:38:01 +07:00
h1 {
@apply text-2xl;
2023-04-04 12:38:01 +07:00
}
h2 {
@apply text-xl;
2023-04-04 12:38:01 +07:00
}
ul{
@apply list-disc;
2023-04-04 12:38:01 +07:00
}
ol{
@apply list-decimal;
2023-04-04 12:38:01 +07:00
}
.cardxl{
padding-right: 2rem;
}
@media only screen and (max-width: 1024px) {
.cardxl{
padding-right: 0rem !important;
padding-bottom: 2rem;
}
}
.p-one{
background-image: linear-gradient(to top,rgba(71, 85, 105, 0.647),rgba(67, 84, 107, 0.807)),url('/images/p1.jpg');
}
.parallax-inner{
position:relative;
min-height: 130px;
background-position: top center;
background-attachment: fixed;
background-size: cover;
}
.parallax-inner > h2{
color: #fff;
text-transform: uppercase;
letter-spacing: 2px;
position: absolute;
top: 50%;
left: 0;
margin-top: -20.5px;
width: 100%;
text-align: center;
font-weight: 600;
font-size: 1.5rem !important;
}
.breadTaxt{
font-weight: 300;
letter-spacing: 2px;
}
body {
overflow: overlay;
}
/* custom scrollbar */
::-webkit-scrollbar {
width: 20px;
height: 20px;
}
::-webkit-scrollbar-track {
background-color: transparent !important;
-webkit-box-shadow: none;
}
::-webkit-scrollbar-thumb {
background-color: #d6dee1;
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: #a8bbbf;
}
}