yasulix
Hi, again.
I have the default setting of the page width (with Sidebar) I assume it's 75%? Anyways, before I enabled the Sidebar I was able to change the width to the value I want but once I enable it, the option doesn't work anymore, what ever the value I put (1~100).
Can you help me figuring out the problem?!
Thanks.
PLUS
Don't worry, this time I'll wait for a year lol
virk
What have I done to get this in the dokuwiki-template:
- Create ~/Sites/wiki/lib/tpl/dokuwiki/style.local.ini probably by duplicating "style.ini"
- Adjust the value at the bottom:
; site and sidebar widths
__site_width__ = "98%"
__sidebar_width__ = "16em"
; cut off points for mobile devices
__tablet_width__ = "800px"
__phone_width__ = "480px"
Reload the page and be sure to have cleaned the browser cache and probably the dokuwiki-cache, too, before!
Question: Where did you adjust the values (1~100)?
Remark: You waited much less than first time :-)
yasulix
Thank you very much, that's exactly what I want :D
rh75
instead of reducing the side bar and expanding the wiki page.
Can I shrink the content to fit my wiki page?
My tables are too big and are utilizing scroll bars.
virk
The file /conf/userstyle.css, which I have created by myself, currently looks as follows:
hr {
clear: none; /*Dient dazu, dass der Text parallel zum Toc beginnt */
width: auto;
}
div.dokuwiki div.doc {
display: none;
}
div.dokuwiki div.sidebar {
font-size: 130%;
}
/*div.projects {font: normal 75%/1.4 Arial, sans-serif;}*/ /*funktioniert */
table.aanlagen {font: normal 70%/1.4 Arial, sans-serif;} /*funktioniert */
table.facturen {font: normal 70%/1.4 Arial, sans-serif;} /*funktioniert */
table.facturen_in {font: normal 70%/1.4 Arial, sans-serif;} /*funktioniert */
/*table {font: normal 100%/1.4 Arial, sans-serif;}*/
#dokuwiki__aside {
position: fixed;
top: 160px;
bottom: 40px;
overflow: auto;
}
Interesting for you could be the lines with "table…". By this dokuwiki shows the corresponding tables with "only" 70% of the normal font size. (The tables are created from the data plugin, this is also where the names "aanlagen, facturen,…" came from)
The effect is compared to as if you would decrease the size of view in your browser but the decreasing would only affect the table and not all the other stuff on the site.