269 lines
4.6 KiB
CSS
269 lines
4.6 KiB
CSS
@import "tailwindcss";
|
|
|
|
:root {
|
|
--brand: #e7432b;
|
|
--brand-dark: #c93621;
|
|
--ink: #161616;
|
|
--muted: #6c6363;
|
|
--line: #e4ddd8;
|
|
--paper: #f4f0ec;
|
|
--white: #ffffff;
|
|
}
|
|
|
|
@theme inline {
|
|
--color-brand: var(--brand);
|
|
--color-brand-dark: var(--brand-dark);
|
|
--color-ink: var(--ink);
|
|
--color-muted: var(--muted);
|
|
--color-line: var(--line);
|
|
--color-paper: var(--paper);
|
|
--font-sans: var(--font-vazir), Tahoma, sans-serif;
|
|
--font-latin: var(--font-montserrat), var(--font-vazir), sans-serif;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
background: var(--white);
|
|
color: var(--ink);
|
|
font-family: var(--font-sans);
|
|
}
|
|
|
|
::selection {
|
|
background: var(--brand);
|
|
color: #fff;
|
|
}
|
|
|
|
.font-latin {
|
|
font-family: var(--font-latin);
|
|
}
|
|
|
|
.section-kicker {
|
|
font-family: var(--font-latin);
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.32em;
|
|
text-transform: uppercase;
|
|
color: var(--brand);
|
|
}
|
|
|
|
.glass-box,
|
|
.caption-card {
|
|
background: rgb(255 255 255 / 0.18);
|
|
border: 1px solid rgb(255 255 255 / 0.72);
|
|
box-shadow:
|
|
inset 0 1px 0 rgb(255 255 255 / 0.9),
|
|
0 12px 32px rgb(0 0 0 / 0.1);
|
|
border-radius: 1rem;
|
|
}
|
|
|
|
.image-mask {
|
|
background: rgb(22 22 22 / 0.55);
|
|
}
|
|
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
button {
|
|
font-family: inherit;
|
|
}
|
|
|
|
.rich-text h1,
|
|
.rich-text h2,
|
|
.rich-text h3 {
|
|
margin-top: 1.25em;
|
|
margin-bottom: 0.5em;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.rich-text p {
|
|
margin-bottom: 0.85em;
|
|
}
|
|
|
|
.rich-text ul,
|
|
.rich-text ol {
|
|
margin: 0.75em 0;
|
|
padding-inline-start: 1.25rem;
|
|
}
|
|
|
|
.rich-text a {
|
|
color: var(--brand);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.rich-text img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
/* Footer bottom — Meshkee credit (safeteb-style) */
|
|
.footer-bottom-bar {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
justify-content: space-between;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.footer-bottom-site {
|
|
color: #9c9c9c;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.meshkee-credit {
|
|
align-items: center;
|
|
color: #9c9c9c;
|
|
display: inline-flex;
|
|
gap: 10px;
|
|
padding: 6px 10px;
|
|
position: relative;
|
|
text-decoration: none;
|
|
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.meshkee-credit:hover {
|
|
color: #e0e0e0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.meshkee-credit__frame {
|
|
inset: 0;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
}
|
|
|
|
.meshkee-credit__line {
|
|
background: #777;
|
|
position: absolute;
|
|
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.meshkee-credit__line--l {
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
transform: scaleY(0);
|
|
transform-origin: top;
|
|
transition-delay: 0s;
|
|
width: 1px;
|
|
}
|
|
|
|
.meshkee-credit__line--b {
|
|
bottom: 0;
|
|
height: 1px;
|
|
left: 0;
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition-delay: 0.14s;
|
|
width: 100%;
|
|
}
|
|
|
|
.meshkee-credit__line--r {
|
|
height: 100%;
|
|
right: 0;
|
|
top: 0;
|
|
transform: scaleY(0);
|
|
transform-origin: bottom;
|
|
transition-delay: 0.28s;
|
|
width: 1px;
|
|
}
|
|
|
|
.meshkee-credit__line--t {
|
|
height: 1px;
|
|
left: 0;
|
|
top: 0;
|
|
transform: scaleX(0);
|
|
transform-origin: right;
|
|
transition-delay: 0.42s;
|
|
width: 100%;
|
|
}
|
|
|
|
.meshkee-credit:hover .meshkee-credit__line--l,
|
|
.meshkee-credit:hover .meshkee-credit__line--r {
|
|
transform: scaleY(1);
|
|
}
|
|
|
|
.meshkee-credit:hover .meshkee-credit__line--t,
|
|
.meshkee-credit:hover .meshkee-credit__line--b {
|
|
transform: scaleX(1);
|
|
}
|
|
|
|
.meshkee-credit:not(:hover) .meshkee-credit__line--l {
|
|
transition-delay: 0.42s;
|
|
}
|
|
|
|
.meshkee-credit:not(:hover) .meshkee-credit__line--b {
|
|
transition-delay: 0.28s;
|
|
}
|
|
|
|
.meshkee-credit:not(:hover) .meshkee-credit__line--r {
|
|
transition-delay: 0.14s;
|
|
}
|
|
|
|
.meshkee-credit:not(:hover) .meshkee-credit__line--t {
|
|
transition-delay: 0s;
|
|
}
|
|
|
|
.meshkee-credit__logo {
|
|
aspect-ratio: 1 / 1;
|
|
display: block;
|
|
flex-shrink: 0;
|
|
height: 42px;
|
|
object-fit: contain;
|
|
opacity: 0.7;
|
|
position: relative;
|
|
transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
|
|
width: auto;
|
|
}
|
|
|
|
.meshkee-credit:hover .meshkee-credit__logo {
|
|
opacity: 1;
|
|
}
|
|
|
|
.meshkee-credit__text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
line-height: 1.25;
|
|
min-height: 42px;
|
|
position: relative;
|
|
}
|
|
|
|
.meshkee-credit__label {
|
|
font-family: var(--font-latin);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.meshkee-credit__name {
|
|
color: #cfcfcf;
|
|
font-family: var(--font-latin);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.meshkee-credit:hover .meshkee-credit__name {
|
|
color: #fff;
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
|
.footer-bottom-bar {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
}
|