Skip to content
This repository has been archived by the owner on May 23, 2018. It is now read-only.

Commit

Permalink
Merge pull request #89 from ihorvorotnov/fix-font-stacks
Browse files Browse the repository at this point in the history
Update font stacks for better non-latin support, closes #30
  • Loading branch information
iamtakashi committed Sep 7, 2015
2 parents 1224478 + 955e965 commit eebf4c6
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
@wenthemes
@monika
@metodiew
@nhuja
@nhuja
@headonfire
2 changes: 1 addition & 1 deletion css/editor-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Description: Used to style the TinyMCE editor.
*/
body {
color: #1a1a1a;
font-family: Merriweather, serif;
font-family: Merriweather, Georgia, serif;
font-size: 16px;
font-weight: 400;
line-height: 1.75;
Expand Down
60 changes: 30 additions & 30 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ input,
select,
textarea {
color: #1a1a1a;
font-family: Merriweather, serif;
font-family: Merriweather, Georgia, serif;
font-size: 16px;
font-size: 1rem;
line-height: 1.75;
Expand Down Expand Up @@ -565,24 +565,24 @@ td {
/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
}

:-moz-placeholder {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
}

::-moz-placeholder {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
opacity: 1;
/* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
}


Expand All @@ -606,7 +606,7 @@ input[type="submit"][disabled]:focus {
border-radius: 2px;
background: #007acc;
color: #fff;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-weight: 700;
letter-spacing: 0.046875em;
line-height: 1;
Expand Down Expand Up @@ -660,7 +660,7 @@ textarea:focus {

.post-password-form label {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 13px;
font-size: 0.8125rem;
letter-spacing: 0.076923077em;
Expand Down Expand Up @@ -763,7 +763,7 @@ a:active {
}

.main-navigation {
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
}

.site-footer .main-navigation {
Expand Down Expand Up @@ -1018,7 +1018,7 @@ a:active {
border-top: 4px solid #1a1a1a;
border-bottom: 4px solid #1a1a1a;
clear: both;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
margin: 0 7.6923% 3.5em;
}

Expand All @@ -1044,7 +1044,7 @@ a:active {

.post-navigation .post-title {
display: inline;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 23px;
font-size: 1.4375rem;
-webkit-font-variant-ligatures: common-ligatures;
Expand All @@ -1065,7 +1065,7 @@ a:active {

.pagination {
border-top: 4px solid #1a1a1a;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 19px;
font-size: 1.1875rem;
margin: 0 7.6923% 2.947368421em;
Expand Down Expand Up @@ -1171,7 +1171,7 @@ a:active {
color: #757575;
font-size: 13px;
font-size: 0.8125rem;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
line-height: 1.6153846154;
margin: 0 7.6923% 2.1538461538em;
padding: 1.0769230769em 0;
Expand Down Expand Up @@ -1218,7 +1218,7 @@ a:active {
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
color: #21759b;
display: block;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 14px;
font-weight: 700;
left: -9999em;
Expand Down Expand Up @@ -1339,7 +1339,7 @@ article[class^="post-"]:after,
}

.widget .widget-title {
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 16px;
font-size: 1rem;
letter-spacing: 0.046875em;
Expand Down Expand Up @@ -1392,7 +1392,7 @@ article[class^="post-"]:after,
display: block;
font-size: 13px;
font-size: 0.8125rem;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
line-height: 1.615384615;
margin-bottom: 0.538461538em;
}
Expand All @@ -1412,7 +1412,7 @@ article[class^="post-"]:after,
display: block;
font-size: 13px;
font-size: 0.8125rem;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-style: normal;
line-height: 1.615384615;
margin-bottom: 0.538461538em;
Expand All @@ -1431,7 +1431,7 @@ article[class^="post-"]:after,
border: 1px solid #e8e8e8;
border-radius: 2px;
display: inline-block;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: inherit !important;
line-height: 1;
margin: 0 0.1875em 0.4375em 0 !important;
Expand Down Expand Up @@ -1485,7 +1485,7 @@ article[class^="post-"]:after,
}

.site-title {
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 23px;
font-size: 1.4375rem;
font-weight: 700;
Expand Down Expand Up @@ -1577,7 +1577,7 @@ article[class^="post-"] {
}

.entry-title {
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 28px;
font-size: 1.75rem;
font-weight: 700;
Expand Down Expand Up @@ -1870,7 +1870,7 @@ body:not(.search-results) .entry-summary > :last-child,

.entry-footer {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 13px;
font-size: 0.8125rem;
line-height: 1.6153846154;
Expand Down Expand Up @@ -1906,7 +1906,7 @@ body:not(.search-results) .entry-summary > :last-child,
.sticky-post {
color: #757575;
display: block;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 13px;
font-size: 0.8125rem;
letter-spacing: 0.076923077em;
Expand Down Expand Up @@ -1936,7 +1936,7 @@ body:not(.error404):not(.search-no-results) .page-header {
}

.page-title {
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 23px;
font-size: 1.4375rem;
line-height: 1.2173913043;
Expand All @@ -1963,7 +1963,7 @@ body:not(.error404):not(.search-no-results) .page-header {

.page-links {
clear: both;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
margin: 0 0 1.75em;
}

Expand Down Expand Up @@ -2071,7 +2071,7 @@ body:not(.error404):not(.search-no-results) .page-header {
.comments-title,
.comment-reply-title {
border-top: 4px solid #1a1a1a;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 23px;
font-size: 1.4375rem;
font-weight: 700;
Expand Down Expand Up @@ -2127,7 +2127,7 @@ body:not(.error404):not(.search-no-results) .page-header {
.comment-metadata,
.pingback .edit-link {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 13px;
font-size: 0.8125rem;
line-height: 1.6153846154;
Expand Down Expand Up @@ -2177,7 +2177,7 @@ body:not(.error404):not(.search-no-results) .page-header {
border-radius: 2px;
color: #007acc;
display: inline-block;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 13px;
font-size: 0.8125rem;
line-height: 1;
Expand All @@ -2198,7 +2198,7 @@ body:not(.error404):not(.search-no-results) .page-header {

.comment-form label {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 13px;
font-size: 0.8125rem;
display: block;
Expand All @@ -2225,7 +2225,7 @@ body:not(.error404):not(.search-no-results) .page-header {

.no-comments {
border-top: 1px solid #e8e8e8;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-weight: 700;
margin: 0;
padding-top: 1.75em;
Expand Down Expand Up @@ -2310,7 +2310,7 @@ body:not(.error404):not(.search-no-results) .page-header {
.site-footer .site-title:after {
content: "\002f";
display: inline-block;
font-family: Montserrat;
font-family: Montserrat, sans-serif;
opacity: 0.7;
padding: 0 0.307692308em 0 0.538461538em;
}
Expand Down Expand Up @@ -2522,7 +2522,7 @@ p > video {
.widecolumn label,
.widecolumn .mu_register label {
color: #757575;
font-family: Montserrat, sans-serif;
font-family: Montserrat, "Helvetica Neue", sans-serif;
font-size: 13px;
font-size: 0.8125rem;
font-weight: 400;
Expand Down

0 comments on commit eebf4c6

Please sign in to comment.