Skip to content

Commit be0180f

Browse files
committed
More contrast on the docs, including code samples. Closes jquery-archive#5676.
1 parent 7738bb5 commit be0180f

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

docs/_assets/css/jqm-demos.css

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/* Page */
66
body, .jqm-demos {
77
background-color: #fefefe;
8+
font-size: 1.05em;
89
}
910

1011
/* Header */
@@ -271,7 +272,7 @@ body, .jqm-demos {
271272
font-family: 'Open Sans', sans-serif;
272273
font-weight: 300;
273274
font-size: 2.4em;
274-
color: #555;
275+
color: #333;
275276
clear:both;
276277
}
277278
.jqm-faq .jqm-content > h1 {
@@ -285,7 +286,7 @@ body, .jqm-demos {
285286
font-family: 'Open Sans', sans-serif;
286287
font-weight: 300;
287288
font-size: 1.6em;
288-
color: #74b042;
289+
color: #60a725;
289290
padding-top: .6em;
290291
clear:both;
291292
}
@@ -334,7 +335,7 @@ h2.jqm-home-widget {
334335
margin-top: -.5em;
335336
margin-bottom: .5em;
336337
padding-bottom: 2.6em;
337-
color: #555;
338+
color: #333;
338339
border-bottom-width: 1px;
339340
border-bottom-style: solid;
340341
border-bottom-color: #e5e5e5;
@@ -343,7 +344,7 @@ h2.jqm-home-widget {
343344
.jqm-demos-home .jqm-content .jqm-intro {
344345
font-family: 'Open Sans', sans-serif;
345346
font-weight: 300;
346-
font-size: .9em;
347+
line-height: 1.6;
347348
margin: .5em .8em 1em .8em;
348349
padding-bottom: .5em;
349350
border: none;
@@ -383,6 +384,10 @@ h2.jqm-home-widget {
383384
.jqm-demos .jqm-content.jqm-fullwidth {
384385
padding: 15px;
385386
}
387+
388+
.jqm-content p {
389+
line-height: 1.5;
390+
}
386391
.jqm-demos-home .jqm-content p.jqm-intro {
387392
font-size: 1.1em;
388393
}
@@ -504,7 +509,7 @@ h2.jqm-home-widget {
504509
background-image: none;
505510
background-color: #f8f8f8;
506511
border-color: #e8e8e8;
507-
color: #74b042;
512+
color: #60a725;
508513
text-shadow: none;
509514
}
510515
/* List buttons */
@@ -845,7 +850,7 @@ h2.jqm-home-widget {
845850
float: none;
846851
left: auto;
847852
height: auto;
848-
line-height: 16px;
853+
line-height: 18px;
849854
margin: 0;
850855
outline: 0;
851856
overflow: visible;
@@ -860,7 +865,7 @@ h2.jqm-home-widget {
860865
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
861866
font-weight: normal;
862867
font-style: normal;
863-
font-size: 13px;
868+
font-size: 14px;
864869
min-height: inherit;
865870
min-height: auto;
866871
}
@@ -959,13 +964,13 @@ h2.jqm-home-widget {
959964
color: #5ba1cf;
960965
}
961966
.syntaxhighlighter .string {
962-
color: #9a6;
967+
color: #98da31;
963968
}
964969
.syntaxhighlighter .string a {
965970
color: #1dc116;
966971
}
967972
.syntaxhighlighter .keyword {
968-
color: #c84;
973+
color: #ffae00;
969974
}
970975
.syntaxhighlighter .preprocessor {
971976
color: #8aa6c1;

0 commit comments

Comments
 (0)