« Back to History
shayari_box.css
|
20260723_000646.php
Initial Domain Snapshot
Copy Code
/* ========== GLOBAL PAGE STYLES ========== */ body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f6bfc3; /* pink background */ } .page-wrap { max-width: 1200px; margin: 0 auto; padding: 16px 8px 32px; } /* Category title brush banner */ .category-banner { position: relative; text-align: center; margin: 0 auto 16px; padding-top: 24px; } .category-banner span { display: inline-block; padding: 6px 18px; font-weight: 700; letter-spacing: 1px; color: #fff; text-transform: uppercase; font-size: 14px; background-image: url("https://e7.pngegg.com/pngimages/742/523/png-clipart-black-ink-brush-strokes-17-material-ink-black-thumbnail.png"); background-repeat: no-repeat; background-position: center; background-size: 100% 100%; } /* ========== GRID LAYOUT (MOBILE + PC) ========== */ .shayari-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; align-items:start; } /* VERY IMPORTANT */ .shayari-card{ width:100%; min-width:0; /* 👈 this fixes single-column issue */ } /* tablet */ @media (min-width: 600px) { .shayari-grid { grid-template-columns: repeat(2, 1fr); } } /* desktop */ @media (min-width: 900px) { .shayari-grid { grid-template-columns: repeat(3, 1fr); } } /* large desktop */ @media (min-width: 1200px) { .shayari-grid { grid-template-columns: repeat(4, 1fr); } } /* ========== SHAYARI CARD (outer box) ========== */ .shayari-card { background: #ffffff; border-radius: 4px; box-shadow: 0 10px 18px rgba(0,0,0,0.25); overflow: hidden; } /* ========== TOP AREA: SHAYARI BOX BASE ========== */ .shayari-box { padding: 26px 24px 28px; border-radius: 0; /* radius designs se aayega */ font-size: 16px; line-height: 1.8; position: relative; margin: 0; /* card ke andar margin nahi */ display: block; text-align: center; border-bottom: 1px solid #dddddd; min-height: 160px; background: #ffffff; color: #222; } /* optional plain design (agar koi design select na ho) */ .shayari-box--plain { background: #ffffff; color: #222; } /* ========== 10 DESIGNS ========== */ /* 1) Orange Bubble */ .shayari-box--orange { background: #FFA64D; color: #222; box-shadow: 0 3px 8px rgba(0,0,0,0.12); } .shayari-box--orange::before, .shayari-box--orange::after { content: "“"; font-size: 40px; color: rgba(0,0,0,0.2); position: absolute; } .shayari-box--orange::before { top: -10px; left: 10px; } .shayari-box--orange::after { content: "”"; bottom: -10px; right: 10px; } /* 2) Red Heart */ .shayari-box--heart { background: #FF4D4D; color: #fff; padding: 20px 24px; border-radius: 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.18); } .shayari-box--heart::before, .shayari-box--heart::after { content: "❤"; position: absolute; font-size: 30px; opacity: 0.3; } .shayari-box--heart::before { top: -8px; left: 14px; } .shayari-box--heart::after { bottom: -8px; right: 14px; } /* 3) Yellow Cloud */ .shayari-box--yellow-cloud { background: #FFD95A; color: #4a3600; border-radius: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.12); } .shayari-box--yellow-cloud::before { content: ""; position: absolute; bottom: -12px; left: 40px; width: 26px; height: 26px; background: #FFD95A; border-radius: 50%; } /* 4) Pink Soft */ .shayari-box--pink-soft { background: #FFB6C9; color: #4a1930; border-radius: 18px; border: 2px solid #FF7FA6; box-shadow: 0 3px 6px rgba(255, 127, 166, 0.4); } /* 5) Dark Card */ .shayari-box--dark-card { background: #262335; color: #F9F5FF; border-radius: 18px; box-shadow: 0 4px 10px rgba(0,0,0,0.4); } .shayari-box--dark-card::before { content: "“"; position: absolute; top: -16px; left: 12px; font-size: 40px; color: rgba(255,255,255,0.18); } /* 6) Outline Speech */ .shayari-box--outline { background: #fff; color: #333; border-radius: 16px; border: 2px solid #FF7043; box-shadow: 0 3px 6px rgba(0,0,0,0.06); } .shayari-box--outline::after { content: ""; position: absolute; bottom: -10px; left: 40px; border-width: 10px 10px 0 10px; border-style: solid; border-color: #FF7043 transparent transparent transparent; } /* 7) Blue Ribbon */ .shayari-box--blue-ribbon { background: #FFFCF6; color: #222; border-radius: 16px; border: 1px solid #E0D7C5; padding-top: 32px; } .shayari-box--blue-ribbon::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 26px; background: linear-gradient(90deg,#3F81FF,#00B8FF); border-radius: 16px 16px 0 0; } /* 8) Sticker Note */ .shayari-box--sticker { background: #FFF6BF; color: #493b00; border-radius: 8px; box-shadow: 0 10px 15px rgba(0,0,0,0.15); transform: rotate(-1.5deg); } .shayari-box--sticker::before { content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; background: rgba(0,0,0,0.08); border-radius: 3px; } /* 9) Gradient Sunset */ .shayari-box--gradient { background: linear-gradient(135deg,#FF7E5F,#FD3A84); color: #fff; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.25); } /* 10) Dashed Note */ .shayari-box--dashed { background: #FFF; color: #333; border-radius: 14px; border: 2px dashed #FF6F61; box-shadow: 0 3px 6px rgba(0,0,0,0.06); } /* ========== TAGS SECTION ========== */ .tags-section { background: #f8f8f8; border-bottom: 1px solid #dddddd; text-align: center; padding: 8px 10px 10px; } .tag-title { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #555555; margin-bottom: 3px; } .tag-list { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; } .tag-chip { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; border: 1px solid #cccccc; background: #ffffff; color: #444; text-decoration: none; } .tag-chip:hover { background: #ffe7e7; border-color: #ff6f61; } .tag-chip.is-empty { opacity: 0.6; cursor: default; } .tag-title { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #555555; margin-bottom: 3px; } .tag-list { font-size: 11px; letter-spacing: 0.5px; color: #777777; } /* ========== BOTTOM BUTTONS ========== */ .actions { display: flex; padding: 8px; gap: 6px; justify-content: space-between; background: #ffffff; } /* buttons base */ .actions button { flex: 1; border: none; border-radius: 3px; padding: 6px 0; font-size: 11px; font-weight: 600; cursor: pointer; } /* COPY button */ .btn-copy { background: #2e7d32; color: #ffffff; } /* icon buttons */ .btn-wa, .btn-fb, .btn-x { max-width: 36px; flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center; background: #333333; color: #ffffff; font-size: 14px; } .btn-wa { background: #25D366; } .btn-fb { background: #1877F2; } .btn-x { background: #000000; } /* ===== MINIMAL FOOTER INSIDE EXISTING SHAYARI BOX ===== */ .shayari-footer{ display:flex; justify-content:space-between; align-items:center; padding:10px 14px; font-size:13px; background:transparent; } /* left side tag text (no "Tags" label) */ .shayari-footer .shayari-tags{ color:#0b7d6e; font-weight:500; } /* right side simple copy */ .shayari-footer .btn-copy{ background:none; border:none; padding:0; font-size:13px; font-weight:500; color:#0b7d6e; cursor:pointer; } .shayari-footer .btn-copy:hover{ text-decoration:underline; } /* Normal shayari text box */ .shayari-box { min-height: 160px; /* 👈 yaha se control */ padding: 18px; display: flex; align-items: center; justify-content: center; text-align: center; } /* FIX: pv-card should NOT look like a box */ .pv-card { background: transparent !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: auto !important; }