Преглед на файлове

style .vim blocks the usual RSE-way and fix height sizing

Ralf S. Engelschall преди 21 години
родител
ревизия
f6261193db
променени са 1 файла, в които са добавени 17 реда и са изтрити 4 реда
  1. 17 4
      kwiki/kwiki-openpkg.pm

+ 17 - 4
kwiki/kwiki-openpkg.pm

@@ -93,10 +93,9 @@ __theme/openpkg/css/kwiki.css__
 /* document canvas */
 html, body, body > div {
     width:              100%;
-    /* height:             auto; */
+    height:             auto;
     -moz-box-sizing:    border-box;
     box-sizing:         border-box;
-    height:             100%;
 }
 body {
     background-color:   #c0c0c0;
@@ -104,7 +103,6 @@ body {
     margin:             0 0 0 0;
     padding:            0 0 0 0;
     border:             10px solid #c0c0c0;
-    height:             100%;
 }
 body > div {
     background-color:   #ffffff;
@@ -115,7 +113,6 @@ body > div {
     border-bottom:      1px solid #000000;
     padding:            20px 100px 60px 100px;
     font-family:        serif,times,palatino,tahoma;
-    height:             100%;
 }
 @media print {
     body {
@@ -245,3 +242,19 @@ th.rhs, td.rhs {
     border-left:        1px solid #cccccc !important;
 }
 
+/* style Kwiki::VimColor */
+pre.vim { 
+    padding:            10px 10px 10px 10px !important;
+    border:             1px solid #e0e0e0 !important;
+}
+.synComment    {        color: #6666cc !important; }
+.synConstant   {        color: #cc3333 !important; }
+.synIdentifier {        color: #000000 !important; }
+.synStatement  {        color: #333333 !important; font-weight: bold !important; }
+.synPreProc    {        color: #cc3333 !important; }
+.synType       {        color: #333333 !important; font-weight: bold !important; }
+.synSpecial    {        color: #cc3333 !important; }
+.synUnderlined {        color: #000000 !important; text-decoration: underline !important; }
+.synError      {        color: #ffffff !important; background: #cc3333 none !important; }
+.synTodo       {        color: #ffffff !important; background: #cc3333 none !important; }
+