1/* =Theme 2----------------------------------------------- */ 3 4/* Body */ 5body { 6 overflow-x: hidden; 7 padding: 40px 0 0; 8 width: 100%; 9 background: @ini_text_alt; 10 color: @ini_text; 11 -ms-word-wrap: break-word; 12 word-wrap: break-word; 13} 14body:after, 15body:before { 16 content: ''; 17 display: block; 18 position: fixed; 19 z-index: -1; 20 top: 0; 21 height: 200%; 22} 23body:after { 24 left: 0; 25 width: 300px; 26 background: @ini_theme_color; 27} 28body:before { 29 left: 300px; 30 width: 100px; 31 background: @ini_text_alt; 32} 33 34/* Page */ 35#writr__page { 36 z-index: 1; 37 margin: 0; 38 width: (@ini_content_width + 400px); 39} 40#writr__page:before { 41 content: ''; 42 display: block; 43 position: fixed; 44 z-index: -1; 45 top: 0; 46 left: 400px; 47 width: @ini_content_width; 48 height: 100%; 49 background: @ini_background; 50} 51 52/* Sidebar */ 53.sidebar-area { 54 position: relative; 55 float: left; 56 width: 300px; 57 padding: 0 40px; 58 -webkit-box-sizing: border-box; 59 -moz-box-sizing: border-box; 60 box-sizing: border-box; 61} 62#writr__sidebar-toggle { 63 display: none; 64 position: absolute; 65 z-index: 3; 66 top: -40px; 67 left: 0; 68 height: 40px; 69 width: 40px; 70 background: @ini_theme_color_alt; 71 color: @ini_background; 72 line-height: 40px; 73 text-align: center; 74 text-decoration: none; 75} 76#writr__sidebar-toggle:before, 77#writr__sidebar-toggle:after { 78 content: ''; 79 display: block; 80 position: absolute; 81 border-top: 40px solid @ini_theme_color_alt; 82 border-right: 40px solid transparent; 83} 84#writr__sidebar-toggle:before { 85 top: 40px; 86} 87#writr__sidebar-toggle:after { 88 top: 0; 89 left: 40px; 90} 91#writr__sidebar-toggle .genericon { 92 margin-top: 5px; 93 height: 40px; 94 width: 40px; 95 font-size: 40px; 96 line-height: 40px; 97 -webkit-transform: rotate(45deg); 98 -moz-transform: rotate(45deg); 99 -ms-transform: rotate(45deg); 100 -o-transform: rotate(45deg); 101 transform: rotate(45deg); 102} 103#writr__sidebar-toggle.open .genericon { 104 -webkit-transform: rotate(0deg); 105 -moz-transform: rotate(0deg); 106 -ms-transform: rotate(0deg); 107 -o-transform: rotate(0deg); 108 transform: rotate(0deg); 109} 110 111/* Header */ 112.site-header { 113 background: @ini_theme_color; 114 color: @ini_background; 115} 116.site-logo { 117 display: block; 118 margin: 0 0 20px; 119 text-align: center; 120} 121.site-logo img { 122 display: block; 123} 124.site-branding { 125 position: relative; 126 padding: 0; 127 margin: 0 0 20px; 128 border-bottom: 0px solid @ini_theme_color_alt; 129 text-align: center; 130} 131.site-title { 132 padding: 0 0 5px; 133 margin: 0; 134 font-size: 20px; 135 font-weight: bold; 136 text-transform: uppercase; 137} 138.site-title a { 139 display: inline-block; 140 color: @ini_background; 141 text-decoration: none; 142} 143.site-title a:hover { 144 color: @ini_theme_color_alt; 145} 146.site-description { 147 margin: 0 0 20px; 148 color: @ini_background; 149 font-size: 12px; 150 text-transform: uppercase; 151} 152 153/* Primary */ 154.content-area { 155 text-align: left; 156 float: right; 157 width: @ini_content_width; 158 height: auto; 159 padding: 0 40px; 160 background: @ini_background; 161 -webkit-box-sizing: border-box; 162 -moz-box-sizing: border-box; 163 box-sizing: border-box; 164} 165 166/* Sidebar */ 167.widget-area, 168.widget-area a, 169.widget-area h1, 170.widget-area h2, 171.widget-area h3, 172.widget-area h4, 173.widget-area h5, 174.widget-area h6 { 175 color: @ini_background; 176} 177.widget-area a:hover, 178.widget-area a:focus, 179.widget-area a:active { 180 color: @ini_background_neu; 181} 182.widget-area { 183 width: 220px; 184} 185 186/* Footer */ 187.site-footer { 188} 189.site-info { 190 padding: 0 0 40px; 191 color: @ini_background; 192 font-size: 12px; 193 text-align: center; 194} 195.site-info a { 196 color: @ini_background; 197 text-decoration: none; 198} 199.site-info a:hover { 200 color: @ini_theme_color_alt; 201} 202.page-footer { 203 font-size: 14px; 204 padding: 20px 40px; 205 margin: 40px -40px 0; 206 width: 100%; 207 background-color: @ini_background_alt; 208} 209 210/* =DokuWiki-specific 211----------------------------------------------- */ 212 213/* Breadcrumbs */ 214div.breadcrumbs { 215 background-color: @ini_background_alt; 216 margin: 0 0 20px -40px; 217 padding: 15px 40px; 218 position: relative; 219 width: 100%; 220 font-size: 14px; 221 222 a { 223 text-decoration: none; 224 } 225} 226body:not(.mode_show) div.breadcrumbs { 227 display: none; 228} 229 230/* TOC */ 231#dw__toc { 232 width: 240px; 233 234 h3 { 235 font-size: 14px; 236 margin-bottom: 0; 237 padding: 10px; 238 } 239 > div { 240 padding: 0 10px 10px; 241 } 242 ul li { 243 font-size: 14px; 244 line-height: inherit; 245 } 246 ul ul { 247 padding-left: 20px; 248 } 249 ul ul ul { 250 padding-left: 15px; 251 } 252 li li { 253 list-style: square; 254 color: lighten(@ini_text, 40%); 255 } 256 a { 257 text-decoration: none; 258 } 259} 260 261/* Section editing */ 262.secedit input.button, /* @deprecated since Detritus */ 263.secedit button { 264 padding: 5px 10px; 265} 266.dokuwiki div.section_highlight { 267 margin: 0 -40px; 268 padding: 0 20px; 269 border-width: 0 20px; 270} 271 272/* Modal windows */ 273.dokuwiki form.search div.ajax_qsearch { 274 left: auto; 275 right: -13.5em; 276 top: -10px; 277} 278.JSpopup { 279 border: 2px solid @ini_background_neu; 280 border-radius: 20px; 281 color: @ini_text; 282 padding: 10px; 283 font-size: 14px; 284} 285 286.mock-layout { 287 background-color: @ini_background; 288 padding: 0; 289 width: auto; 290 291 &::after { 292 width: 40px; 293 } 294 &::before { 295 width: 20px; 296 left: 40px; 297 } 298 299 > div { 300 padding: 20px 20px 20px 80px !important; 301 } 302} 303 304/* Fullscreen media manager */ 305.mode_media { 306 .mock-layout; 307 308 #writr__sidebar-toggle, 309 #writr__masthead .site-branding, 310 #writr__masthead .search-form, 311 #writr__site-navigation, 312 #writr__secondary, 313 .breadcrumbs, 314 .page-footer { 315 display: none; 316 } 317 #writr__page, 318 .content-area { 319 width: auto; 320 } 321 .content-area { 322 padding: 0; 323 } 324 325 /* show only logo in sidebar */ 326 #writr__sidebar { 327 float: none; 328 padding: 0; 329 width: auto; 330 position: static; 331 .site-header { 332 background-color: transparent; 333 position: absolute; 334 top: 15px; 335 left: 5px; 336 } 337 .site-logo { 338 display: inline-block; 339 img { 340 width: 50px; 341 height: 50px; 342 } 343 } 344 } 345} 346 347/* Popup media manager */ 348.media-popup { 349 padding: 0; 350 351 &, 352 &::before, 353 &::after { 354 background-color: @ini_background; 355 } 356 357 #mediamgr__aside > div, 358 #mediamgr__content > div { 359 padding: 5px; 360 } 361 362 #media__tree { 363 li > ul { 364 margin-left: 0; 365 } 366 ul li li { 367 margin-left: 1em; 368 } 369 } 370} 371 372/* Image detail page */ 373.detail-page { 374 .mock-layout; 375 376 p.back a .genericon { 377 vertical-align: middle; 378 text-decoration: none; 379 margin: 0 5px 0 -8px; 380 } 381} 382