Updated overall font-family, font-size, line-height, letter-spacing and some other minor adjustments

This commit is contained in:
Wu Cheng-Han 2015-09-24 13:48:12 +08:00
parent f239b53972
commit c9f35b9aa0
4 changed files with 16 additions and 17 deletions

View file

@ -1,25 +1,20 @@
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro&subset=latin,latin-ext); html, body {
body { height: 100%;
}
body {
margin: 0; margin: 0;
padding: 0; padding: 0;
max-width: inherit; max-width: inherit;
min-width: 200px; min-width: 200px;
height: 100%;
/*margin-right: 15px;*/ /*margin-right: 15px;*/
padding-top: 50px; padding-top: 51px;
/*overflow: hidden;*/ /*overflow: hidden;*/
} }
html,
form,
.row,
.row > * {
height: 100%;
min-height: 100%;
}
.CodeMirror { .CodeMirror {
font-family: 'Source Code Pro', Consolas, monaco, monospace; font-family: "Source Code Pro", Consolas, monaco, "Microsoft JhengHei", Meiryo, " ゴシック", "MS Gothic", monospace;
line-height: 18px; letter-spacing: 0.025em;
font-size: 16px; line-height: 1.25;
font-size: 18px;
min-height: 100%; min-height: 100%;
overflow-y: hidden !important; overflow-y: hidden !important;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;

View file

@ -1,9 +1,11 @@
/* for markdown-body */ /* for markdown-body */
.markdown-body { .markdown-body {
font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft JhengHei", Meiryo, " ゴシック", "MS Gothic", sans-serif;
padding-top: 40px; padding-top: 40px;
padding-bottom: 40px; padding-bottom: 40px;
max-width: 758px; max-width: 758px;
overflow: visible !important;
} }
/*fixed style for bootstrap comflict*/ /*fixed style for bootstrap comflict*/

View file

@ -1,4 +1,5 @@
/* for all pages should include this */ /* for all pages should include this */
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,300italic,300|Source+Serif+Pro|Source+Code+Pro:400,300,500&subset=latin,latin-ext);
body { body {
font-smoothing: subpixel-antialiased !important; font-smoothing: subpixel-antialiased !important;
-webkit-font-smoothing: subpixel-antialiased !important; -webkit-font-smoothing: subpixel-antialiased !important;
@ -6,7 +7,8 @@ body {
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004); text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
/*text-rendering: optimizeLegibility;*/ /*text-rendering: optimizeLegibility;*/
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft JhengHei", sans-serif !important; font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft JhengHei UI", "Meiryo UI", " Pゴシック", "MS PGothic", sans-serif;
letter-spacing: 0.025em;
} }
:focus { :focus {
outline: none !important; outline: none !important;

View file

@ -29,7 +29,7 @@
border-color: #cccccc; border-color: #cccccc;
border-radius: 4px; border-radius: 4px;
color: #555555; color: #555555;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: inherit;
background-color: white; background-color: white;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
@ -40,7 +40,7 @@
border-color: #cccccc; border-color: #cccccc;
border-radius: 4px; border-radius: 4px;
color: #555555; color: #555555;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: inherit;
background-color: white; background-color: white;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);