Files
cht-lawfirm/back/app/contract/print/templates/styles.css
2023-02-17 19:46:22 +01:00

124 lines
2.0 KiB
CSS

@font-face {
font-family: 'Century Schoolbook';
src: url('http://{{ static_host }}/assets/century-schoolbook/CenturySchoolbookRegular.ttf');
}
@font-face {
font-family: "Century Schoolbook";
src: url("http://{{ static_host }}/assets/century-schoolbook/CenturySchoolbookBold.ttf");
font-weight: bold;
}
@font-face {
font-family: "Century Schoolbook";
src: url("http://{{ static_host }}/assets/century-schoolbook/CenturySchoolbookItalic.ttf");
font-style: italic;
}
@font-face {
font-family: "Century Schoolbook";
src: url("http://{{ static_host }}/assets/century-schoolbook/CenturySchoolbookBoldItalic.ttf");
font-weight: bold;
font-style: italic;
}
body {
width: 21cm;
font-size: 1.2em;
}
.content, .frontpage, .footer {
font-family: 'Century Schoolbook';
}
#front-page-header table {
width: 100%
}
#top-logo {
width: 5cm;
width: 5cm;
}
#office-info {
text-align: right;
vertical-align: middle;
}
h1 {
background: black;
color: white;
text-align: center;
font-size: 2.8em;
padding: 13px 0;
margin: 100px 0;
font-weight: bold;
}
h2 {
background: lightgrey;
font-size: 1.8em;
padding: 8px 0;
font-weight: bold;
}
.intro {
page-break-inside: avoid;
}
.party {
page-break-inside: avoid;
}
.part {
text-align: right;
}
.content {
background: url('http://{{ static_host }}/assets/watermark.png') repeat-y fixed left top;
background-size:contain;
}
.content h2 {
page-break-before: always;
}
.content h3 {
margin-top: 55px;
font-weight: bold;
font-size: 1.5em;
page-break-after: avoid;
}
.content p {
page-break-inside: avoid;
text-indent: 2em;
}
.provision {
page-break-inside: avoid;
}
p {
text-align: justify;
}
.footer {
margin-top: 30px;
}
.mention {
margin: 0px;
font-size: 0.9em;
}
.signatures {
width: 100%;
}
.signatures td {
vertical-align: top;
text-align: center;
height: 3cm;
}