Skip to content

Instantly share code, notes, and snippets.

@adhrinae
Created August 30, 2018 04:08
Show Gist options
  • Save adhrinae/3bbb23f9f0b9c7b96e73753a970aa4eb to your computer and use it in GitHub Desktop.
Save adhrinae/3bbb23f9f0b9c7b96e73753a970aa4eb to your computer and use it in GitHub Desktop.
My Safari CSS custom
/*
* 아래에 있는 한글 폰트들은 아래 링크에서 받을 수 있습니다
*
* 이롭게 바탕체
* http://font.iropke.com/batang
*
* Source Han Serif
* https://source.typekit.com/source-han-serif/
*/
/* Set default korean font to Apple SD Gothic Neo */
@font-face {
font-family: "돋움";
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: Dotum;
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: DotumChe;
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: Malgun;
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: "Malgun Gothic";
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: "맑은 고딕";
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: "굴림";
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: Gulim;
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: GulimChe;
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: AppleGothic;
src: local("Apple SD Gothic Neo");
}
@font-face {
font-family: serif;
src: local("Source Han Serif KR");
}
@font-face {
font-family: sans-serif;
src: local("Apple SD Gothic Neo");
}
/* Fix Brunch font */
p.wrap_item {
font-family: "Iropke Batang OTF" !important;
}
p.item_type_text {
font-size: 1rem !important;
}
/* Fix Medium Korean font */
.postArticle-content .graf {
font-family: medium-content-serif-font, "Source Han Serif K", "Iropke Batang OTF", serif !important;
}
pre.graf.graf--pre {
font-family: "Fira Code", "SF Mono", monospace !important;
}
/* Twitter hack */
#page-container.AppContent.wrapper {
display: flex;
justify-content: center;
}
#page-container.AppContent.wrapper > .dashboard {
display: none;
}
/* Github code tab size */
td.blob-code-inner {
tab-size: 4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment