/* cursor.css: 사이트 커서. 마우스를 쓰는 기기에만 적용한다.
   image-set을 모르는 브라우저는 앞줄의 1x 이미지를 그대로 쓴다.
   페이지별 CSS가 이 파일보다 늦게 로드되므로 html을 붙여 우선순위를 높인다. */
@media (hover: hover) and (pointer: fine) {
  html,
  html body {
    cursor: url("../img/cursor/arrow.png") 4 2, auto;
    cursor: -webkit-image-set(url("../img/cursor/arrow.png") 1x, url("../img/cursor/arrow@2x.png") 2x) 4 2, auto;
    cursor: image-set(url("../img/cursor/arrow.png") 1x, url("../img/cursor/arrow@2x.png") 2x) 4 2, auto;
  }

  /* 글 본문은 글자를 고를 수 있어야 하므로 텍스트 커서를 유지한다 */
  html .post-content p,
  html .post-content li,
  html .post-content h1,
  html .post-content h2,
  html .post-content h3,
  html .post-content h4,
  html .post-content blockquote,
  html .post-content td,
  html .post-content th,
  html .post-content pre,
  html .post-content code,
  html .post-content figcaption,
  html input:not([type="button"], [type="submit"], [type="checkbox"], [type="radio"], [type="file"], [type="color"], [type="range"]),
  html textarea {
    cursor: text;
  }

  html a,
  html a *,
  html button,
  html button *,
  html summary,
  html select,
  html label[for],
  html .post-content a,
  html .post-content a *,
  html .category-card,
  html .tag-chip,
  html .write-btn,
  html .write-drop,
  html .write-assets button {
    cursor: url("../img/cursor/pointer.png") 8 2, pointer;
    cursor: -webkit-image-set(url("../img/cursor/pointer.png") 1x, url("../img/cursor/pointer@2x.png") 2x) 8 2, pointer;
    cursor: image-set(url("../img/cursor/pointer.png") 1x, url("../img/cursor/pointer@2x.png") 2x) 8 2, pointer;
  }
}
