view mrjunejune/src/tools/markdown_to_html/index.css @ 279:b3b547563ec7

Add Google connector service and agent wiki Implement the C/Seobeo Google Drive and Gmail connector with encrypted OAuth storage, Zenbu authentication, browser testing, AI tool discovery, chunked HTTP decoding, and Bazel coverage. Consolidate repository guidance into progressive wiki documentation and enforce arena-first allocation for new first-party C code. Co-authored-by: Copilot <[email protected]> Copilot-Session: 84c338fd-0939-4bb3-b7f3-1062eb213e5d
author MrJuneJune <me@mrjunejune.com>
date Mon, 17 Aug 2026 22:22:36 -0700
parents 60a876c4587a
children
line wrap: on
line source

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  padding: var(--zenbu-sys-padding-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  color: var(--gray-dark);
  margin-bottom: 10px;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--zenbu-sys-space-container);
  height: calc(100vh - 200px);
  min-height: 500px;
}

.panel {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--zenbu-sys-radius-control);
  border: 1px solid rgba(var(--gray), 0.3);
  padding: var(--zenbu-sys-padding-md);
  overflow: hidden;
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.label {
  font-weight: 600;
  color: var(--gray-dark);
  font-size: var(--zenbu-sys-font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--zenbu-sys-radius-control-small);
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: var(--accent-dark);
}

/* Input textarea */
textarea {
  flex: 1;
  width: 100%;
  padding: var(--zenbu-sys-padding-md);
  background: var(--gray-light);
  color: var(--gray-dark);
  border: 1px solid rgba(var(--gray), 0.3);
  border-radius: var(--zenbu-sys-radius-control-small);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: var(--zenbu-sys-font-size-sm);
  line-height: var(--zenbu-sys-line-height-sm);
  line-height: 1.5;
  resize: none;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Output panel */
#output {
  flex: 1;
  padding: var(--zenbu-sys-padding-md);
  border: 1px solid rgba(var(--gray), 0.3);
  border-radius: var(--zenbu-sys-radius-control-small);
  background: var(--white);
  color: var(--gray-dark);
  overflow-y: auto;
  font-size: var(--zenbu-sys-font-size-sm);
  line-height: var(--zenbu-sys-line-height-sm);
}

/* Markdown output styles */
#output h1, #output h2, #output h3, #output h4, #output h5, #output h6 {
  margin: 1em 0 0.5em 0;
  color: var(--gray-dark);
  line-height: 1.3;
}

#output h1:first-child, #output h2:first-child, #output h3:first-child {
  margin-top: 0;
}

#output h1 { font-size: 1.8em; }
#output h2 { font-size: 1.5em; }
#output h3 { font-size: 1.25em; }
#output h4 { font-size: 1.1em; }

#output p {
  margin: 0.8em 0;
}

#output ul, #output ol {
  margin: 0.8em 0;
  padding-left: 25px;
}

#output li {
  margin: 0.3em 0;
}

#output code {
  background: var(--gray-light);
  padding: 2px 6px;
  border-radius: var(--zenbu-sys-radius-control-small);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.9em;
  color: var(--accent);
}

#output pre {
  background: var(--black);
  color: var(--white);
  padding: 15px;
  border-radius: var(--zenbu-sys-radius-control-small);
  overflow-x: auto;
  margin: 1em 0;
  line-height: 1.4;
}

#output pre code {
  background: none;
  color: inherit;
  padding: 0;
}

#output blockquote {
  border-left: 4px solid var(--accent);
  padding: 10px 15px;
  margin: 1em 0;
  background: var(--gray-light);
  color: rgb(var(--gray));
  font-style: italic;
}

#output a {
  color: var(--accent);
  text-decoration: none;
}

#output a:hover {
  text-decoration: underline;
}

#output hr {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 1.5em 0;
}

#output img {
  max-width: 100%;
  height: auto;
  border-radius: var(--zenbu-sys-radius-control-small);
}

#output strong {
  font-weight: 600;
}

#output em {
  font-style: italic;
}

#output del {
  text-decoration: line-through;
  color: rgb(var(--gray));
}

/* Mobile */
@media (max-width: 900px) {
  body {
    padding: 15px;
  }

  .container {
    grid-template-columns: 1fr;
    height: auto;
    gap: 15px;
  }

  .panel {
    min-height: 350px;
  }

  textarea {
    min-height: 300px;
  }

  #output {
    min-height: 300px;
  }
}