mirror of https://framagit.org/kyodev/kyopages.git
css pre code
This commit is contained in:
parent
682e4b1fa7
commit
9c69f7bbce
|
@ -82,6 +82,7 @@ pre, .rst-content tt {
|
||||||
border: solid 1px #e1e4e5;
|
border: solid 1px #e1e4e5;
|
||||||
color: #333;
|
color: #333;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
code.code-large, .rst-content tt.code-large {
|
code.code-large, .rst-content tt.code-large {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
|
@ -100,8 +101,13 @@ pre code {
|
||||||
border: none;
|
border: none;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
font-family: monospace,serif;
|
font-family: monospace;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
padding: 0.33em; /* surchargé par hightlight.css éventuellement*/
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
code.hljs {
|
||||||
|
padding: 0.33em;
|
||||||
}
|
}
|
||||||
a code {
|
a code {
|
||||||
color: #2FA4E7;
|
color: #2FA4E7;
|
||||||
|
|
Loading…
Reference in New Issue