Sidehistorik
...
You may want to style Xwiki, I do a different Theme and a little LESS:
| Kodeblok |
|---|
/* Center XWiki content at 1600px */ #contentcontainer { max-width: 1200px !important; width: 100% !important; margin-left: auto !important; margin-right: autoAdministration: Vertical Menus */ @list-group-active-border: @list-group-border; /* Increasing default contrast for accessibility. */ /* Slight change on @gray-light to make it pass the 4.5 contrast threshold on a white background. */ @gray-light: #727272; /* Gray-light is too light on a light backgrounds. @gray for muted text is easier to read. */ @text-muted: @gray; /* The boxes background is too dark for links, we make it a lighter shade than bootstrap default. */ @state-danger-bg: #f8ecec; @state-success-bg: #e5f3df; @state-info-bg: #e1f1f9; /* Input-color-placeholder is hardcoded in bootstrap, we need to override it. */ @input-color-placeholder: @gray-light; /* Drawer */ @xwiki-drawer-menu-item-hover-bg: @list-group-hover-bg; @xwiki-drawer-menu-item-hover-color: @list-group-link-hover-color; /* Headings */ @headings-font-weight: 500; /* Other */ @well-bg: @body-bg; /* Center complete XWiki page layout */ /* Center XWiki content at 1600px */ #contentcontainer { max-width: 1600px !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; } /* Load Inter font */ @import (css) url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); /* Main typography */ body { font-family: 'Inter', Arial, sans-serif !important; font-size: 17px; font-weight: 400; line-height: 1.75; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; } /* Article content */ #contentcontainer { font-size: 15px; line-height: 1.8; } /* Headings */ #contentcontainer h1, #contentcontainer h2, #contentcontainer h3, #contentcontainer h4 { font-family: 'Inter', Arial, sans-serif; font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; } #contentcontainer h1 { font-size: 2.3em; } #contentcontainer h2 { font-size: 1.8em; } #contentcontainer h3 { font-size: 1.4em; } /* Paragraph spacing */ #contentcontainer p { margin-bottom: 1.2em; } /* Keep code in a monospace font */ #contentcontainer pre, #contentcontainer code { font-family: 'Consolas', 'Liberation Mono', monospace; font-size: 0.9em; } /* Blue striped background outside content */ html, body { background-color: #102b46 !important; background-image: repeating-linear-gradient( 135deg, #102b46 0px, #102b46 12px, #173b5d 12px, #173b5d 24px ) !important; background-attachment: fixed !important; } /* Keep XWiki's outer layout transparent */ #xwikimaincontainer, #xwikimaincontainerinner { background: transparent !important; } /* White centered content area */ #contentcontainer { max-width: 1200px !important; width: 100% !important; margin: 0 auto !important; padding: 30px !important; background: #ffffff !important; box-sizing: border-box; min-height: 80vh; } /* Mobile layout */ @media (max-width: 768px) { #contentcontainer { padding: 18px !important; box-sizing: border-box;} } |
Other
Disable Registration in the Amin UI (If You want to)
...