241 lines
		
	
	
		
			5.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			241 lines
		
	
	
		
			5.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
<!-- <link rel="stylesheet" href="/css/syntax.css"> -->
 | 
						|
 | 
						|
<style>
 | 
						|
  @import "/css/syntax.css" not (prefers-color-scheme: dark);
 | 
						|
  @import "/css/syntax-dark.css" (prefers-color-scheme: dark);
 | 
						|
  @font-face {
 | 
						|
    font-family: SUSE;
 | 
						|
    src: url("/suse.woff2");
 | 
						|
  }
 | 
						|
</style>
 | 
						|
 | 
						|
<style>
 | 
						|
  :root[color-mode="light"] {
 | 
						|
      --primary-bg-color: white;
 | 
						|
      --primary-text-color: black;
 | 
						|
      --secondary-text-color: #099;
 | 
						|
      --link-color: #3273dc;
 | 
						|
      --blockquote-border-color: #999;
 | 
						|
      --blockquote-text-color: #222;
 | 
						|
      --code-bg-color: #EDEDED;
 | 
						|
      --title-color: black;
 | 
						|
      --post-author-color: #BB0;
 | 
						|
      --post-date-color: #444;
 | 
						|
      --post-divider-color: black;
 | 
						|
      --textarea-bg-color: white;
 | 
						|
      --textarea-text-color: black;
 | 
						|
  }
 | 
						|
 | 
						|
  :root[color-mode="dark"] {
 | 
						|
      --primary-bg-color: #181816;
 | 
						|
      --primary-text-color: white;
 | 
						|
      --secondary-text-color: #8FF;
 | 
						|
      --link-color: #8cc2dd;
 | 
						|
      --blockquote-text-color: #ccc;
 | 
						|
      --code-bg-color: #555;
 | 
						|
      --title-color: #FFF;
 | 
						|
      --post-date-color: #AAA;
 | 
						|
      --post-divider-color: white;
 | 
						|
      --textarea-bg-color: #252525;
 | 
						|
      --textarea-text-color: #ddd;
 | 
						|
  }
 | 
						|
 | 
						|
  body {
 | 
						|
    font-family: "SUSE", "Inter", "Pretendard", sans-serif;
 | 
						|
    font-size: 1.1rem;
 | 
						|
    letter-spacing: 0.28px;
 | 
						|
    margin: auto;
 | 
						|
    padding: 20px;
 | 
						|
    max-width: 780px;
 | 
						|
    text-align: left;
 | 
						|
    background-color: var(--primary-bg-color);
 | 
						|
    word-wrap: break-word;
 | 
						|
    overflow-wrap: break-word;
 | 
						|
    line-height: 1.8;
 | 
						|
    color: var(--primary-text-color);
 | 
						|
  }
 | 
						|
 | 
						|
  main {
 | 
						|
  }
 | 
						|
 | 
						|
  h1 { font-size: 26px; }
 | 
						|
  h2 { font-size: 24px; }
 | 
						|
  h3 { font-size: 22px; }
 | 
						|
  h4 { font-size: 20px; }
 | 
						|
  h5 { font-size: 18px; }
 | 
						|
 | 
						|
  a {
 | 
						|
      color: var(--link-color);
 | 
						|
  }
 | 
						|
 | 
						|
  .katex { 
 | 
						|
      font-size: 16px !important;
 | 
						|
      padding: 0 2px;
 | 
						|
  }
 | 
						|
 | 
						|
  .date {
 | 
						|
      font-family: monospace;
 | 
						|
      font-size: 14px;
 | 
						|
  }
 | 
						|
 | 
						|
  .subhead {
 | 
						|
      margin: 10px 0;
 | 
						|
      padding-bottom: 12px;
 | 
						|
      padding-top: 18px;
 | 
						|
      color: var(--title-color);
 | 
						|
      font-size: 18px;
 | 
						|
      font-weight: bold;
 | 
						|
      text-decoration: none;
 | 
						|
  }
 | 
						|
 | 
						|
  .subhead a {
 | 
						|
      color: inherit;
 | 
						|
      text-decoration: inherit;
 | 
						|
  }
 | 
						|
 | 
						|
  .title {
 | 
						|
      color: var(--title-color);
 | 
						|
      text-decoration: none;
 | 
						|
  }
 | 
						|
 | 
						|
  ul.blog-posts {
 | 
						|
      font-size: 17px;
 | 
						|
      list-style-type: none;
 | 
						|
      padding: unset;
 | 
						|
  }
 | 
						|
 | 
						|
  ul.blog-posts li a:visited {
 | 
						|
      color: var(--secondary-text-color);
 | 
						|
  }
 | 
						|
 | 
						|
  ul.blog-posts li a {
 | 
						|
      color: var(--primary-text-color);
 | 
						|
    text-decoration: none;
 | 
						|
  }
 | 
						|
 | 
						|
  ul.blog-posts li {
 | 
						|
    margin: 5px 0;
 | 
						|
  }
 | 
						|
 | 
						|
  .post-header {
 | 
						|
      margin: 10px 0;
 | 
						|
      padding-bottom: 12px;
 | 
						|
      padding-top: 18px;
 | 
						|
  }
 | 
						|
 | 
						|
  .post-header .post-title {
 | 
						|
      font-size: 24px;
 | 
						|
      font-weight: bold;
 | 
						|
  }
 | 
						|
 | 
						|
  .post-header .post-author {
 | 
						|
      font-size: 14px;
 | 
						|
      color: var(--post-author-color);
 | 
						|
  }
 | 
						|
 | 
						|
  .post-header .post-date {
 | 
						|
      font-family: monospace;
 | 
						|
      color: var(--post-date-color);
 | 
						|
      font-size: 12px;
 | 
						|
      font-weight: 450;
 | 
						|
  }
 | 
						|
 | 
						|
  .post-divider {
 | 
						|
      background-color: var(--post-divider-color);
 | 
						|
      height: 1px;
 | 
						|
      width: 100%;
 | 
						|
      margin-bottom: 40px;
 | 
						|
  }
 | 
						|
 | 
						|
  table {
 | 
						|
      width: 100%;
 | 
						|
  }
 | 
						|
 | 
						|
  img {
 | 
						|
      max-width: 100%;
 | 
						|
  }
 | 
						|
 | 
						|
  code {
 | 
						|
      padding: 1px 4px;
 | 
						|
      margin: auto 2px;
 | 
						|
      background-color: var(--code-bg-color);
 | 
						|
      font-size: 14px;
 | 
						|
      border-radius: 4px;
 | 
						|
  }
 | 
						|
 | 
						|
  pre code {
 | 
						|
      background-color: unset;
 | 
						|
      display: block;
 | 
						|
      padding: 20px;
 | 
						|
      white-space: pre-wrap;
 | 
						|
      font-size: 14px;
 | 
						|
      overflow-x: auto;
 | 
						|
  }
 | 
						|
 | 
						|
  div.highlight pre {
 | 
						|
      border-radius: 10px;
 | 
						|
  }
 | 
						|
 | 
						|
  div.highlight code {
 | 
						|
      color: unset;
 | 
						|
  }
 | 
						|
 | 
						|
  blockquote {
 | 
						|
      border-left: 1px solid var(--blockquote-border-color);
 | 
						|
      color: var(--blockquote-text-color);
 | 
						|
      padding-left: 20px;
 | 
						|
      font-style: italic;
 | 
						|
  }
 | 
						|
 | 
						|
  textarea,
 | 
						|
  input {
 | 
						|
      background-color: var(--textarea-bg-color);
 | 
						|
      color: var(--textarea-text-color);
 | 
						|
  }
 | 
						|
  .utils {
 | 
						|
    border-top: 1px solid;
 | 
						|
    border-top-color: var(--border-color);
 | 
						|
    margin-top: 32px;
 | 
						|
    padding-top: 12px;
 | 
						|
    display: flex;
 | 
						|
  }
 | 
						|
 | 
						|
  .utils #copy {
 | 
						|
    font-size: 10px;
 | 
						|
 | 
						|
    align-self: flex-start;
 | 
						|
    margin-right: auto;  
 | 
						|
  }
 | 
						|
 | 
						|
  .utils #toggleColor {
 | 
						|
    font-size: 8px;
 | 
						|
 | 
						|
    align-self: flex-start;
 | 
						|
    margin-left: auto; 
 | 
						|
  }
 | 
						|
</style>
 | 
						|
 | 
						|
<script type="text/javascript">
 | 
						|
  const userPref = localStorage.getItem("theme");
 | 
						|
  if (userPref === "dark") {
 | 
						|
    document.documentElement.setAttribute("color-mode", "dark");
 | 
						|
  } else if (userPref === "light") {
 | 
						|
    document.documentElement.setAttribute("color-mode", "light");
 | 
						|
  } else if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
 | 
						|
    document.documentElement.setAttribute("color-mode", "dark");
 | 
						|
  }
 | 
						|
 | 
						|
  document.addEventListener("DOMContentLoaded", function() {
 | 
						|
    const toggleButton = document.getElementById("toggleColor")
 | 
						|
 | 
						|
    toggleButton.addEventListener("click", function() {
 | 
						|
      if (document.documentElement.getAttribute("color-mode") === "dark") {
 | 
						|
        document.documentElement.setAttribute("color-mode", "light");
 | 
						|
        localStorage.setItem("theme", "light");
 | 
						|
      } else {
 | 
						|
        document.documentElement.setAttribute("color-mode", "dark");
 | 
						|
        localStorage.setItem("theme", "dark");
 | 
						|
      }
 | 
						|
    });
 | 
						|
  });
 | 
						|
</script> |