Rankmate / static /css /extract.css
sumit1901's picture
Upload 44 files
48322a4 verified
Raw History Blame Contribute Delete
3.16 kB
:root {
--dark-bg: #111827;
--primary: #6366f1;
--primary-hover: #4f46e5;
--text-light: #f9fafb;
--text-muted: #9ca3af;
--body-bg: #f3f4f6;
}
/* GENERAL */
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background: var(--body-bg);
color: #1f2937;
}
.container {
max-width: 1100px;
margin: auto;
padding: 20px;
}
/* HERO SECTION (MATCH INDEX PAGE) */
.hero {
background-color: var(--dark-bg);
color: var(--text-light);
text-align: center;
padding: 60px 20px;
border-bottom: 4px solid var(--primary);
position: relative;
}
.hero h1 {
font-size: 2.4rem;
margin-bottom: 10px;
}
.hero p.subtitle {
font-size: 1rem;
color: var(--text-muted);
}
/* --- NAVIGATION / MENU BUTTON (Matches index.css) --- */
.top-nav {
position: absolute;
top: 20px;
left: 20px;
}
.menu-btn {
background: rgba(255,255,255,0.1);
border: none;
width: 40px;
height: 40px;
border-radius: 6px;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 4px;
transition: 0.3s;
}
.menu-btn:hover {
background: rgba(255,255,255,0.2);
}
.menu-btn span {
width: 20px;
height: 2px;
background: white;
display: block;
}
/* UPLOAD SECTION */
section {
margin: 60px 0;
}
.upload-section {
display: flex;
justify-content: center;
}
.upload-box {
background: white;
padding: 35px;
border-radius: 16px;
width: 420px;
text-align: center;
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
transition: 0.3s;
}
.upload-box:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.upload-box h3 {
margin-top: 0;
margin-bottom: 10px;
color: var(--dark-bg);
}
/* BUTTON */
button {
padding: 10px 26px;
background: var(--dark-bg);
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 500;
transition: 0.3s;
}
button:hover {
background: var(--primary-hover);
transform: translateY(-1px);
}
/* --- SIDEPANEL (EXACT SAME AS INDEX) --- */
.sidepanel {
width: 0;
position: fixed;
z-index: 1000;
height: 100%;
top: 0;
left: 0;
background: #1f2937;
overflow-x: hidden;
transition: 0.4s;
padding-top: 60px;
}
.sidepanel-content { padding: 0 30px; }
.sidepanel a {
padding: 12px 0;
color: #d1d5db;
text-decoration: none;
display: block;
font-size: 1.1rem;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidepanel .closebtn {
position: absolute;
top: 15px;
right: 20px;
font-size: 30px;
color: white;
}
/* FOOTER (MATCH INDEX PAGE) */
footer {
background-color: var(--dark-bg);
color: var(--text-muted);
padding: 30px 20px;
text-align: center;
margin-top: 60px;
border-top: 1px solid rgba(255,255,255,0.05);
}
footer a {
color: var(--text-muted);
margin: 0 10px;
text-decoration: none;
}
footer a:hover {
color: white;
}