Skip to content
Snippets Groups Projects
Commit a5e06196 authored by Julien Lamy's avatar Julien Lamy
Browse files

Add CSS

parent bce22c58
No related merge requests found
Pipeline #9617 passed with stage
in 41 seconds
......@@ -3,7 +3,7 @@ pages:
script:
- apt-get update
- apt-get install -y --no-install-recommends python-pypandoc
- pandoc sujet.md -t html5 -o index.html --self-contained
- pandoc sujet.md -c style.css -t html5 -o index.html --self-contained
- mkdir .public
- cp -r index.html .public
- mv .public public
......
body {
margin-left: auto;
margin-right: auto;
max-width: 700px;
text-align: justify;
}
h1 {
counter-reset: section subsection;
}
h2::before {
counter-increment: section;
content: counter(section) ". ";
}
h2 {
counter-reset: subsection;
}
h3::before {
counter-increment: subsection;
content: counter(section) "." counter(subsection) ". ";
}
img {
max-width: 700px;
}
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