diff --git a/src/resources/styles/default.css b/src/resources/styles/default.css index 4a2d97f7..6868dd7a 100644 --- a/src/resources/styles/default.css +++ b/src/resources/styles/default.css @@ -5,45 +5,59 @@ body { line-height: 1; padding: 30px; } -h1, h2, h3, h4 { - color: #111111; - font-weight: 400; -} -h1, h2, h3, h4, h5, p { + +h1, h2, h3, h4, h5, h6 { + color: #222222; + font-weight: bold; margin-bottom: 24px; padding: 0; } + +p { + margin-bottom: 24px; + padding: 0; +} + h1 { - font-size: 48px; -} -h2 { font-size: 36px; - /* The bottom margin is small. It's designed to be used with gray meta text - * below a post title. */ - margin: 24px 0 6px; } + +h2 { + font-size: 30px; +} + h3 { - font-size: 24px; + font-size: 26px; } + h4 { - font-size: 21px; + font-size: 22px; } + h5 { + font-size: 20px; +} + +h6 { font-size: 18px; } + a { color: #0099ff; margin: 0; padding: 0; vertical-align: baseline; } + a:hover { text-decoration: none; color: #ff6600; } + a:visited { color: purple; } + ul, ol { padding: 0; padding-left: 24px; diff --git a/src/voutline.cpp b/src/voutline.cpp index e5bffc43..85ac0970 100644 --- a/src/voutline.cpp +++ b/src/voutline.cpp @@ -100,13 +100,11 @@ void VOutline::handleCurItemChanged(QTreeWidgetItem *p_curItem, QTreeWidgetItem return; } curHeader = tmp; - qDebug() << "current header changed" << tmp.anchor << tmp.lineNumber; emit outlineItemActivated(curHeader); } void VOutline::updateCurHeader(const VAnchor &anchor) { - qDebug() << "update current header" << anchor.anchor << anchor.lineNumber; if (anchor == curHeader) { return; }