Adding some styles to support a clean, printable format. Two resume's in one! 📄 🎉

Signed-off-by: Bryan Culver <me@bryanculver.com>
This commit is contained in:
Bryan Culver
2017-01-10 12:22:27 -05:00
parent 0007b6c057
commit f13d8966e4
5 changed files with 118 additions and 5 deletions
+6
View File
@@ -94,4 +94,10 @@
border-top: 4px solid #c7c7c7;
border-bottom: 2px solid #c7c7c7;
padding: .2rem 0 .4rem;
}
@mixin section_border_thin {
border-top: 1px solid #c7c7c7;
border-bottom: 1px solid #c7c7c7;
padding: .2rem 0 .2rem;
}
+43
View File
@@ -39,6 +39,14 @@
margin: 1rem 0 2rem;
}
.header-contact-info {
@include sans;
text-align: center;
}
.header-contact-info p a {
color: inherit;
}
.title-bar {
@include section_border;
padding: .4rem 0;
@@ -176,3 +184,38 @@
}
}
}
.print-only { display: none !important }
@media print {
.no-print { display: none !important }
.print-only { display: block !important }
body { font-size: 12px; line-height: 1rem; }
.page-header { padding: 1rem 0 .2rem;
.header-name {
@include sans_bold;
font-size: 2rem;
margin: 0 0 .2rem;
}
}
.section-header {
@include section_border_thin;
margin-bottom: 1rem;
h2 { font-size: 1.2rem; line-height: 1.5rem; }
}
.content-section {
margin: 0 0 1rem;
.resume-item { margin-bottom: 1rem; }
.resume-item-title {
font-size: 16px;
line-height: .7em;
}
.resume-item-details {
font-size: 12px;
margin: 0;
line-height: .7em;
font-style:italic;
}
}
}