1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 16:20:11 +00:00

Modern: PDF: Update from HTML.

This commit is contained in:
hacksalot 2016-01-12 07:40:00 -05:00
parent 9150842523
commit 1799a49234
2 changed files with 11 additions and 6 deletions

View File

@ -11,7 +11,7 @@ body {
font-size: 15px; font-size: 15px;
color: #333; color: #333;
line-height: 1.42857143; line-height: 1.42857143;
/*background-color: #F0F0F0;*/ background-color: #F0F0F0;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@ -27,7 +27,7 @@ the PDF case, <main> for the HTML case, and style both via an ID. */
background-color: #FFF; background-color: #FFF;
margin: 10px; margin: 10px;
padding: 10px; padding: 10px;
/*border: 1px solid #E6E6E6;*/ border: 1px solid #E6E6E6;
} }
body.pdf > #main { body.pdf > #main {
@ -49,8 +49,8 @@ body.pdf #container > header {
display: block; display: block;
} }
#main > #container > section > span.fa span.fa
{ {
position: absolute; position: absolute;
top: 4px; top: 4px;
left: -50px; left: -50px;
@ -65,7 +65,7 @@ hr {
border-top: 1px solid #EEE; border-top: 1px solid #EEE;
} }
.tenure { .tenure, .keywords {
font-size: 75%; font-size: 75%;
} }

View File

@ -12,7 +12,7 @@
{{{ cssInfo.data }}} {{{ cssInfo.data }}}
</style> </style>
</head> </head>
<body> <body class="pdf">
<main id="main"> <main id="main">
<div id="container"> <div id="container">
<header> <header>
@ -96,6 +96,11 @@
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}} {{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
{{> section/speaking }} {{> section/speaking }}
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
{{> section/testimonials }}
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
{{> section/references }}
</div> </div>
</main> </main>