summaryrefslogtreecommitdiff
path: root/docs/css/styles.css
diff options
context:
space:
mode:
authorRochDLY <roch.delannay@gmail.com>2024-06-28 12:17:55 +0200
committerRochDLY <roch.delannay@gmail.com>2024-06-28 12:17:55 +0200
commit0ea65572192f9bd5cfeb6fca9bb58f3284d81e79 (patch)
treecef170edf8e99e8e96a92774d834765b61ab7a74 /docs/css/styles.css
parent38bc2b0bfef5e53a8d87cf6b006c76509939cbed (diff)
downloadpandoc-site-0ea65572192f9bd5cfeb6fca9bb58f3284d81e79.tar.gz
pandoc-site-0ea65572192f9bd5cfeb6fca9bb58f3284d81e79.tar.bz2
pandoc-site-0ea65572192f9bd5cfeb6fca9bb58f3284d81e79.zip
docs: ajout des fonts et du css dans l'output du site
Diffstat (limited to 'docs/css/styles.css')
-rw-r--r--docs/css/styles.css55
1 files changed, 52 insertions, 3 deletions
diff --git a/docs/css/styles.css b/docs/css/styles.css
index 2bf312f..7947887 100644
--- a/docs/css/styles.css
+++ b/docs/css/styles.css
@@ -1,3 +1,33 @@
+@font-face {
+ font-family: 'Bagnard';
+ font-weight: 400;
+ src: url('/fonts/Bagnard.otf') format('otf');
+}
+
+@font-face {
+ font-family: 'texgyreheroscn';
+ font-weight: 400;
+ src: url('/fonts/texgyreheroscn-regular.otf') format('otf');
+}
+
+@font-face {
+ font-family: 'texgyreheroscn';
+ font-weight: 700;
+ src: url('/fonts/texgyreheroscn-bold.otf') format('otf');
+}
+
+@font-face {
+ font-family: 'texgyreheroscn';
+ font-style: italic;
+ src: url('/fonts/texgyreheroscn-italic.otf') format('otf');
+}
+
+@font-face {
+ font-family: 'texgyreheroscn';
+ font-weight: 700;
+ src: url('/fonts/texgyreheroscn-bolditalic') format('otf');
+}
+
blockquote {
background-color: #3333332a;
font-style: italic;
@@ -13,7 +43,8 @@ body {
display: grid;
gap: 20px;
grid-template-columns: 1fr 2fr;
- font-family: 'Syne Mono', monospace;
+ font-family: 'texgyreheroscn';
+ font-size: 1em;
}
footer {
@@ -24,6 +55,10 @@ footer {
grid-row: 3;
}
+h1, h2, h3, h4, h5, h6 {
+ font-family: 'Bagnard';
+}
+
img {
max-width : 100%;
max-height : 400px;
@@ -38,7 +73,13 @@ img {
}
.content {
- padding: 2em;
+ padding: 4em;
+ font-size: 1.3em;
+
+}
+
+.content h2 {
+ font-size: 2.5em;
}
.description-site {
@@ -60,7 +101,7 @@ img {
.header-bloc h1,
.header-bloc h2 {
font-weight: 600;
- font-size: 12pt;
+ font-size: 16pt;
color: white;
}
@@ -182,3 +223,11 @@ footer a:hover, footer a:active {
.toc a:hover, .toc a:active {
text-decoration: underline;
}
+
+.load-content {
+ font-size: 0.8em;
+}
+
+.smaller-content {
+ font-size: 0.6em;
+} \ No newline at end of file