Skip to content

Commit 059187a

Browse files
committed
Set {font-family:arial, sans-serif} to avoid problems with Helvetica line-height on OSX, especially in Firefox and Opera. Add '.hidden' helper class.
1 parent 122458f commit 059187a

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

css/default.css

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* LE BOILERPLATE, Nicolas Gallaghers 2011-06-24T08:20 UTC · http://github.com/necolas/le-boilerplate */
1+
/* LE BOILERPLATE, Nicolas Gallagher 2011-07-15T17:39 UTC · http://github.com/necolas/le-boilerplate */
22

33
/*
44
* ALL MEDIA
@@ -72,7 +72,7 @@ button,
7272
input,
7373
select,
7474
textarea {
75-
font-family: sans-serif;
75+
font-family: arial, sans-serif;
7676
color: #222;
7777
}
7878

@@ -404,7 +404,9 @@ td {
404404
}
405405

406406

407-
/* ============================================================================= CLEARFIX */
407+
/* ============================================================================= HELPER CLASSES */
408+
409+
/* ............................................................................. Clearfix */
408410

409411
/*
410412
* Clear an element's floated children using generated content
@@ -425,6 +427,17 @@ td {
425427
clear: both;
426428
}
427429

430+
/* ............................................................................. Hidden */
431+
432+
/*
433+
* Hide visually and for screenreaders
434+
*/
435+
436+
.hidden {
437+
display: none !important;
438+
visibility: hidden !important;
439+
}
440+
428441

429442
/* ============================================================================= COMPONENTS */
430443

0 commit comments

Comments
 (0)