we need auto width for pre tags in embed
[phorkie.git] / www / css / embed.css
1 .phork-file {
2     border: 1px solid #DDD;
3     border-bottom: 1px solid #CCC;
4     border-radius: 3px;
5     padding: 0px;
6     background-color: white;
7     margin-bottom: 2ex;
8     margin-top: 2ex;
9 }
10 .phork-content {
11     padding: 0.6ex;
12 }
13 .phork-content > .code {
14     overflow-x: auto;
15 }
16 .phork-file .code pre {
17     border: none;
18     background-color: inherit;
19     word-break: normal;
20     word-wrap: normal;
21     white-space: pre;
22     color: black;
23     font: normal normal 1em/1.2em monospace;
24     padding: 0px;
25     margin: 0px;
26     width: auto;
27 }
28 .phork-file .code .ln pre {
29     margin-right: 1ex;
30     color: #DDD;
31 }
32 .phork-meta {
33     background-color: #EEE;
34     font-size: 75%;
35     padding: 0.5ex 1ex;
36     margin: none;
37 }
38 .phork-meta a {
39     font-family: sans-serif;
40     text-decoration: none;
41     color: #888;
42     font-weight: bold;
43 }