tuning print css
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mauro Torrez 2020-05-10 23:50:22 -03:00
parent fbd1f78454
commit 7b6d91f947
3 changed files with 46 additions and 28 deletions

View File

@ -2,7 +2,7 @@
name: Hobbies name: Hobbies
items: items:
- name: Idiomas - name: Idiomas
desc: me apasiona aprender nuevos idiomas, actualmente estudiando alemán. desc: actualmente estudiando alemán.
- name: Cocina - name: Cocina
desc: siempre intentando perfeccionar alguna receta. desc: siempre intentando perfeccionar alguna receta.
- name: Jardinería - name: Jardinería

View File

@ -22,9 +22,9 @@
</title> </title>
{{ .Hugo.Generator }} {{ .Hugo.Generator }}
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/sustain-main.css" />
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/vitae-skeleton.css" /> <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/vitae-skeleton.css" />
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/vitae-layout.css" /> <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/vitae-layout.css" />
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/sustain-main.css" />
{{- if .Params.highlight -}} {{- if .Params.highlight -}}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/tomorrow.min.css"> <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/tomorrow.min.css">

View File

@ -148,16 +148,48 @@ em {
@media print { @media print {
@page { @page {
margin: 15mm; margin: 20mm;
}
.vitae-container {
display: block;
width: 17cm;
}
.vitae-container .three.columns {
margin: 0;
padding: 0;
float: none;
position: fixed;
width: 3.5cm;
}
.vitae-container .thirteen.columns.clearfix {
float: none;
display: block;
width: 13.5cm;
position: absolute;
margin: 0 0 0 3.5cm;
padding: 0;
}
.vitae-container .thirteen.columns {
float: none;
display: block;
width: 13.5cm;
margin: 0;
padding: 0;
} }
a[href].print-as-is:after { a[href].print-as-is:after {
content: ""; content: "";
} }
a:not(.btn) { text-decoration: none; }
body { body {
font-size: 12pt; font-size: 9pt;
line-height: 16pt; line-height: 11pt;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
@ -179,14 +211,14 @@ em {
} }
section > h1 { section > h1 {
font-size: 11pt; /* font-size: 11pt; */
font-weight: 700; font-weight: 700;
margin-top: 0; margin-top: 0;
} }
article > header > h1 { article > header > h1 {
font-weight: 600; font-weight: 600;
font-size: 14pt; /* font-size: 14pt; */
line-height: 140%; line-height: 140%;
margin-bottom: 0; margin-bottom: 0;
} }
@ -196,33 +228,19 @@ em {
position: absolute; position: absolute;
} }
.vitae-container > header {
font-size: 80%;
line-height: 160%;
float: none;
width: 4cm;
position: fixed;
}
.vitae-container > .thirteen {
float: none;
position: absolute;
margin-left: 4.5cm;
}
article > header > span { article > header > span {
font-size: 12pt; /* font-size: 12pt; */
font-weight: 500; font-weight: 500;
line-height: 80%; line-height: 80%;
} }
article > p { /* article > p { */
font-size: 11pt; /* font-size: 11pt; */
} /* } */
.introduction article > p { /* .introduction article > p { */
font-size: 12pt; /* font-size: 12pt; */
} /* } */
footer { footer {
display: none; display: none;