[square] 블로그 글씨체 나눔고딕으로 변경하는 방법
2015. 7. 30. 12:00,
티스토리/square,
Square 스킨에는 총 3가지 서체가 적용되어 있습니다.
영문 폰트인 Ubuntu Condensed
한글 폰트인 Noto Sans(이하 본고딕), Nanum Gothic(이하 나눔고딕)
현재 배포 중인 1.1.1 버전에는 한글 폰트가 본고딕으로 지정돼있고, 나눔고딕은 주석처리 돼 있습니다.
본고딕이 별로인 분들은 손쉽게 나눔고딕으로 변경해서 사용하실 수 있습니다.
※ "Meiryo UI" 폰트는 무엇인가요?
일본어 관련 폰트입니다. 불필요하면 지워도 됩니다.
style.css 파일 편집
파일 시작 부분에 다음과 같은 소스가 있습니다.
@charset "utf-8"; @import url(http://fonts.googleapis.com/css?family=Ubuntu+Condensed); /*@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);*/ @import url("./images/NotoSansKR-Hestia.css"); html { font-size: 62.5%; -webkit-text-size-adjust: none; -moz-text-size-adjust: none; -ms-text-size-adjust: none; text-size-adjust: none; } html, body { margin: 0; padding: 0; background-color: #f1f1f1; overflow-x: hidden; } body, input, textarea { font-size: 14px; font-size: 1.4rem; font-family: 'Ubuntu Condensed', "Meiryo UI", "NSK"; line-height: 100%; }
3번 째 줄에 /*@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);*/
이렇게 되어있는 소스의 주석을 풀어주세요.
새빨갛게 표시한 글자를 지우면 됩니다.
그 바로 다음줄의 @import url("./images/NotoSansKR-Hestia.css");
소스를 삭제 또는 주석처리 해주세요. (불필요한 로딩을 줄이기 위해)
그 다음
Ctrl + F 로 "NSK"
를 검색해 "Nanum Gothic"
으로 교체해주세요.
저장을 하면 "본고딕"에서 "나눔고딕"으로 변경됩니다.