Skip to content

Commit

Permalink
Update "text" section. #88
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Oct 24, 2016
1 parent 7b240bf commit 290d3f2
Show file tree
Hide file tree
Showing 17 changed files with 53 additions and 56 deletions.
6 changes: 3 additions & 3 deletions fork-versions/default/_normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ a:hover {
========================================================================== */

/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

Expand Down Expand Up @@ -278,15 +278,15 @@ samp {
}

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/

dfn {
font-style: italic;
}

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/

mark {
Expand Down
6 changes: 3 additions & 3 deletions fork-versions/deprecated-compass/_normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ a:hover {
========================================================================== */

/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

Expand Down Expand Up @@ -285,15 +285,15 @@ samp {
}

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/

dfn {
font-style: italic;
}

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/

mark {
Expand Down
16 changes: 7 additions & 9 deletions fork-versions/typey-chroma-kss/base/text/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Style guide: base.text.abbr

abbr[title] {
// Remove the bottom border in Firefox <40.
// Remove the bottom border in Firefox 39-.
border-bottom: 0;
// Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
text-decoration: underline;
Expand Down Expand Up @@ -73,19 +73,17 @@ cite {

// Code
//
// The `<code>` element represents a fragment of computer code. The `<var>`
// element represents a variable. The `<samp>` element represents (sample)
// output from a program or computing system. The `<kbd>` element represents
// user input (typically keyboard input.)
// The `<code>` element represents a fragment of computer code. The `<samp>`
// element represents (sample) output from a program or computing system. The
// `<kbd>` element represents user input (typically keyboard input.)
//
// Markup: text-code.twig
//
// Style guide: base.text.code

code,
kbd,
samp,
var {
samp {
@extend %monospace;
}

Expand All @@ -110,7 +108,7 @@ del {
// Style guide: base.text.dfn

dfn {
// Add the correct font style in Android <4.4.
// Add the correct font style in Android 4.3-.
font-style: italic;
}

Expand Down Expand Up @@ -155,7 +153,7 @@ ins {
// Style guide: base.text.mark

mark {
// Add the correct background and color in IE <10.
// Add the correct background and color in IE 9-.
background-color: color(mark-bg);
color: color(text);
}
Expand Down
6 changes: 3 additions & 3 deletions fork-versions/typey/_normalize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ a:hover {
========================================================================== */

/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

Expand Down Expand Up @@ -243,15 +243,15 @@ samp {
}

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/

dfn {
font-style: italic;
}

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/

mark {
Expand Down
6 changes: 3 additions & 3 deletions sass/normalize/_normalize-mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
========================================================================== */

/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

Expand Down Expand Up @@ -316,15 +316,15 @@
}

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/

dfn {
font-style: italic;
}

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/

mark {
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/fork-versions/default/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand All @@ -139,13 +139,13 @@ strong {
font-weight: bolder; }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/fork-versions/deprecated-compass/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand All @@ -151,13 +151,13 @@ strong {
font-weight: bolder; }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
3 changes: 1 addition & 2 deletions test/fixtures/fork-versions/typey-chroma-kss/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ pre {

pre, code,
kbd,
samp,
var {
samp {
font-family: Menlo, "DejaVu Sans Mono", "Ubuntu Mono", Courier, "Courier New", monospace, sans-serif;
font-size: 1em; }

Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/fork-versions/typey/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand All @@ -203,13 +203,13 @@ strong {
font-weight: bolder; }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/import-now/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand Down Expand Up @@ -149,13 +149,13 @@ samp {
/* 2 */ }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/normalize/exclude-multiple/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand Down Expand Up @@ -106,13 +106,13 @@ samp {
/* 2 */ }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/normalize/exclude-single/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand Down Expand Up @@ -149,13 +149,13 @@ samp {
/* 2 */ }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/normalize/exclude-string/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand Down Expand Up @@ -149,13 +149,13 @@ samp {
/* 2 */ }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/normalize/include-string/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand Down Expand Up @@ -40,13 +40,13 @@ samp {
/* 2 */ }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/variables/default/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ a:hover {
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox <40.
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
Expand Down Expand Up @@ -149,13 +149,13 @@ samp {
/* 2 */ }

/**
* Add the correct font style in Android <4.4.
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }

/**
* Add the correct background and color in IE <10.
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
Expand Down
Loading

0 comments on commit 290d3f2

Please sign in to comment.