Skip to content

Instantly share code, notes, and snippets.

@tado
Last active January 10, 2017 22:46
Show Gist options
  • Save tado/281a3cfb08018ac9cd1faceeebe98b60 to your computer and use it in GitHub Desktop.
Save tado/281a3cfb08018ac9cd1faceeebe98b60 to your computer and use it in GitHub Desktop.
yoppa.org wordpress additional css
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
html[lang=ja] #content address,
html[lang=ja] #content blockquote,
html[lang=ja] #content caption,
html[lang=ja] #content cite,
html[lang=ja] #content code,
html[lang=ja] #content dl,
html[lang=ja] #content figcaption,
html[lang=ja] #content h1,
html[lang=ja] #content h2,
html[lang=ja] #content h3,
html[lang=ja] #content h4,
html[lang=ja] #content h5,
html[lang=ja] #content h6,
html[lang=ja] #content label,
html[lang=ja] #content legend,
html[lang=ja] #content ol,
html[lang=ja] #content p,
html[lang=ja] #content pre,
html[lang=ja] #content ul,
html[lang=ja] #content li,
html[lang=ja] #content table,
html[lang=ja] header li h2,
html[lang=ja] header li ul li,
html[lang=ja] footer #footerTwo li{
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN','Noto Sans Japanese', sans-serif;
font-weight: 300;
font-variant-east-asian: proportional-width;
/*
-moz-font-feature-settings: "palt";
-webkit-font-feature-settings: "palt";
font-feature-settings: "palt";
*/
}
html[lang=ja] #content p,
html[lang=ja] body.page #content p,
html[lang=ja] body.index #content p,
html[lang=ja] body.single #content p,
html[lang=ja] #content pre,
html[lang=ja] #content li
{
font-size: 0.97rem;
line-height: 1.75;
}
html[lang=ja] #content h2,
html[lang=ja] body.page #content h2,
html[lang=ja] body.index #content h2{
border-bottom: 1px dotted #999;
}
html[lang=ja] #content #sidebar li,
html[lang=ja] #content #sidebar p
{
font-size: 0.8rem;
}
html[lang=ja] header nav li ul{
font-size: 0.8rem;
}
html[lang=ja] #screen>header li h2,
html[lang=ja] #screen>header li li{
font-size: 0.72rem!important;
}
#screen>footer #footerTwo li {
font-size: 0.5rem;
line-height: 1.0;
}
html[lang=ja] #content li {
margin-left: 1.2rem;
padding-left: 0;
list-style: disc;
}
html[lang=ja] #content p{
/*text-align: justify;*/
}
html[lang=ja] #content p,
html[lang=ja] #content li{
/*
font-variant-east-asian: proportional-width;
-moz-font-feature-settings: "pwid";
-webkit-font-feature-settings: "pwid";
font-feature-settings: "pwid";
letter-spacing: 0.04em;
*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment