Files
cv-site/static/css/main.css
T

352 lines
5.5 KiB
CSS
Raw Normal View History

2025-10-20 08:54:21 +01:00
/* Minimal CV Design - Clean & Professional */
:root {
--bg-gray: #525659;
--paper-white: #ffffff;
--text-dark: #2d2d2d;
--text-gray: #555555;
--accent-blue: #0066cc;
--border-gray: #dddddd;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', Arial, sans-serif;
background-color: var(--bg-gray);
color: var(--text-dark);
line-height: 1.6;
}
a {
color: var(--accent-blue);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Action Bar */
.action-bar {
background: white;
border-bottom: 1px solid var(--border-gray);
position: sticky;
top: 0;
z-index: 100;
}
.action-bar-content {
max-width: 900px;
margin: 0 auto;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.language-toggle {
display: flex;
gap: 0.5rem;
}
.lang-btn {
padding: 0.4rem 1rem;
border: 1px solid var(--border-gray);
background: white;
border-radius: 4px;
cursor: pointer;
font-size: 0.9rem;
}
.lang-btn:hover {
background: #f5f5f5;
}
.lang-btn.active {
background: var(--accent-blue);
color: white;
border-color: var(--accent-blue);
}
.export-btn {
padding: 0.4rem 1.2rem;
background: var(--accent-blue);
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 0.9rem;
}
.export-btn:hover {
background: #0052a3;
}
/* Loading Indicator */
.htmx-indicator {
display: none;
}
.htmx-indicator.htmx-request {
display: inline-block;
}
.loader {
border: 2px solid #f3f3f3;
border-top: 2px solid var(--accent-blue);
border-radius: 50%;
width: 20px;
height: 20px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* CV Container - Paper Design */
.cv-container {
max-width: 900px;
margin: 2rem auto;
padding: 0 1rem;
}
.cv-paper {
background: var(--paper-white);
padding: 3rem 4rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
min-height: 11in;
}
/* Header */
.cv-header {
border-bottom: 2px solid var(--text-dark);
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
.cv-name {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.cv-title {
font-size: 1.3rem;
font-weight: 400;
color: var(--text-gray);
margin-bottom: 1rem;
}
.cv-contact {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.5rem;
font-size: 0.9rem;
color: var(--text-gray);
}
/* Sections */
.cv-section {
margin-bottom: 2rem;
}
.section-title {
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 1rem;
padding-bottom: 0.3rem;
border-bottom: 1px solid var(--border-gray);
}
.summary-text {
line-height: 1.7;
text-align: justify;
}
/* Experience */
.experience-item {
margin-bottom: 1.5rem;
}
.experience-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.75rem;
gap: 1rem;
}
.position {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.25rem;
}
.company {
color: var(--text-gray);
font-size: 0.95rem;
}
.experience-period {
color: var(--text-gray);
font-size: 0.9rem;
white-space: nowrap;
font-style: italic;
}
.responsibilities {
list-style: none;
margin-bottom: 0.75rem;
}
.responsibilities li {
padding-left: 1.2rem;
margin-bottom: 0.4rem;
position: relative;
}
.responsibilities li:before {
content: "•";
position: absolute;
left: 0;
font-weight: bold;
}
.technologies {
font-size: 0.85rem;
color: var(--text-gray);
font-style: italic;
}
/* Education */
.education-item {
margin-bottom: 1rem;
}
.education-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.degree {
font-size: 1rem;
font-weight: 600;
}
.education-period {
color: var(--text-gray);
font-size: 0.9rem;
font-style: italic;
}
.institution {
color: var(--text-gray);
font-size: 0.95rem;
}
/* Skills */
.skill-block {
margin-bottom: 1rem;
}
.skill-title {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.4rem;
}
.skill-list {
color: var(--text-gray);
font-size: 0.95rem;
}
/* Projects */
.project-item {
margin-bottom: 1.5rem;
}
.project-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.project-name {
font-size: 1.1rem;
font-weight: 600;
}
.project-period {
color: var(--text-gray);
font-size: 0.9rem;
font-style: italic;
}
.project-role {
color: var(--text-gray);
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
.project-description {
margin-bottom: 0.5rem;
}
/* Certifications & Awards */
.cert-item,
.award-item {
margin-bottom: 0.5rem;
font-size: 0.95rem;
}
/* Languages */
.languages-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 0.75rem;
}
.language-item {
font-size: 0.95rem;
}
/* Footer */
footer {
text-align: center;
padding: 2rem;
color: rgba(255,255,255,0.7);
font-size: 0.85rem;
}
/* Responsive */
@media (max-width: 768px) {
.cv-paper {
padding: 2rem 1.5rem;
}
.cv-name {
font-size: 2rem;
}
.experience-header,
.project-header,
.education-header {
flex-direction: column;
gap: 0.25rem;
}
.action-bar-content {
flex-direction: column;
gap: 1rem;
}
}
.no-print {}