Add fluid responsive design to comment and code tags
This commit is contained in:
parent
ad89f1fb4f
commit
d1539a3ca2
@ -240,18 +240,16 @@ pre { /* Add background, border and scrollbar to <pre> */
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
padding: 0.5rem
|
||||||
}
|
}
|
||||||
|
|
||||||
table.hosts {
|
pre code {
|
||||||
background: white
|
padding-right: 0.5rem;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
table.hosts tr:nth-child(even) { background-color:#cccccc; }
|
|
||||||
table.hosts tr:nth-child(odd) { background-color:white; }
|
|
||||||
table.hosts tr td img { vertical-align:middle }
|
|
||||||
|
|
||||||
pre.comment {
|
pre.comment {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
padding: 2px;
|
|
||||||
line-height: 1.2rem;
|
line-height: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user