summaryrefslogtreecommitdiff
path: root/platform/www/lib/tpl/acervus/css/structure.less
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/lib/tpl/acervus/css/structure.less')
-rw-r--r--platform/www/lib/tpl/acervus/css/structure.less64
1 files changed, 64 insertions, 0 deletions
diff --git a/platform/www/lib/tpl/acervus/css/structure.less b/platform/www/lib/tpl/acervus/css/structure.less
new file mode 100644
index 0000000..9b8dab4
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/structure.less
@@ -0,0 +1,64 @@
+/* header */
+#dokuwiki__header {
+ position: fixed;
+ z-index: 102;
+ top: 0;
+ width: 100%;
+ max-height: 40px;
+
+ h1 {
+ display: inline-block;
+ width: 50%;
+ text-align: center;
+ }
+ div.left {
+ width: 25%;
+ float: left;
+ /* trick for keep width when aside is deactivated */
+ min-height: 1px;
+ }
+ div.right {
+ width: 25%;
+ float: right;
+ text-align: right;
+ }
+ div.search {
+ float: right;
+ }
+}
+
+/* nav */
+.sidebar {
+ position: fixed;
+ z-index: 104;
+ width: @ini_sidebar_width;
+ max-width: 66%;
+ height: 100%;
+}
+
+#dokuwiki__aside {
+ left: 0;
+}
+#dokuwiki__tools {
+ right: 0;
+}
+#sidebar_bg {
+ position: fixed;
+ z-index: 103;
+ width: 100%;
+ height: 100%;
+}
+#to_top {
+ position: fixed;
+ z-index: 101;
+ right: 10px;
+ bottom: 10px;
+}
+
+/* content */
+.wrapper {
+ margin: 0 auto;
+ max-width: @ini_body_width;
+}
+
+/* footer */