1
0

Update styles

This commit is contained in:
Serghei Cebotari 2023-11-29 23:32:08 +03:00
parent a22f804739
commit 9ab0ec6729

View File

@ -1,7 +1,7 @@
<style type="text/css"> <style type="text/css">
@font-face { @font-face {
font-family: 'Computer Modern Serif'; font-family: 'Computer Modern Serif';
src: url('font/cmunrm.woff') format('woff'),; src: url('font/cmunrm.woff') format('woff');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
@ -36,15 +36,16 @@
font-family: 'Computer Modern Serif', serif; font-family: 'Computer Modern Serif', serif;
font-size: 13pt; font-size: 13pt;
line-height: 100%; line-height: 100%;
}
page {
background: white; background: white;
display: block; display: block;
margin: 1cm auto; margin: 0 auto;
box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5); box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);
min-width: 21cm;
width: 21cm; width: 21cm;
height: 29.7cm; height: 29.7cm;
padding: 1.2cm; padding: 1.2cm;
box-sizing: border-box;
} }
ul { ul {
@ -68,25 +69,21 @@
h2, h2,
h3 { h3 {
margin-top: 5px; margin-top: 5px;
margin-bottom: 0; margin-bottom: 5px;
font-weight: normal; font-weight: normal;
} }
h3 {
border-bottom-style: solid;
border-bottom-width: 1px;
}
h1.name { h1.name {
font-size: xx-large; font-size: xx-large;
font-weight: bold; font-weight: bold;
margin-bottom: 5px; margin-bottom: 5px;
} }
hr {
margin-top: 0;
margin-bottom: 5px;
border: none;
height: 1px;
color: black;
background-color: black
}
em { em {
font-size: small; font-size: small;
} }
@ -97,10 +94,12 @@
} }
@media print { @media print {
body { body,
page {
background: white;
margin: 0; margin: 0;
box-shadow: 0 0 0 white;
padding: 0; padding: 0;
box-shadow: 0 0 0;
} }
} }
</style> </style>