##// END OF EJS Templates
fonts: use consistent fonts across whole application.
marcink -
r3165:07319487 default
parent child Browse files
Show More
@@ -44,8 +44,6 b''
44
44
45 @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
45 @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
46 @font-family-serif: Georgia, "Times New Roman", Times, serif;
46 @font-family-serif: Georgia, "Times New Roman", Times, serif;
47 //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
48 @font-family-monospace: Consolas, "Liberation Mono", Menlo, Monaco, Courier, monospace;
49
47
50 @font-family-base: @font-family-sans-serif;
48 @font-family-base: @font-family-sans-serif;
51
49
@@ -543,7 +543,7 b' div.search-code-body {'
543 border-right: 1px solid #ccc !important;
543 border-right: 1px solid #ccc !important;
544 padding-right: 10px;
544 padding-right: 10px;
545 text-align: right;
545 text-align: right;
546 font-family: "Lucida Console",Monaco,monospace;
546 font-family: @text-monospace;
547 span {
547 span {
548 white-space: pre-wrap;
548 white-space: pre-wrap;
549 color: #666666;
549 color: #666666;
@@ -1066,7 +1066,7 b' table.cb {'
1066 }
1066 }
1067
1067
1068 &.cb-hunk {
1068 &.cb-hunk {
1069 font-family: @font-family-monospace;
1069 font-family: @text-monospace;
1070 color: rgba(0, 0, 0, 0.3);
1070 color: rgba(0, 0, 0, 0.3);
1071
1071
1072 td {
1072 td {
@@ -1098,7 +1098,7 b' table.cb {'
1098 padding-right: @cb-line-code-padding;
1098 padding-right: @cb-line-code-padding;
1099 display: block;
1099 display: block;
1100 white-space: pre-wrap;
1100 white-space: pre-wrap;
1101 font-family: @font-family-monospace;
1101 font-family: @text-monospace;
1102 word-break: break-all;
1102 word-break: break-all;
1103 .nonl {
1103 .nonl {
1104 color: @color5;
1104 color: @color5;
@@ -1143,7 +1143,7 b' table.cb {'
1143 &.cb-data {
1143 &.cb-data {
1144 text-align: right;
1144 text-align: right;
1145 width: 30px;
1145 width: 30px;
1146 font-family: @font-family-monospace;
1146 font-family: @text-monospace;
1147
1147
1148 .icon-comment {
1148 .icon-comment {
1149 cursor: pointer;
1149 cursor: pointer;
@@ -1165,7 +1165,7 b' table.cb {'
1165 color: rgba(0, 0, 0, 0.3);
1165 color: rgba(0, 0, 0, 0.3);
1166 text-align: right;
1166 text-align: right;
1167 border-right: 1px solid #eee;
1167 border-right: 1px solid #eee;
1168 font-family: @font-family-monospace;
1168 font-family: @text-monospace;
1169 -webkit-user-select: none;
1169 -webkit-user-select: none;
1170 -moz-user-select: none;
1170 -moz-user-select: none;
1171 user-select: none;
1171 user-select: none;
@@ -336,7 +336,7 b' div.comment-form {'
336 .comment-form textarea {
336 .comment-form textarea {
337 width: 100%;
337 width: 100%;
338 height: 100px;
338 height: 100px;
339 font-family: 'Monaco', 'Courier', 'Courier New', monospace;
339 font-family: @text-monospace;
340 }
340 }
341
341
342 form.comment-form {
342 form.comment-form {
@@ -180,7 +180,7 b' div.markdown-block table {'
180 margin: 3px 0px 13px 0px !important;
180 margin: 3px 0px 13px 0px !important;
181 color: #424242 !important;
181 color: #424242 !important;
182 font-size: 13px !important;
182 font-size: 13px !important;
183 font-family: "Helvetica" !important;
183 font-family: @text-regular;
184 font-weight: normal !important;
184 font-weight: normal !important;
185 overflow: visible !important;
185 overflow: visible !important;
186 line-height: 140% !important;
186 line-height: 140% !important;
@@ -256,7 +256,7 b' div.markdown-block code,'
256 div.markdown-block pre,
256 div.markdown-block pre,
257 div.markdown-block #ws,
257 div.markdown-block #ws,
258 div.markdown-block #message {
258 div.markdown-block #message {
259 font-family: Monaco;
259 font-family: @text-monospace;
260 font-size: 11px;
260 font-size: 11px;
261 .border-radius(@border-radius);
261 .border-radius(@border-radius);
262 background-color: white;
262 background-color: white;
@@ -91,7 +91,7 b''
91 }
91 }
92
92
93 .input-monospace {
93 .input-monospace {
94 font-family: @font-family-monospace;
94 font-family: @text-monospace;
95 }
95 }
96
96
97 .fields {
97 .fields {
@@ -2430,7 +2430,7 b' div.markup-form {'
2430 .markup-form textarea {
2430 .markup-form textarea {
2431 width: 100%;
2431 width: 100%;
2432 height: 100px;
2432 height: 100px;
2433 font-family: 'Monaco', 'Courier', 'Courier New', monospace;
2433 font-family: @text-monospace;
2434 }
2434 }
2435
2435
2436 form.markup-form {
2436 form.markup-form {
@@ -71,7 +71,7 b' div.readme_box table {'
71 margin: 3px 0px 13px 0px !important;
71 margin: 3px 0px 13px 0px !important;
72 color: #424242 !important;
72 color: #424242 !important;
73 font-size: 13px !important;
73 font-size: 13px !important;
74 font-family: "Helvetica" !important;
74 font-family: @text-regular;
75 font-weight: normal !important;
75 font-weight: normal !important;
76 overflow: visible !important;
76 overflow: visible !important;
77 line-height: 140% !important;
77 line-height: 140% !important;
@@ -136,7 +136,7 b' div.readme_box button {'
136
136
137 div.readme_box code,
137 div.readme_box code,
138 div.readme_box pre {
138 div.readme_box pre {
139 font-family: Monaco;
139 font-family: @text-monospace;
140 font-size: 11px;
140 font-size: 11px;
141 .border-radius(@border-radius);
141 .border-radius(@border-radius);
142 background-color: white;
142 background-color: white;
@@ -54,11 +54,14 b''
54 @repo-title-fontsize: 18px;
54 @repo-title-fontsize: 18px;
55
55
56 @text-regular: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
56 @text-regular: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
57 @text-monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
58
57 @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
59 @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
58 @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
60 @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
59 @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
61 @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
60 @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
62 @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
61 @text-code: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
63 @text-code: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
64
62 @text-light: @text-regular;
65 @text-light: @text-regular;
63 @text-light-italic: @text-italic;
66 @text-light-italic: @text-italic;
64 // Used for .close buttons
67 // Used for .close buttons
General Comments 0
You need to be logged in to leave comments. Login now