69 lines
2.2 KiB
CSS
69 lines
2.2 KiB
CSS
:root{
|
|
--bg:#ffffff;
|
|
--text:#111827;
|
|
--muted:#6b7280;
|
|
--accent:#0ea5a4;
|
|
--container-width:900px;
|
|
}
|
|
*{box-sizing:border-box}
|
|
html,body{height:100%}
|
|
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial; margin:0; background:var(--bg); color:var(--text); line-height:1.5}
|
|
.container{max-width:var(--container-width); margin:0 auto; padding:24px}
|
|
.site-header{background:linear-gradient(90deg,#f8fafc,#eef2ff); border-bottom:1px solid #e6e9ef}
|
|
.header-inner{display:flex; align-items:center; justify-content:space-between}
|
|
.name{margin:0; font-size:1.6rem; letter-spacing:0.02em}
|
|
.subtitle{margin:4px 0 8px; color:var(--muted)}
|
|
.contact{margin:0; color:var(--muted); font-size:0.95rem}
|
|
.actions{display:flex; gap:8px; align-items:center}
|
|
.btn{background:var(--accent); color:white; border:none; padding:8px 12px; border-radius:6px; text-decoration:none; cursor:pointer; font-weight:600}
|
|
.btn:hover{opacity:0.95}
|
|
main{padding:28px 0}
|
|
section{margin-bottom:22px}
|
|
h2{margin:0 0 16px; font-size:2rem; color:var(--text); font-weight:700}
|
|
.skills-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 14px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.skill-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
background: #f3f4f6;
|
|
border-radius: 8px;
|
|
padding: 14px 16px;
|
|
gap: 14px;
|
|
color: var(--text);
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.02);
|
|
}
|
|
.skill-icon {
|
|
font-size: 2rem;
|
|
margin-right: 8px;
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
.job{margin-bottom:12px}
|
|
.job .meta{color:var(--muted); font-size:0.95rem}
|
|
.pdf-wrapper{border:1px solid #e6e9ef; border-radius:6px; overflow:hidden}
|
|
.pdf-wrapper iframe{width:100%; height:640px; display:block}
|
|
|
|
/* Responsive */
|
|
@media (max-width:700px){
|
|
.header-inner{flex-direction:column; align-items:flex-start; gap:12px}
|
|
.pdf-wrapper iframe{height:480px}
|
|
}
|
|
|
|
/* Dark theme */
|
|
body.dark{--bg:#0b1220; --text:#e6eef7; --muted:#9aa6b2; --accent:#06b6d4}
|
|
body.dark .site-header{background:linear-gradient(90deg,#081124,#0f1724)}
|
|
body.dark .skill-item{background:#0f1724}
|
|
|
|
/* Print */
|
|
@media print{
|
|
.site-header .actions, #themeToggle {display:none}
|
|
.pdf-wrapper iframe{display:none}
|
|
body{background:white; color:black}
|
|
.container{padding:0}
|
|
}
|