suggest-orgs / static /style.css
amanydv2112's picture
Upload folder using huggingface_hub
48cf449 verified
Raw
History Blame Contribute Delete
9.29 kB
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 120.5%;
}
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #09090b;
color: #e4e4e7;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
}
/* ---- Hero ---- */
.hero {
text-align: center;
padding: 4rem 1.5rem 2.5rem;
background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
border-bottom: 1px solid #1e1e22;
}
.hero-inner {
max-width: 640px;
margin: 0 auto;
}
.badge {
display: inline-block;
font-size: 0.78rem;
font-weight: 500;
color: #a1a1aa;
background: #18181b;
border: 1px solid #27272a;
border-radius: 100px;
padding: 0.35rem 1rem;
margin-bottom: 1.25rem;
letter-spacing: 0.01em;
}
.hero h1 {
font-size: 2.5rem;
font-weight: 800;
color: #fafafa;
line-height: 1.15;
letter-spacing: -0.03em;
margin-bottom: 1rem;
}
.hero-sub {
font-size: 1.05rem;
color: #71717a;
line-height: 1.6;
max-width: 480px;
margin: 0 auto;
}
.hero-sub strong {
color: #a1a1aa;
font-weight: 600;
}
/* ---- Search Section ---- */
.container {
max-width: 960px;
margin: 0 auto;
padding: 2rem 1.5rem 4rem;
}
.search-section {
position: sticky;
top: 0;
z-index: 10;
background: #09090b;
padding: 0.75rem 0 1rem;
margin-bottom: 0.5rem;
}
.search-box {
position: relative;
display: flex;
align-items: center;
}
.search-icon {
position: absolute;
left: 1rem;
width: 20px;
height: 20px;
color: #52525b;
pointer-events: none;
}
#query {
width: 100%;
padding: 0.9rem 7rem 0.9rem 2.8rem;
font-family: inherit;
font-size: 1rem;
background: #18181b;
border: 1px solid #27272a;
border-radius: 12px;
color: #fafafa;
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
#query:focus {
border-color: #f97316;
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
#query::placeholder {
color: #52525b;
}
.search-btn {
position: absolute;
right: 0.4rem;
font-family: inherit;
font-size: 0.82rem;
font-weight: 600;
color: #fff;
background: #f97316;
border: none;
border-radius: 8px;
padding: 0.45rem 1rem;
cursor: pointer;
transition: background 0.15s, transform 0.1s;
white-space: nowrap;
}
.search-btn:hover {
background: #ea6c0a;
}
.search-btn:active {
transform: scale(0.97);
}
.filters {
display: flex;
gap: 0.5rem;
margin-top: 0.65rem;
}
.filters select {
flex: 1;
padding: 0.5rem 0.75rem;
font-family: inherit;
font-size: 0.82rem;
background: #18181b;
border: 1px solid #27272a;
border-radius: 8px;
color: #a1a1aa;
outline: none;
cursor: pointer;
transition: border-color 0.2s;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.6rem center;
padding-right: 1.8rem;
}
.filters select:focus {
border-color: #f97316;
}
.hyde-toggle {
display: flex;
align-items: center;
gap: 0.35rem;
font-size: 0.78rem;
color: #71717a;
cursor: pointer;
white-space: nowrap;
user-select: none;
padding: 0 0.25rem;
}
.hyde-toggle input {
accent-color: #f97316;
cursor: pointer;
}
/* ---- Status ---- */
.status {
text-align: center;
color: #52525b;
font-size: 0.85rem;
min-height: 1.5rem;
margin-bottom: 0.75rem;
}
.status.loading::after {
content: "";
display: inline-block;
width: 14px;
height: 14px;
border: 2px solid #3f3f46;
border-top-color: #f97316;
border-radius: 50%;
animation: spin 0.6s linear infinite;
margin-left: 0.5rem;
vertical-align: middle;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* ---- Results ---- */
.results {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.card {
position: relative;
background: #18181b;
border: 1px solid #27272a;
border-radius: 14px;
padding: 1.25rem 1.35rem;
transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.card:hover {
border-color: #3f3f46;
transform: translateY(-1px);
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.card.has-link {
cursor: pointer;
}
.card.has-link:hover {
border-color: #f97316;
}
.card-link {
position: absolute;
inset: 0;
border-radius: 14px;
z-index: 0;
}
.card-header {
display: flex;
align-items: center;
gap: 0.85rem;
margin-bottom: 0.65rem;
}
.card-logo {
width: 42px;
height: 42px;
border-radius: 10px;
object-fit: contain;
background: #fff;
padding: 4px;
flex-shrink: 0;
}
.card-title {
flex: 1;
min-width: 0;
}
.card-title h3 {
font-size: 1rem;
font-weight: 600;
color: #fafafa;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card-title .one-liner {
font-size: 0.82rem;
color: #71717a;
margin-top: 0.1rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.card-score {
font-size: 0.72rem;
font-weight: 600;
flex-shrink: 0;
padding: 0.25rem 0.55rem;
border-radius: 6px;
}
.score-high {
color: #4ade80;
background: rgba(74, 222, 128, 0.1);
}
.score-mid {
color: #f97316;
background: rgba(249, 115, 22, 0.1);
}
.score-low {
color: #71717a;
background: rgba(113, 113, 122, 0.1);
}
.card-description {
font-size: 0.87rem;
color: #a1a1aa;
line-height: 1.6;
margin-bottom: 0.75rem;
}
.card-meta {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin-bottom: 0.65rem;
}
/* ---- Pills ---- */
.pill {
display: inline-flex;
align-items: center;
font-size: 0.7rem;
font-weight: 500;
padding: 0.2rem 0.55rem;
border-radius: 6px;
background: #27272a;
color: #a1a1aa;
border: none;
letter-spacing: 0.01em;
}
.pill.batch {
color: #93c5fd;
background: rgba(147, 197, 253, 0.1);
}
.pill.status-active {
color: #4ade80;
background: rgba(74, 222, 128, 0.1);
}
.pill.status-acquired {
color: #c084fc;
background: rgba(192, 132, 252, 0.1);
}
.pill.status-public {
color: #fbbf24;
background: rgba(251, 191, 36, 0.1);
}
.pill.status-inactive {
color: #71717a;
background: rgba(113, 113, 122, 0.1);
}
.pill.source-yc {
color: #fb923c;
background: rgba(251, 146, 60, 0.12);
font-weight: 600;
}
.pill.source-a16z {
color: #4ade80;
background: rgba(74, 222, 128, 0.12);
font-weight: 600;
}
.pill.source-spc {
color: #38bdf8;
background: rgba(56, 189, 248, 0.12);
font-weight: 600;
}
.pill.source-sequoia {
color: #f472b6;
background: rgba(244, 114, 182, 0.12);
font-weight: 600;
}
/* ---- Card Footer ---- */
.card-footer {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem 0.85rem;
font-size: 0.8rem;
padding-top: 0.6rem;
border-top: 1px solid #27272a;
position: relative;
z-index: 1;
}
.card-footer a {
color: #f97316;
text-decoration: none;
font-weight: 500;
transition: color 0.15s;
}
.card-footer a:hover {
color: #fb923c;
text-decoration: underline;
}
.card-footer .meta-text {
color: #52525b;
font-size: 0.78rem;
}
.card-ext-icon {
opacity: 0;
font-size: 0.7rem;
margin-left: 0.3rem;
color: #a1a1aa;
transition: opacity 0.15s;
}
.card:hover .card-ext-icon {
opacity: 1;
}
.pill-link {
position: relative;
z-index: 1;
display: inline-flex;
align-items: center;
gap: 0.3rem;
text-decoration: none;
cursor: pointer;
transition: filter 0.15s, opacity 0.15s;
}
.pill-ext-icon {
opacity: 0.75;
font-size: 0.72rem;
transition: transform 0.15s, opacity 0.15s;
}
.pill-link:hover {
filter: brightness(1.25);
opacity: 1;
}
.pill-link:hover .pill-ext-icon {
opacity: 1;
transform: translateX(1px) translateY(-1px);
}
/* ---- Empty / Landing State ---- */
.empty-state {
text-align: center;
padding: 3.5rem 1rem;
color: #52525b;
}
.empty-state .icon {
font-size: 2.5rem;
margin-bottom: 0.75rem;
opacity: 0.6;
}
.empty-state p {
font-size: 0.92rem;
line-height: 1.6;
max-width: 400px;
margin: 0 auto;
}
.example-queries {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
margin-top: 1.25rem;
}
.example-query {
font-size: 0.78rem;
font-weight: 500;
color: #a1a1aa;
background: #18181b;
border: 1px solid #27272a;
border-radius: 8px;
padding: 0.4rem 0.85rem;
cursor: pointer;
transition: border-color 0.2s, color 0.2s;
}
.example-query:hover {
border-color: #f97316;
color: #f97316;
}
/* ---- Footer ---- */
.site-footer {
text-align: center;
padding: 2rem 1rem;
color: #3f3f46;
font-size: 0.78rem;
border-top: 1px solid #1e1e22;
}
/* ---- Responsive ---- */
@media (max-width: 640px) {
.hero {
padding: 3rem 1.25rem 2rem;
}
.hero h1 {
font-size: 1.75rem;
}
.hero-sub {
font-size: 0.92rem;
}
.container {
padding: 1.25rem 1rem 3rem;
}
.filters {
flex-wrap: wrap;
}
.filters select {
flex: 1 1 calc(50% - 0.25rem);
min-width: 0;
}
.card {
padding: 1rem;
}
.card-footer {
gap: 0.4rem 0.65rem;
}
.search-btn {
font-size: 0.75rem;
padding: 0.4rem 0.7rem;
}
}