1
0
hugos-resume/layouts/partials/style.html
2023-12-05 00:02:24 +03:00

114 lines
2.1 KiB
HTML

<style type="text/css">
@font-face {
font-family: 'Computer Modern Serif';
src: url('font/cmunrm.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Computer Modern Serif';
src: url('font/cmunbx.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Computer Modern Serif';
src: url('font/cmunti.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Computer Modern Serif';
src: url('font/cmunbi.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
}
body {
font-family: 'Computer Modern Serif', serif;
line-height: 100%;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}
.page {
background: white;
display: block;
margin: 0 auto;
box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);
width: 21cm;
height: 29.7cm;
padding: 1.2cm;
box-sizing: border-box;
}
ul {
margin: 0;
padding-left: 50px;
list-style-type: disc;
font-size: small;
}
.skills {
padding-left: 0;
margin-left: 2.5%;
font-size: small;
}
a {
color: black;
}
h1,
h3 {
margin-top: 5px;
margin-bottom: 5px;
font-weight: normal;
}
h3 {
border-bottom-style: solid;
border-bottom-width: 1px;
}
h1.name {
font-size: xx-large;
font-weight: bold;
margin-bottom: 5px;
}
.subtitle {
font-size: small;
}
table {
margin-left: 5pt;
margin-right: 5pt;
width: 100%;
}
@media print {
body,
.page {
background: white;
margin: 0;
box-shadow: 0 0 0 white;
padding: 0;
}
}
</style>