MyResume/resume.css

217 lines
3.3 KiB
CSS

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
background: #fff;
color: #0f172a;
line-height: 1.5;
}
.page {
max-width: 1000px;
margin: 20px auto;
padding: 24px;
border: 1px solid #e5e7eb;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.header {
display: flex;
justify-content: space-between;
border-bottom: 2px solid #e5e7eb;
padding-bottom: 12px;
margin-bottom: 20px;
}
.title .name {
font-size: 32px;
font-weight: 800;
}
.role {
font-size: 16px;
color: #475569;
}
.contact {
font-size: 14px;
color: #334155;
text-align: right;
}
.contact a { color: #0369a1; text-decoration: none; }
.layout {
display: grid;
grid-template-columns: 300px 1fr;
gap: 20px;
}
.card {
border: 1px solid #e5e7eb;
padding: 14px;
border-radius: 8px;
background: #fafafa;
margin-bottom: 16px;
}
.section-title {
font-size: 14px;
font-weight: bold;
letter-spacing: 1.2px;
text-transform: uppercase;
margin-bottom: 8px;
color: #475569;
}
.skills { padding-left: 18px; }
.skills li { margin-bottom: 6px; }
.item { margin-bottom: 18px; }
.item-header {
display: flex;
justify-content: space-between;
align-items: baseline;
}
.item-header h3 { font-size: 18px; }
.daterange { font-size: 14px; color: #64748b; }
ul { padding-left: 20px; }
ul li { margin: 4px 0; }
.muted { color: #64748b; font-size: 14px; }
.footer {
text-align: center;
font-size: 13px;
margin-top: 20px;
color: #64748b;
}
.download-btn {
display: inline-block;
margin-bottom: 8px;
padding: 6px 16px;
font-size: 13px;
font-weight: 600;
color: #fff;
background: #0369a1;
border: none;
border-radius: 6px;
cursor: pointer;
}
.download-btn:hover { background: #0284c7; }
@media print {
@page {
size: A4;
margin: 14mm 16mm;
}
* {
background: transparent !important;
color: #000 !important;
box-shadow: none !important;
text-shadow: none !important;
}
body {
font-size: 10.5pt;
line-height: 1.35;
}
.page {
max-width: none;
margin: 0;
padding: 0;
border: none;
border-radius: 0;
}
.header {
break-after: avoid;
padding-bottom: 8px;
margin-bottom: 12px;
}
.title .name {
font-size: 20pt;
}
.contact {
font-size: 8.5pt;
}
.layout {
grid-template-columns: 1fr 2fr;
gap: 14px;
}
.card {
border: 0.5pt solid #aaa;
padding: 10px;
break-inside: avoid;
margin-bottom: 10px;
}
.section-title {
font-size: 9pt;
letter-spacing: 0.8pt;
margin-bottom: 5px;
}
.item {
break-inside: avoid;
margin-bottom: 12px;
}
.item-header h3 {
font-size: 11pt;
}
.daterange {
font-size: 8.5pt;
}
ul {
padding-left: 14pt;
}
ul li {
font-size: 9.5pt;
margin: 2pt 0;
}
.muted {
font-size: 9pt;
}
.skills {
padding-left: 14pt;
}
.skills li {
font-size: 9pt;
margin-bottom: 3pt;
}
a {
text-decoration: none;
}
.footer {
font-size: 8.5pt;
margin-top: 10px;
}
.download-btn {
display: none !important;
}
.role {
font-size: 10pt;
}
}
@media (max-width: 820px) {
.layout { grid-template-columns: 1fr; }
.contact { text-align: left; }
}