comparison website/src/site.css @ 1812:f44dcb3fedf7

docs - add code block
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 10 Jun 2024 14:41:48 -0600
parents 2fbca5c84422
children
comparison
equal deleted inserted replaced
1811:55d89a183c82 1812:f44dcb3fedf7
60 } 60 }
61 div[heading] > a { 61 div[heading] > a {
62 font-size: 14px; 62 font-size: 14px;
63 } 63 }
64 64
65 h4 code { 65 h4 {
66 font-size: 1.4em; 66 font-size: 1.1em;
67 } 67 }
68 68
69 div[footer] { 69 div[footer] {
70 margin-top: 32px; 70 margin-top: 32px;
71 font-size: small; 71 font-size: small;
72 } 72 }
73 div[footer] img { 73 div[footer] img {
74 height: 1em; 74 height: 1em;
75 vertical-align: top; 75 vertical-align: top;
76 } 76 }
77
78 code {
79 font-size: 16px;
80 font-weight: bold;
81 }
82 code[block] {
83 font-size: initial;
84 font-weight: initial;
85 background-color: #DDD;
86 padding: 2px;
87 white-space: pre-wrap;
88 word-wrap: break-word;
89 display: block;
90 padding: 1em;
91 margin-top: 1em;
92 margin-bottom: 1em;
93 }
94 code[block]:first-line {
95 line-height: 0;
96 }