docloud.es/assets/custom.css
Deploy Bot eef3370f76
All checks were successful
Deploy Site / deploy (push) Successful in 34s
Initial setup docloud.es - sitio principal con index
2026-01-06 10:49:04 +00:00

232 lines
5.2 KiB
CSS

/* DO CLOUD Brand Colors - Oficial */
:root {
--primary-color: #0A6CFF;
--primary-dark: #0856CC;
--primary-gradient: linear-gradient(135deg, #0A6CFF, #1FD1C3);
--turquoise: #1FD1C3;
--dark-blue: #0B1E3B;
--light-gray: #F2F4F7;
--link-color: #0856CC;
--link-hover: #0A6CFF;
}
/* ============================================
OCULTAR SIDEBAR IZQUIERDO (navegacion)
============================================ */
.sidebar-nav,
nav.sidebar-nav {
display: none !important;
}
/* ============================================
OCULTAR TOC DERECHO (On This Page)
============================================ */
.toc-sidebar,
.toc-container,
.toc-list,
div.toc-sidebar {
display: none !important;
width: 0 !important;
}
/* ============================================
OCULTAR FOOTER DE DOCMD
============================================ */
.page-footer,
.branding-footer,
footer.page-footer {
display: none !important;
}
/* ============================================
MOSTRAR HEADER CON LOGO
============================================ */
.sidebar {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
width: 100% !important;
height: 70px !important;
background: white !important;
box-shadow: 0 2px 15px rgba(11, 30, 59, 0.1) !important;
display: flex !important;
align-items: center !important;
padding: 0 30px !important;
z-index: 1000 !important;
}
.sidebar-header {
display: flex !important;
align-items: center !important;
width: 100% !important;
height: 100% !important;
}
.sidebar-header .logo-link {
display: flex !important;
align-items: center !important;
}
.sidebar-header .logo-link img {
max-height: 45px !important;
width: auto !important;
}
/* Ocultar elementos innecesarios del sidebar */
.sidebar-menu-button,
.sidebar .mobile-view {
display: none !important;
}
/* ============================================
CONTENIDO PRINCIPAL
============================================ */
.main-content,
main.content,
.content-wrapper,
.page-container {
margin-left: 0 !important;
margin-right: 0 !important;
padding-top: 90px !important;
max-width: 100% !important;
width: 100% !important;
}
.content,
.main-content article {
max-width: 900px;
margin: 0 auto;
padding: 20px 40px;
}
/* ============================================
TIPOGRAFIA
============================================ */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* ============================================
ENLACES CON CONTRASTE MEJORADO (WCAG AA)
============================================ */
a {
color: var(--link-color);
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
a:hover,
a:focus {
color: var(--dark-blue);
text-decoration-thickness: 2px;
}
/* Enlaces en navegacion sin subrayado */
nav a,
.sidebar a,
.logo-link {
text-decoration: none !important;
}
h1, h2, h3, h4 {
color: var(--dark-blue);
font-weight: 600;
}
/* ============================================
BOTONES CON GRADIENTE
============================================ */
a[style*="background:#0066cc"],
a[style*="background:#28a745"],
a[style*="background:#dc3545"],
.btn-primary {
background: var(--primary-gradient) !important;
border: none !important;
color: white !important;
text-decoration: none !important;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(10, 108, 255, 0.3);
}
a[style*="background:#0066cc"]:hover,
a[style*="background:#28a745"]:hover,
a[style*="background:#dc3545"]:hover,
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(10, 108, 255, 0.4);
filter: brightness(1.1);
}
a[style*="background:#6c757d"] {
background: var(--dark-blue) !important;
text-decoration: none !important;
transition: all 0.3s ease;
}
a[style*="background:#6c757d"]:hover {
background: #1a3a5c !important;
transform: translateY(-2px);
}
/* ============================================
TABLAS ESTILIZADAS
============================================ */
table {
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(11, 30, 59, 0.1);
border-collapse: separate;
border-spacing: 0;
}
th {
background: var(--primary-gradient) !important;
color: white !important;
font-weight: 600;
padding: 15px;
}
td {
padding: 12px 15px;
border-bottom: 1px solid var(--light-gray);
}
tr:hover td {
background: var(--light-gray);
}
/* ============================================
FOOTER PERSONALIZADO
============================================ */
div[align="center"]:last-of-type {
border-top: 3px solid;
border-image: var(--primary-gradient) 1;
padding-top: 25px;
margin-top: 50px;
}
div[align="center"]:last-of-type a {
color: var(--dark-blue);
font-weight: 500;
}
/* ============================================
MODO OSCURO
============================================ */
[data-theme="dark"] .sidebar {
background: #1a1a2e !important;
}
[data-theme="dark"] {
--dark-blue: #ffffff;
--light-gray: #1a1a2e;
--link-color: #5BA3FF;
--link-hover: #8BC4FF;
}
[data-theme="dark"] th {
background: var(--primary-gradient) !important;
}