diff options
Diffstat (limited to 'layouts/partials/style.html')
-rw-r--r-- | layouts/partials/style.html | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html new file mode 100644 index 0000000..bccfb8f --- /dev/null +++ b/layouts/partials/style.html @@ -0,0 +1,106 @@ +<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; + font-size: 13pt; + line-height: 100%; + } + + .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, + h2, + 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; + } + + em { + font-size: small; + } + + table { + margin-left: 2.5%; + width: 95%; + } + + @media print { + body, + .page { + background: white; + margin: 0; + box-shadow: 0 0 0 white; + padding: 0; + } + } +</style>
\ No newline at end of file |