diff --git a/home/static/css/style.css b/home/static/css/style.css index ebc70a2477c6fcbfb1b19142cafe15a7f8c18b12..9959b294cda1f80a12e0ed1f2a8aaa46ac82b07c 100644 --- a/home/static/css/style.css +++ b/home/static/css/style.css @@ -75,11 +75,19 @@ section { section > * { max-width: 960px; + margin-left: 15%; + margin-right: 15%; + padding-left: 10px; + padding-right: 10px; +} - margin-left: calc(50% - 480px); - margin-right: calc(50% - 480px); - padding-left: 60px; - padding-right: 60px; +section h2 { + font-size: 1.5rem; + font-weight: 300; + text-align: left; + border-bottom: 2px solid #006809; + border-image-source: linear-gradient(to right, #006809 0%, transparent 75%); + border-image-slice: 1; } section p { diff --git a/home/templates/home.html b/home/templates/home.html index 488f4703d3d7378799f4ddbf4c2b691f303c8617..90999657c25a2ba7f5831f19ca20924a02f87c0b 100644 --- a/home/templates/home.html +++ b/home/templates/home.html @@ -22,7 +22,7 @@ <a href="/" class="internal"><div class="navlink">Bouton autre</div></a> </nav> <section> - <h1>A Title</h1> + <h2>A Title</h2> <p>a paragraph</p> <p>another paragraph with <a href="http://www.google.com" class="external">an external link</a></p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>