1/*--------------------------------------------------------------------- 2 List deep 3---------------------------------------------------------------------*/ 4div.dokuwiki div.wrap_list-deep ol { 5 list-style-type: none; 6} 7 8div.dokuwiki div.wrap_list-deep > ol { 9 counter-reset: leva 0; /* set to one lower than intended value of first list item */ 10} 11 12div.dokuwiki div.wrap_list-deep ol li div.li::before { 13 counter-increment: leva; 14 content: counter(leva) ". "; 15 color: inherit; 16 font-weight: bold; 17} 18/* ~~~~~~ */ 19 20div.dokuwiki div.wrap_list-deep ol ol { 21 list-style-type: none; 22} 23 24div.dokuwiki div.wrap_list-deep > ol ol { 25 counter-reset: levb 0; /* set to one lower than intended value of first list item */ 26} 27 28div.dokuwiki div.wrap_list-deep ol li li div.li::before { 29 counter-increment: levb; 30 content: counter(leva) "." counter(levb) ". "; 31 color: inherit; 32 font-weight: bold; 33} 34 35/* ~~~~~~ */ 36 37div.dokuwiki div.wrap_list-deep ol ol ol { 38 list-style-type: none; 39} 40 41div.dokuwiki div.wrap_list-deep > ol ol ol { 42 counter-reset: levc 0; /* set to one lower than intended value of first list item */ 43} 44 45div.dokuwiki div.wrap_list-deep ol ol ol div.li::before { 46 counter-increment: levc; 47 content: counter(leva) "." counter(levb) "." counter(levc) ". "; 48 color: inherit; 49 font-weight: bold; 50} 51 52 53/*--------------------------------------------------------------------- 54 Nicebox 55From: https://www.dokuwiki.org/plugin:wrap:extensions 56---------------------------------------------------------------------*/ 57div.dokuwiki { 58 div.plugin_wrap { 59 &.wrap_nicebox { 60 /* Inspired by hugo template seen on https://thomas-leister.de/en/mailserver-debian-stretch/ */ 61 margin-left: 40px; 62 margin-right: 40px; 63 margin-top: 2rem; 64 margin-bottom: 2rem; 65 padding: 20px 25px; 66 border-radius: 5px; 67 text-align: left; 68 width: auto !important; 69 background-image: initial; 70 min-height: initial; 71 background: #f5f9f7; 72 color: #0587af; 73 border-left: 10px solid #B2EFFF; 74 p:last-child { 75 margin: 0; 76 } 77 &.wrap_red { 78 /* From hugo template seen on https://thomas-leister.de/en/mailserver-debian-stretch/ */ 79 border-left: 10px solid #d9534f; 80 background: #fdf7f7; 81 color: black; 82 } 83 &.wrap_orange { 84 /* From hugo template seen on https://thomas-leister.de/en/mailserver-debian-stretch/ */ 85 border-left: 10px solid #fbaf43; 86 background: #fcf8f2; 87 color: black; 88 } 89 &.wrap_green { 90 border-left: 10px solid #8dde4e; 91 background: #f4ffee; 92 color: black; 93 } 94 &.wrap_yellow { 95 border-left: 10px solid #fff15a; 96 background: #fffded; 97 color: black; 98 } 99 &.wrap_blue { 100 border-left: 10px solid #4f8cdf; 101 background: #f5f7fa; 102 color: black; 103 } 104 &.wrap_purple { 105 border-left: 10px solid #c489ef; 106 background: #f1eef4; 107 color: black; 108 } 109 &.wrap_marine { 110 border-left: 10px solid #4bd29c; 111 background: #f5f9f7; 112 color: black; 113 } 114 } 115 } 116} 117 118 119/*--------------------------------------------------------------------- 120 Borders 121---------------------------------------------------------------------*/ 122 123div.dokuwiki div.wrap_border { 124 border:1px solid black; 125 padding:5px; 126 margin:2px; 127} 128 129div.dokuwiki div.wrap_border h1, 130div.dokuwiki div.wrap_border h2, 131div.dokuwiki div.wrap_border h3, 132div.dokuwiki div.wrap_border h4, 133div.dokuwiki div.wrap_border h5 134{ 135 padding-top:0; 136 margin:0; 137} 138 139 140/*--------------------------------------------------------------------- 141 formalbox 142---------------------------------------------------------------------*/ 143.wrap_formalbox { 144 padding: 10px 10px 10px 15px; 145 146 margin-bottom: 1em; 147 148 background: #f5f5f5; 149 border: 1px solid #FFF; 150 border-radius: 5px; 151 box-shadow: 1px 2px 4px #aaa; 152 153} 154 155.wrap_formalbox p { 156 margin:0; 157} 158 159.wrap_formalbox table { 160 width:100%; 161 margin-top:5px; 162 margin-bottom:5px; 163 font-size: 80%; 164} 165 166.wrap_formalbox table, 167.wrap_formalbox tr, 168.wrap_formalbox td { 169 border:0px; 170} 171 172.wrap_formalbox div { 173 margin:0 !important; 174} 175