style: add rules for figure tag

Co-Authored-by: Igor Milhit <igor@milhit.ch>
pull/31/head
iGor milhit 2019-08-28 18:05:41 +02:00
parent 74181ecd54
commit 09fbaa06f9
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 35 additions and 12 deletions

View File

@ -8,21 +8,10 @@ html, body {
font-size: 1.25rem; font-size: 1.25rem;
} }
code, .footnotes, .footnote-ref { code, .footnotes, .footnote-ref, figure p {
font-size: 1rem; font-size: 1rem;
} }
code, pre {
background-color: lightgrey;
border-radius: 5px;
padding: 0.2rem;
}
pre {
overflow: auto;
max-width: 95vw;
}
/* /*
* ************** * * ************** *
* LAYOUT * * LAYOUT *
@ -173,3 +162,37 @@ dd {
display: flex; display: flex;
padding: 0; padding: 0;
} }
/*
* ************** *
* DIVERS *
* ************** *
*/
code, pre {
background-color: lightgrey;
border-radius: 5px;
padding: .2rem;
}
pre {
overflow: auto;
max-width: 95vw;
}
figure {
background-color: lightgrey;
padding: .4rem;
border-radius: 5px;
margin-right: .4rem;
margin-left: .4rem;
}
figure img {
width: 100%;
}
figure p {
text-align: center;
margin: .2rem 0;
}