diff --git a/Dockerfile b/Dockerfile index 5d5cc42..22f3387 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN CGO_ENABLED=0 go build -o /app FROM scratch COPY --from=build /app . COPY html/ html/ +COPY css/ css/ COPY static/ static/ COPY tmpl/ tmpl/ EXPOSE 3000 diff --git a/compose.yaml b/compose.yaml index 6ebda20..2660b08 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,12 +8,15 @@ services: watch: - action: rebuild path: src/ - - action: sync+restart - path: html/ - target: html/ - action: sync+restart path: tmpl/ target: tmpl/ + - action: sync+restart + path: html/ + target: html/ + - action: sync + path: css/ + target: css/ - action: sync path: static/ target: static/ diff --git a/css/resume.css b/css/resume.css new file mode 100644 index 0000000..a987a76 --- /dev/null +++ b/css/resume.css @@ -0,0 +1,11 @@ +@media print { + @page { + size: A4; + size: portrait; + margin: 5mm; + } + + #menu, #credits { + display: none; + } +} diff --git a/html/style.css b/css/style.css similarity index 100% rename from html/style.css rename to css/style.css diff --git a/html/contact.html b/html/contact.html index dff8dc9..022f78a 100644 --- a/html/contact.html +++ b/html/contact.html @@ -2,9 +2,9 @@
{{template "head.tmpl" .}} + - {{template "header.tmpl" .}}