/* Chamilo documentation pages - self-contained, no external dependencies */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f5f7fa; background-image: url('bg-pattern.svg'); background-size: 600px 600px; background-repeat: repeat; color: #444; line-height: 1.6; font-size: 15px; } /* Top navigation */ nav { background: #203e61; padding: 0 24px; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.15); } nav .nav-inner { display: flex; align-items: center; max-width: 960px; margin: 0 auto; } nav .nav-logo { flex-shrink: 0; padding: 8px 16px 8px 0; border-right: 1px solid rgba(255,255,255,0.12); margin-right: 4px; } nav .nav-logo img { height: 26px; width: auto; display: block; } nav ul { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; } nav li { margin: 0; padding: 0; border-radius: 0; border-left: none; } nav li:hover { background: none; border-left-color: transparent; } nav a { display: block; position: relative; padding: 12px 16px; color: #cfd8dc; text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.15s; } nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: #f26722; border-radius: 1px; transform: scaleX(0); transition: transform 0.2s ease; } nav a:hover { color: #fff; text-decoration: none; } nav a:hover::after { transform: scaleX(1); } /* Main content container */ .content, body > div, body > .version { max-width: 960px; margin: 0 auto; padding: 24px 20px; } /* Version release blocks */ .version { max-width: 960px; margin: 0 auto; padding: 0 20px 24px; } /* Release title (h1) */ h1 { font-size: 1.75em; color: #203e61; border-left: 4px solid #f26722; padding: 12px 16px; margin: 32px 0 16px; background: #fff; border-radius: 0 6px 6px 0; box-shadow: 0 1px 2px rgba(0,0,0,0.06); } h1:first-of-type { margin-top: 8px; } h2 { font-size: 1.5em; color: #203e61; margin-top: 28px; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid #dee2e7; } /* Section headings (Security fixes, Added, Changed, etc.) */ h3 { font-size: 1.05em; font-weight: 600; color: #444; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 20px; margin-bottom: 8px; padding: 6px 10px; background: #ebeef1; border-radius: 4px; } p { margin-bottom: 12px; max-width: 75ch; } /* Lists */ ul { list-style-type: none; margin-left: 0; margin-bottom: 16px; } li { margin-bottom: 4px; padding: 6px 10px; border-radius: 4px; font-size: 14px; line-height: 1.5; border-left: 2px solid transparent; } li:hover { background: #eff1f4; border-left-color: #f26722; } /* Links */ a { color: #3584e4; text-decoration: none; } a:hover { text-decoration: underline; color: #f26722; } /* Commit hash links within list items */ li a[href*="commit"] { font-family: "SF Mono", "Fira Code", "Courier New", monospace; font-size: 12px; background: #e4e8ec; padding: 1px 5px; border-radius: 3px; color: #444; } li a[href*="commit"]:hover { background: #ced5dc; color: #444; text-decoration: none; } /* Issue/ticket links */ li a[href*="issues"], li a[href*="beeznest"] { font-size: 12px; color: #7f8c8d; } /* Code blocks */ pre { background-color: #282c34; color: #abb2bf; border: none; border-radius: 6px; padding: 16px; overflow-x: auto; margin-bottom: 16px; font-size: 13px; line-height: 1.5; } code { font-family: "SF Mono", "Fira Code", "Courier New", monospace; background-color: #e4e8ec; padding: 2px 5px; border-radius: 3px; font-size: 13px; } pre code { background: none; padding: 0; } /* Anchor targets - offset for sticky nav */ a[id] { display: block; position: relative; top: -56px; visibility: hidden; } /* Material Design Icons (if used) */ i.material-icons { vertical-align: middle; color: #777; } /* Horizontal rules */ hr { border: none; border-top: 1px solid #dee2e7; margin: 24px 0; } /* Footer area (validator badges etc.) */ body > a:last-of-type, body > a[href*="validator"] { opacity: 0.5; transition: opacity 0.2s; } body > a:last-of-type:hover, body > a[href*="validator"]:hover { opacity: 1; } /* Table of contents (if added) */ .toc { background: #fff; border: 1px solid #dee2e7; border-radius: 6px; padding: 16px 20px; margin-bottom: 24px; } .toc h2 { font-size: 1.1em; margin-top: 0; margin-bottom: 10px; border-bottom: none; color: #203e61; } .toc ul { margin-bottom: 0; columns: 2; column-gap: 24px; } .toc li { padding: 3px 0; border-left: none; font-size: 14px; } .toc li:hover { background: none; border-left: none; } .toc a { color: #3584e4; } /* Responsive */ @media (max-width: 640px) { body { font-size: 14px; } nav ul { flex-wrap: wrap; } nav a { padding: 10px 12px; font-size: 13px; } h1 { font-size: 1.4em; padding: 10px 12px; } .toc ul { columns: 1; } li { font-size: 13px; } }