feat : add footer , header , base css, progressBar , main and page components

This commit is contained in:
Ali Josheghani
2024-05-20 20:40:48 +03:30
parent 1aee06b717
commit fd7bc724f9
65 changed files with 4784 additions and 143 deletions

View File

@@ -1,68 +1,35 @@
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
@tailwind base;
@tailwind components;
@tailwind utilities;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
@layer base {
@font-face {
font-family: "kalameh"; /* نام فونت */
src: url("./assets/font/kalameh/WebFonts/_eot/KalamehWeb-Medium.eot"); /* مسیر فایل فونت در فرمت EOT */
src: url("./assets/font/kalameh/WebFonts/_Woff2/KalamehWeb-Medium.woff2")
format("woff2"),
/* مسیر فایل فونت در فرمت WOFF2 */
url("./assets/font/kalameh/WebFonts/_Woff/KalamehWeb-Medium.woff")
format("woff"),
/* مسیر فایل فونت در فرمت WOFF */
url("./assets/font/kalameh/TTF/Kalameh-Medium.ttf") format("truetype");
/* مسیر فایل فونت در فرمت TTF */
}
a:hover {
color: #747bff;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
button {
background-color: #f9f9f9;
body {
font-family: "kalameh";
line-height: 1.6;
background-color: #333;
color: #fff;
}
.glass {
@apply backdrop-blur-[19px] backdrop-saturate-[200%] bg-[rgba(17,25,40,0.25)] rounded-xl;
-webkit-backdrop-filter: blur(19px) saturate(200%);
}
}