Skip to content
Snippets Groups Projects
Commit b2371a3e authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

Added style for section headers

parent 4305cb6c
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment