-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
113 lines (100 loc) · 5.3 KB
/
Copy pathstyles.css
File metadata and controls
113 lines (100 loc) · 5.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* resume/ — shared tokens */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
:root {
--ink: #18140f;
--ink-2: #3a332a;
--ink-3: #6b6358;
--ink-4: #9a9286;
--bone: #f6f2ea;
--bone-2: #ede7db;
--paper: #fbf9f4;
--line: #d9d2c4;
--line-2: #e6dfd0;
--accent: oklch(0.62 0.17 35);
--accent-ink: oklch(0.35 0.12 35);
--accent-tint: oklch(0.95 0.03 35);
--ok: oklch(0.62 0.14 150);
--warn: oklch(0.72 0.14 75);
--serif: 'Instrument Serif', 'Times New Roman', serif;
--sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
--mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}
.rb-root { font-family: var(--sans); color: var(--ink); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.rb-root * { box-sizing: border-box; }
.rb-root .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.rb-root .mono { font-family: var(--mono); }
/* buttons */
.rb-btn {
font-family: var(--sans); font-weight: 500; font-size: 13px;
padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line);
background: var(--paper); color: var(--ink); cursor: pointer;
transition: background .12s, border-color .12s, transform .08s;
display: inline-flex; align-items: center; gap: 6px;
}
.rb-btn:hover { background: var(--bone-2); border-color: var(--ink-4); }
.rb-btn:active { transform: translateY(1px); }
.rb-btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rb-btn.primary:hover { background: var(--ink-2); }
.rb-btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.rb-btn.accent:hover { filter: brightness(0.96); }
.rb-btn.ghost { background: transparent; border-color: transparent; }
.rb-btn.ghost:hover { background: var(--bone-2); }
/* inputs */
.rb-input, .rb-textarea {
width: 100%; font-family: var(--sans); font-size: 13px;
padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px;
background: var(--paper); color: var(--ink); transition: border-color .12s, background .12s;
}
.rb-input:focus, .rb-textarea:focus { outline: none; border-color: var(--ink-2); background: #fff; }
.rb-textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
.rb-label { font-size: 11px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; display: block; }
/* kbd */
.rb-kbd {
font-family: var(--mono); font-size: 10px; padding: 1px 5px;
border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px;
background: var(--paper); color: var(--ink-3);
}
/* tag */
.rb-tag {
display: inline-flex; align-items: center; gap: 4px;
font-family: var(--mono); font-size: 10px; font-weight: 500;
padding: 2px 6px; border-radius: 3px; background: var(--bone-2); color: var(--ink-2);
text-transform: uppercase; letter-spacing: 0.04em;
}
.rb-tag.accent { background: var(--accent-tint); color: var(--accent-ink); }
.rb-tag.ok { background: oklch(0.95 0.04 150); color: oklch(0.4 0.1 150); }
.rb-tag.warn { background: oklch(0.95 0.04 75); color: oklch(0.4 0.1 75); }
/* hairline */
.rb-hr { height: 1px; background: var(--line); border: 0; margin: 0; }
/* resume preview styles — paper look */
.resume-paper {
background: #fff; color: #111; font-family: var(--sans);
padding: 36px 40px; line-height: 1.45;
box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.06);
}
.resume-paper h1 { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 4px; color: #111; }
.resume-paper h2 { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #555; margin: 18px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #ddd; }
.resume-paper h3 { font-size: 12px; font-weight: 600; color: #111; margin: 0 0 2px; }
.resume-paper .contact { font-size: 10px; color: #555; margin-bottom: 6px; }
.resume-paper .row { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.resume-paper .muted { color: #666; }
.resume-paper ul { margin: 4px 0 8px; padding-left: 16px; font-size: 11px; }
.resume-paper li { margin-bottom: 2px; }
.resume-paper .exp-block { margin-bottom: 10px; }
/* scrollbar */
.rb-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.rb-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.rb-scroll::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }
.rb-scroll { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
/* micro-animation */
@keyframes rb-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rb-fade-in { animation: rb-fade-in .3s ease-out; }
@keyframes rb-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.rb-pulse { animation: rb-pulse 1.4s ease-in-out infinite; }
@keyframes rb-blink { 50% { opacity: 0; } }
.rb-caret { display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: text-bottom; animation: rb-blink 1s step-end infinite; }
/* striped placeholder */
.rb-placeholder {
background-image: repeating-linear-gradient(-45deg, transparent 0, transparent 9px, rgba(0,0,0,0.04) 9px, rgba(0,0,0,0.04) 10px);
border: 1px dashed var(--line);
}