Files
dlearn-front/assets/css/tailwind.css
T
2024-05-21 15:01:29 +03:30

75 lines
2.1 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: "Iransans";
src: url(~/public/fonts/IRANSansXFaNum-Medium.woff2) format("woff2");
}
@font-face {
font-family: "thinSans";
src: url(~/public/fonts/IRANSansXFaNum-Regular.woff2) format("woff2");
}
body {
font-family: "Iransans";
direction: rtl;
}
@layer utilities {
.pinkShadow {
filter: drop-shadow(0px 0px 2px #a6228527);
}
.smallShadow{
box-shadow: 0px 0px 5px 0px #0000001A;
}
.thin{
font-family: "thinSans";
}
}
@layer components {
.loginInput{
@apply bg-white rounded-[1.563vw] text-[0.833vw] w-full h-[2.917vw] ps-[1.2vw]
}
.flexBox{
@apply flex items-center justify-center
}
.greenButton{
@apply h-[2.917vw] rounded-[1.563vw] py-[0.833vw] px-[4.167vw] text-white bg-primaryGreen gap-[0.521vw] text-[0.833vw]
}
.categoriesOption{
@apply font-semibold py-[2.051vw] md:py-[0.625vw] w-[22.821vw] md:w-[8vw] mx-[0.5vw] md:mx-auto gap-2 rounded-[2.051vw] md:rounded-[0.521vw] border-[1px] border-primaryGreen text-primaryGreen text-[3.59vw] md:text-[1.055vw]
}
.courses{
@apply w-[87.69%] md:w-[81.04%] flex flex-col justify-center mt-[18vw] md:mt-[4.688vw] px-[3.846vw] md:px-[1.563vw] bg-[#F8F8F8] rounded-[3.846vw] md:rounded-[0.781vw]
}
}
@media (max-width: 768px) {
.tabs-component .tabs-component-tab .is-active::before{
height: 0vw !important;
}
.tabs-component .tabs-component-tab .is-active p{
background-color: #D3EDED;
}
.scrolBar{
padding: 0vw 1.5vw;
overflow: auto;
white-space: nowrap;
background-color: #FDFAFC;
box-shadow: 0px 0px 5px 0px #A6228626;
width: 87.692vw;
height: 13.077vw;
display: flex;
align-items: center;
border-radius: 3.846vw;
}
.scrolBar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.scrolBar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
}