Improve CSS for code listing and quotation.
This commit is contained in:
parent
99fccc120c
commit
d3b6d1cda7
1 changed files with 19 additions and 8 deletions
|
@ -30,8 +30,9 @@ body {
|
||||||
|
|
||||||
.quotation {
|
.quotation {
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
margin: 0 0 20px;
|
margin: 1px 50px 4px;
|
||||||
border-left: 5px solid #eeeeee;
|
border: 2px solid #91908f;
|
||||||
|
background: #eceeee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quotation p {
|
.quotation p {
|
||||||
|
@ -79,20 +80,30 @@ body {
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
.lstlisting {
|
.lstlisting
|
||||||
|
{
|
||||||
font-family: monospace, serif;
|
font-family: monospace, serif;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
padding: 2px 1px;
|
||||||
padding: 2px 4px;
|
margin: 1px 5px 4px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
color: #c7254e;
|
color: #c7254e;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
background-color: #f9f2f4;
|
background-color: #f9f2f4;
|
||||||
border-radius: 4px;
|
border-radius: 2px;
|
||||||
padding: 0;
|
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 2px solid #575857;
|
||||||
|
}
|
||||||
|
.lstlisting.label {
|
||||||
|
font-family: monospace, serif;
|
||||||
|
border: 0;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 90%;
|
||||||
|
padding: 0;
|
||||||
|
border-radius: 0px;
|
||||||
|
color: #c7254e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue