summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/css/_contenu.scss31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/css/_contenu.scss b/src/css/_contenu.scss
index 8ba656b..6009c1c 100755
--- a/src/css/_contenu.scss
+++ b/src/css/_contenu.scss
@@ -2,16 +2,15 @@ article {
margin: auto 0 0 0;
font-family: Nimbus sans, Fira Code, Courier New, get a font bro, Arial;
- line-height: 1.65rem;
- font-size: 1.25rem;
+ line-height: 1.5rem;
+ font-size: 1rem;
position: relative;
- max-width: 950px; ;
+ max-width: 950px;
.pubdate {
text-align: right;
- font-size: 0.75em;
-
+ line-height: 1.65;
}
ul {
line-height: 1.6;
@@ -21,16 +20,28 @@ article {
font-family: Palatino Linotype, Bookman Old Style, Fira Code, get a font bro, Times;
}
+ h1, h2, h3, h4 {
+ margin: 1rem 0;
+ }
+ p {
+ margin: 0.5rem 0;
+ }
+
h1 {
- font-size: 3rem;
+ font-size: 2rem;
line-height: 3rem;
+ margin: 0.5rem 0;
}
h2 {
- font-size: 2rem;
+ font-size: 1.6rem;
line-height: 3rem;
}
h3 {
- font-size: 1.6rem;
+ font-size: 1.3rem;
+ line-height: 3rem;
+ }
+ h4 {
+ font-size: 1.1rem;
line-height: 3rem;
}
@@ -105,7 +116,7 @@ article {
display: inline;
}
#sommaire + ol, #table-of-contents + ol {
- line-height: 2.5em;
+ line-height: 1.6rem;
@media #{$gt-gsm} {
line-height: 1.4em;
}
@@ -279,7 +290,7 @@ article {
.sidenote {
position: absolute;
font-style: oblique;
- font-size: 1.07rem;
+ font-size: 0.8rem;
}
}