Add fluid responsive design to comment and code tags

This commit is contained in:
Roan Horning 2024-10-12 10:43:51 -04:00
parent ad89f1fb4f
commit d1539a3ca2
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -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;
} }