312 lines
5.1 KiB
CSS
312 lines
5.1 KiB
CSS
/* Basic Reset */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
line-height: 1.6;
|
|
background-color: #f9fafb;
|
|
color: #333;
|
|
}
|
|
|
|
main {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
background: #fff;
|
|
border: 1px solid #eaeaea;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Header and Navigation */
|
|
header {
|
|
background: #fff;
|
|
border-bottom: 1px solid #eaeaea;
|
|
padding: 1rem 2rem;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
nav .logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
color: #333;
|
|
}
|
|
|
|
nav ul {
|
|
list-style: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
nav a {
|
|
text-decoration: none;
|
|
color: #555;
|
|
font-weight: 500;
|
|
}
|
|
|
|
nav a.button {
|
|
background-color: #6c63ff;
|
|
color: #fff;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 5px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
nav a.button:hover {
|
|
background-color: #524dff;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
background: #fff;
|
|
border-top: 1px solid #eaeaea;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
/* Landing Page Sections */
|
|
.hero {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
background-color: #f0f2f5;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 2rem;
|
|
color: #555;
|
|
}
|
|
|
|
.templates, .features {
|
|
padding: 4rem 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.template-gallery, .feature-list {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.template-card, .feature-item {
|
|
background: #fff;
|
|
border: 1px solid #eaeaea;
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
width: 300px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.template-card img {
|
|
max-width: 100%;
|
|
border-radius: 5px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* Auth Forms */
|
|
.auth-container {
|
|
max-width: 400px;
|
|
margin: 4rem auto;
|
|
padding: 2rem;
|
|
background: #fff;
|
|
border: 1px solid #eaeaea;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.auth-container h2 {
|
|
text-align: center;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.form-group input, .form-group textarea {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.button {
|
|
display: inline-block;
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: 5px;
|
|
background-color: #6c63ff;
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.auth-container .button {
|
|
width: 100%;
|
|
}
|
|
|
|
.auth-container p {
|
|
text-align: center;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.auth-container .error {
|
|
color: #c53030;
|
|
background-color: #fed7d7;
|
|
padding: 0.75rem;
|
|
border-radius: 5px;
|
|
margin-bottom: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Dashboard */
|
|
.dashboard-container {
|
|
max-width: 800px;
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
/* CV List */
|
|
.cv-list {
|
|
list-style: none;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.cv-list li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
padding: 1rem;
|
|
background: #fff;
|
|
border: 1px solid #eaeaea;
|
|
border-radius: 5px;
|
|
transition: box-shadow 0.3s;
|
|
}
|
|
|
|
.cv-list li:hover {
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.cv-item strong {
|
|
font-size: 1.2rem;
|
|
display: block;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.cv-item span {
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
}
|
|
|
|
.cv-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.button-sm {
|
|
padding: 0.4rem 0.8rem;
|
|
font-size: 0.9rem;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
background-color: #6c63ff;
|
|
}
|
|
|
|
.button-danger {
|
|
background-color: #e53e3e;
|
|
}
|
|
|
|
.cv-list a {
|
|
text-decoration: none;
|
|
color: #333;
|
|
}
|
|
|
|
|
|
/* CV Editor */
|
|
#cv-form fieldset {
|
|
border: 1px solid #eaeaea;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
#cv-form legend {
|
|
font-weight: bold;
|
|
padding: 0 0.5rem;
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.experience-item, .education-item {
|
|
margin-bottom: 1rem;
|
|
padding: 1rem;
|
|
border: 1px solid #f0f0f0;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#add-experience, #add-education {
|
|
margin-top: 1rem;
|
|
background: none;
|
|
border: 1px dashed #ccc;
|
|
color: #555;
|
|
padding: 0.5rem 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Banners */
|
|
.error-banner {
|
|
background-color: #fed7d7;
|
|
color: #c53030;
|
|
padding: 1rem;
|
|
border: 1px solid #fbcaca;
|
|
border-radius: 5px;
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
.auth-container .info {
|
|
color: #004085;
|
|
background-color: #cce5ff;
|
|
padding: 0.75rem;
|
|
border-radius: 5px;
|
|
margin-bottom: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.success-banner {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
padding: 1rem;
|
|
border: 1px solid #c3e6cb;
|
|
border-radius: 5px;
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|