CV/style.css

191 lines
3 KiB
CSS
Raw Permalink Normal View History

2026-01-20 20:57:56 +00:00
/* CV Styles - Dark Theme matching bastiangruber.ca */
2026-01-20 22:53:54 +00:00
/* Inter - modern, highly readable font for CVs */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
2026-01-20 20:27:41 +00:00
* { box-sizing: border-box; }
html {
2026-01-20 22:53:54 +00:00
color: #f1f5f9;
2026-01-20 20:57:56 +00:00
background-color: #1a1f29;
2026-01-20 20:27:41 +00:00
}
body {
margin: 0 auto;
2026-01-20 22:53:54 +00:00
max-width: 900px;
2026-01-20 20:27:41 +00:00
padding: 40px 50px;
2026-01-20 22:53:54 +00:00
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 17px;
line-height: 1.65;
2026-01-20 20:57:56 +00:00
background-color: #1a1f29;
2026-01-20 22:53:54 +00:00
color: #f1f5f9;
2026-01-20 20:57:56 +00:00
color-scheme: dark;
2026-01-20 20:27:41 +00:00
}
@media (max-width: 600px) {
2026-01-20 22:53:54 +00:00
body { font-size: 16px; padding: 20px; }
2026-01-20 20:27:41 +00:00
}
@media print {
2026-01-20 20:57:56 +00:00
body { max-width: none; padding: 20px; font-size: 11pt; background: white; color: black; }
2026-01-20 20:27:41 +00:00
}
/* Name header */
.cmbx-12 {
2026-01-20 22:53:54 +00:00
font-size: 32px;
2026-01-20 20:27:41 +00:00
font-weight: 600;
display: block;
text-align: center;
margin-bottom: 5px;
2026-01-20 20:57:56 +00:00
color: #fbbf24;
2026-01-20 20:27:41 +00:00
}
/* Hide empty rows in name table */
.resume > .tabular:first-child table tr:not(:first-child) {
display: none;
}
/* Contact info */
.center-addresses {
width: 100%;
2026-01-20 22:53:54 +00:00
margin: 10px 0 15px 0;
2026-01-20 20:27:41 +00:00
border-collapse: collapse;
}
.center-addresses td {
padding: 0 20px;
vertical-align: top;
2026-01-20 22:53:54 +00:00
font-size: 16px;
line-height: 1.5;
2026-01-20 20:27:41 +00:00
}
.first-address {
text-align: right;
2026-01-20 20:57:56 +00:00
border-right: 1px solid #374151;
2026-01-20 20:27:41 +00:00
width: 50%;
}
.second-address {
text-align: left;
width: 50%;
}
@media (max-width: 600px) {
.center-addresses td {
display: block;
width: 100%;
text-align: center;
padding: 10px 0;
border: none;
}
.first-address {
border-right: none;
2026-01-20 20:57:56 +00:00
border-bottom: 1px solid #374151;
2026-01-20 20:27:41 +00:00
}
}
.center-addresses .cmbx-10 {
font-weight: 600;
2026-01-20 20:57:56 +00:00
color: #fbbf24;
2026-01-20 20:27:41 +00:00
display: block;
margin-bottom: 3px;
}
/* Section headers */
.sectionHead {
2026-01-20 22:53:54 +00:00
margin: 20px 0 10px 0;
padding-bottom: 6px;
2026-01-20 20:57:56 +00:00
border-bottom: 2px solid #fbbf24;
2026-01-20 20:27:41 +00:00
}
.sectionHead .centerline {
2026-01-20 22:53:54 +00:00
font-size: 14px;
2026-01-20 20:27:41 +00:00
font-weight: 600;
letter-spacing: 2px;
2026-01-20 20:57:56 +00:00
color: #fbbf24;
2026-01-20 20:27:41 +00:00
}
/* Section content */
div.section {
margin-left: 0;
}
/* Job titles */
.cmsl-10 {
font-weight: 600;
font-style: normal;
2026-01-20 22:53:54 +00:00
color: #fbbf24;
font-size: 1.05em;
}
/* Company names */
.company {
font-weight: 600;
color: #f8fafc;
}
/* Position blocks - add spacing between jobs */
div.section > p.noindent {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #2d3748;
}
div.section > p.noindent:first-of-type {
margin-top: 0;
padding-top: 0;
border-top: none;
2026-01-20 20:27:41 +00:00
}
/* Bold text */
.cmbx-10 {
font-weight: 600;
}
/* Lists */
ul.itemize1 {
margin: 8px 0 25px 0;
padding-left: 20px;
}
li.itemize {
margin-bottom: 5px;
2026-01-20 22:53:54 +00:00
color: #cbd5e1;
2026-01-20 20:27:41 +00:00
}
/* Paragraphs */
p {
margin: 0 0 8px 0;
}
p.noindent {
margin-bottom: 12px;
}
/* Remove extra spacing from tables */
.tabular {
margin: 0;
}
table.tabular {
margin: 0 auto;
}
/* Links */
a {
2026-01-20 20:57:56 +00:00
color: #fbbf24;
2026-01-20 20:27:41 +00:00
text-decoration: none;
2026-01-20 20:57:56 +00:00
transition: all 200ms linear;
2026-01-20 20:27:41 +00:00
}
a:hover {
text-decoration: underline;
2026-01-20 20:57:56 +00:00
color: #fde047;
2026-01-20 20:27:41 +00:00
}
/* Line breaks styling */
br.newline {
display: block;
margin-bottom: 2px;
}