Index: skins/default/css.txt ================================================================== --- skins/default/css.txt +++ skins/default/css.txt @@ -23,10 +23,11 @@ color: #4183C4; float: left; } .title h1 { display: inline; + font-size: 2.00em; } .title h1:after { content: " / "; color: #777; font-weight: normal; @@ -102,26 +103,21 @@ /* Main document area; elements common to most pages. */ .content { - padding-top: 10px; - font-size: 0.8em; + padding: 0ex 1ex 1ex 1ex; color: #444; } .content blockquote { - padding: 0 15px; -} -.content h1 { - font-size: 1.25em; -} -.content h2 { - font-size: 1.15em; -} -.content h3 { - font-size: 1.05em; -} + padding: 0.1em 1em; +} +.content h1 { font-size: 2.00em; margin-left: 10pt; } +.content h2 { font-size: 1.50em; margin-left: 20pt; } +.content h3 { font-size: 1.15em; margin-left: 30pt; } +.content h4 { font-size: 1.05em; margin-left: 40pt; } +.content h5 { font-size: 1.00em; margin-left: 50pt; } .section { font-size: 1em; font-weight: bold; background-color: #f5f5f5; @@ -145,10 +141,16 @@ hr { color: #eee; } +/* Wiki text block adjustments */ +pre.verbatim { + padding: 0.5em; + white-space: pre-wrap; +} + /* Page footer */ .footer { border-top: 1px solid #ccc; @@ -162,23 +164,170 @@ .forum a:visited { color: #6A7F94; } -.forum blockquote { +textarea.wikiedit { + font-size: 1em; /* monospace fonts tend to be smaller; compensate */ +} + +body.cpage-forumnew form input { + margin: 0.5em 0; +} + + +/* Markdown and Wiki-formatted pages: /wiki, /doc, /file... */ + +.doc blockquote, .markdown blockquote { background-color: rgba(65, 131, 196, 0.1); - border-left: 3px solid #254769; - padding: .1em 1em; + border-left: 3px solid #4183c4; + margin-left: 60pt; + padding: 0.1em 1em; +} + +.doc dl, .markdown dl { + margin-left: 60pt; +} + +.doc dt, .markdown dt { + margin-left: 10pt; +} + +.doc dd, .markdown dd { + margin-left: 30pt; + margin-bottom: 1em; +} + +.doc hr, .markdown hr { + margin-left: 10pt; +} + +.doc dd, .doc dt, +.doc li, +.doc p, +.doc table, +.markdown dd, .markdown dt, +.markdown li, +.markdown p, +.markdown table { + line-height: 1.4em; +} + +.doc p, +.doc pre, +.doc ol, .doc ul, +.doc table, +.markdown p, +.markdown pre, +.markdown ol, .markdown ul, +.markdown table { + margin-left: 50pt; + margin-right: 50pt; +} + +.doc p ol, .doc p ul, +.doc pre ol, .doc pre ul, +.doc ol ol, .doc ol ul, +.doc ul ol, .doc ul ul, +.doc table ol, .doc table ul, +.markdown p ol, .markdown p ul, +.markdown pre ol, .markdown pre ul, +.markdown ol ol, .markdown ol ul, +.markdown ul ol, .markdown ul ul, +.markdown table ol, .markdown table ul { + margin-left: 10pt; +} + +.doc pre, .markdown pre { + hyphens: none; + font-size: 110%; + line-height: 1.25; + margin-left: 70pt; +} + +.doc .pikchr-wrapper, .markdown .pikchr-wrapper { + font-size: 15px; + margin-left: 50pt; +} + +.doc ul li, .markdown ul li { + list-style-type: disc; +} + +.doc li p, .doc li pre, .markdown li p, .markdown li pre { + margin-left: 0; +} + +.doc table, .markdown table { + background-color: #f0f5f9; + border: 1px solid #a7c2dc; + border-radius: 0.5em; + padding: 6px; +} + +.doc th, .markdown th { + border-bottom: 1px solid #dee8f2; + padding-bottom: 4px; + padding-right: 6px; + text-align: left; +} + +.doc td, .markdown td { + padding-bottom: 4px; + padding-right: 6px; + text-align: left; +} + +div.pikchr-wrapper.indent:not(.source) { + margin-left: 70pt; +} + +/* Back above margins out in forum posts and ticket comments, and define + * a one-off class for use in documents where the same is desired. */ +.forum .markdown blockquote, +.forum .markdown h1, +.forum .markdown h2, +.forum .markdown h3, +.forum .markdown h4, +.forum .markdown h5, +.forum .markdown p, +.forum .markdown pre, +.forum .markdown ol, +.forum .markdown ul, +.forum .forumTime h1, +.forum .forumTime h2, +.forum .forumTime h3, +.tkt .markdown h1, +.tkt .markdown h2, +.tkt .markdown h3, +.tkt .markdown h4, +.tkt .markdown h5, +.tkt .markdown p, +.tkt .markdown pre, +.tkt .markdown ol, +.tkt .markdown ul, +.nomargins, +.nomargins h1, +.nomargins h2, +.nomargins h3, +.nomargins h4, +.nomargins h5, +.nomargins p, +.nomargins pre, +.nomargins ol, +.nomargins ul { + margin-left: 0; + margin-right: 0; } /* Tickets */ table.report { cursor: auto; - border-radius: 5px; border: 1px solid #ccc; + border-radius: 0.5em; margin: 1em 0; } .report td, .report th { border: 0; font-size: .8em; @@ -231,10 +380,26 @@ div.timelineDate { font-weight: bold; white-space: nowrap; } +tr.timelineSelected { + /* default/css.txt puts these styles on the whole row. We want them only + on the comment/details cell within the table, not over the time + and graph columns as well. */ + background-color: unset; + border: unset; + box-shadow: unset; +} +tr.timelineSelected { + td.timelineModernCell, td.timelineColumnarCell { + background-color: #ffc; + border: 2px solid #eed; + border-radius: 1em; + } +} + /* Miscellaneous UI elements */ .fossil-tooltip.help-buttonlet-content { background-color: lightyellow; @@ -247,10 +412,13 @@ /* Spacing for mobile */ body { padding-left: 4px; padding-right: 4px; } + .content { + font-size: 0.8em; + } .title { padding-top: 0px; padding-bottom: 0px; } .status {padding-top: 0px;} @@ -265,10 +433,13 @@ /* Spacing for desktop */ body { padding-left: 20px; padding-right: 20px; } + .content { + font-size: 0.9em; + } .title { padding-top: 10px; padding-bottom: 10px; } .status {padding-top: 30px;} Index: src/default.css ================================================================== --- src/default.css +++ src/default.css @@ -496,11 +496,10 @@ text-align: center; border-collapse: collapse; border-spacing: 0; } table.report { - border-collapse:collapse; border: 1px solid #999; margin: 1em 0 1em 0; cursor: pointer; } td.rpteditex { @@ -618,11 +617,10 @@ /*background-color: rgba(127,127,127,0.5); cursor: pointer;*/ } tr.diffskip > td.chunkctrl { text-align: left; - font-family: monospace; } tr.diffskip > td.chunkctrl > div { display: flex; align-items: center; } @@ -1294,11 +1292,10 @@ .flex-container.child-gap-small > * { margin: 0.25em; } #fossil-status-bar { display: block; - font-family: monospace; border-width: 1px; border-style: inset; border-color: inherit; min-height: 1.5em; font-size: 1.2em; @@ -1385,11 +1382,10 @@ table-layout: fixed /* required to keep ultra-wide code from exceeding window width, and instead force a scrollbar on them. */; } table.numbered-lines > tbody > tr { - font-family: monospace; line-height: 1.35; white-space: pre; } table.numbered-lines > tbody > tr > td { font-family: inherit; @@ -1761,12 +1757,23 @@ } body.branch .submenu > a.timeline-link.selected { display: inline; } -.monospace { - font-family: monospace; +/* Candidate fonts for various forms of monospaced text. Collected here + * to avoid repeating this long list of fonts. */ +code, pre, tt, + div.markdown ol.footnotes > li.fn-joined > sup.fn-joined, + table.numbered-lines > tbody > tr, + tr.diffskip > td.chunkctrl, + #fossil-status-bar, + .monospace { + font-family: Source Code Pro, Menlo, Monaco, Consolas, + Andale Mono, Ubuntu Mono, Deja Vu Sans Mono, + Letter Gothic, Letter Gothic Std, Prestige Elite Std, + Courier, Courier New, + monospace; } div.markdown > ol.footnotes { font-size: 90%; } @@ -1773,11 +1780,10 @@ div.markdown > ol.footnotes > li { margin-bottom: 0.5em; } div.markdown ol.footnotes > li.fn-joined > sup.fn-joined { color: gray; - font-family: monospace; } div.markdown ol.footnotes > li.fn-joined > sup.fn-joined::after { content: "(joined from multiple locations) "; } div.markdown ol.footnotes > li.fn-misreference { Index: www/index.wiki ================================================================== --- www/index.wiki +++ www/index.wiki @@ -1,11 +1,11 @@ Home

What Is Fossil?

-
-