Commit 3b565d03 authored by Emmanuel Roubin's avatar Emmanuel Roubin
Browse files

add font

parent 2b7d2167
FROM python:3.9-buster
RUN pip install requests
\ No newline at end of file
......@@ -126,15 +126,16 @@ def get_biblio_idhal(idhal):
f.write('\t<head>\n')
f.write('\t\t<meta charset="UTF-8">\n')
f.write('\t\t<style>\n')
f.write('\t\t\tbody {color: #4c5154; word-wrap: break-word; width: 650px;}\n')
f.write('\t\t\tbody {color: #4c5154; word-wrap: break-word; width: 650px; font: normal 100%/1.5 "montserratregular";}\n')
f.write('\t\t\ta {color: #bf3a8d; text-decoration: none;}\n')
f.write('\t\t\ta:hover {text-decoration: underline;}\n')
f.write('\t\t\th4 {lighter 1.063em "montserratregular"; margin: 1.176em 0 0.750em 0}\n')
f.write('\t\t</style>\n')
f.write('\t</head>\n')
f.write('\t<body>\n')
f.write('\t\t<div id="contenu-encadres">\n')
for type, publis in publis_by_type.items():
f.write('\t\t<h2>{}</h2>\n'.format(type))
f.write('\t\t<h4>{}</h4>\n'.format(type))
f.write('\t\t<div><ul>\n')
for publi in publis:
f.write('\t\t\t<li>{}</li>\n'.format(html_publi(publi)))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment