Monithub Blog

게시글 css

<!DOCTYPE html>
<html lang="ko">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  <title>OpenTelemetry Collector 설정 문서</title>
  <style>
:root {
  --bg: #ffffff;
  --text: #222;
  --muted: #666;
  --accent: #e53935;   /* 빨강 포인트 (현재 문서 느낌 유지) */
  --accent-light: #fbe9e7;
  --border: #e0e0e0;
  --code-bg: #f8f8f8;
  --code-text: #111;
  --radius: 8px;
  --shadow: 0 2px 6px rgba(0,0,0,0.06);
}

body {
  font-family: "Noto Sans KR", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  margin: 40px auto;
  max-width: 920px;
  padding: 0 20px;
}

h1, h2, h3 {
  font-weight: 600;
  color: var(--text);
  margin-top: 2em;
  margin-bottom: 0.8em;
  line-height: 1.3;
}

h1 { font-size: 2.2em; border-bottom: 2px solid var(--border); padding-bottom: 0.3em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.2em; color: var(--muted); }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
a:hover { border-color: var(--accent); }

pre, code {
  font-family: "Fira Code", monospace;
  background: var(--code-bg);
  color: var(--code-text);
  border-radius: var(--radius);

}
pre {
  padding: 14px;
  overflow-x: auto;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 1.2em 0;
}
code {
  padding: 2px 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  box-shadow: var(--shadow);
}
th, td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}
th {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

ul {
  padding-left: 1.2em;
}
blockquote {
  border-left: 4px solid var(--accent);
  padding: 10px 16px;
  margin: 1.5em 0;
  color: var(--muted);
  background: #fafafa;
  border-radius: 0 var(--radius) var(--radius) 0;
}
  </style>
</head>
<body>

</body>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/styles/shades-of-purple.min.css">
</html>