diff --git a/css/clear-typography.css b/css/clear-typography.css index 21526f0..9c5534a 100644 --- a/css/clear-typography.css +++ b/css/clear-typography.css @@ -104,12 +104,12 @@ a { text-decoration: none; } -p { +p, time { padding: 0; margin: 0; margin-bottom: 1.5rem; } -p:last-child { +p:last-child, time:last-child { margin-bottom: 0; } @@ -218,12 +218,13 @@ hr { /* ------------------ QUOTE ------------------- */ blockquote { - border-width: 0 0 0 0.2em; + border-width: 0 0 0 0.375rem; border-style: solid; - border-radius: 3px; + border-radius: 0.1875rem; margin: 0; margin-bottom: 1.5rem; - padding: 0.75rem; + padding: 1.5rem; + font-size: 1.1rem; max-width: 100%; border-color: rgba(1, 1, 1, 0.15); } @@ -232,12 +233,13 @@ blockquote { } pre { - border-width: 0 0 0 0.2em; + border-width: 0 0 0 0.375rem; border-style: solid; - border-radius: 3px; + border-radius: 0.1875rem; margin: 0; margin-bottom: 1.5rem; - padding: 0.75rem; + padding: 1.5rem; + font-size: 1.1rem; max-width: 100%; border-color: rgba(1, 1, 1, 0.2); background-color: #EEE; @@ -265,6 +267,7 @@ mark { text-align: right; width: 100%; display: block; + font-size: 0.9rem; } /*# sourceMappingURL=clear-typography.css.map */ diff --git a/css/clear-typography.css.map b/css/clear-typography.css.map index 6233dfb..37042ff 100644 --- a/css/clear-typography.css.map +++ b/css/clear-typography.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/_font-face.scss","../scss/clear-typography.scss"],"names":[],"mappings":"AAAA;AAEA;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA;EACA;;ACvGJ;EACC;EACA;EACA,WAhBY;;;AAmBb;EACC,aAfY;EAgBZ;EACA;;;AAKD;EACE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACC;;;AAGD;EACC;;;AAGD;EACE;EACA;;;AAGF;EA1CE;EACA;EACA,eALW;;AA+CX;EACE;;;AAIJ;EAjDE;EACA;EACA,eALW;;AAsDX;EACE;;AAEF;EACE,aA1DS;;;AA8Db;EA3DE;EACA;EACA,eALW;;AAgEX;EACE;;AAEF;EACE,aApES;;;AAyEb;EAAc;EAAqB;;;AACnC;EAAmB;EAAqB;;;AAExC;AAEA;EACE;EACA;;;AAGF;AAUA;EACE;EACD,WApGY;EAqGZ,aAhGY;EAiGZ;EACA;EACA;;;AAGD;EAfC;EACA;EACA,eAzFY;EA0FZ,aAa2B;;;AAG5B;EAnBC;EACA;EACA,eAzFY;EA0FZ,aAiBmB;;;AAGpB;EAvBC;EACA;EACA,eAzFY;EA0FZ,aAqBqB;;;AAGtB;EA3BC;EACA;EACA,eAzFY;EA0FZ,aAyBqB;;;AAGtB;EA/BC;EACA;EACA,eAzFY;EA0FZ,aA6B0B;;;AAG3B;EAnCC;EACA;EACA,eAzFY;EA0FZ,aAiCqB;;;AAGtB;AAEA;EACC;EACA;EACA;EACA;EACA;EACA;EACA,eAvIY;;;AA0Ib;AAaA;EAVE;EACD;EACA;EACA;EACA,eAjJY;EAkJZ;EAEA;EAKA;;AAEA;EACG;;;AAIJ;EAnBE;EACD;EACA;EACA;EACA,eAjJY;EAkJZ;EAEA;EAcA;EACA;;AAEA;EACG;EACA;;;AAMJ;AAEA;EACE;EACA;EAEA;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACC;EACA;EACA;EACA","file":"clear-typography.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../scss/_font-face.scss","../scss/clear-typography.scss"],"names":[],"mappings":"AAAA;AAEA;EACI;EACA;EACA;EAKA;EACA;;AAGJ;EACI;EACA;EACA;EAKA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;EAiJT;EAEH;EAcA;EACA;;AAEA;EACG;EACA;;;AAMJ;AAEA;EACE;EACA;EAEA;EACA;;;AAGF;EACE;;;AAGF;AAEA;EACC;EACA;EACA;EACA;EACG","file":"clear-typography.css"} \ No newline at end of file diff --git a/index.html b/index.html index ccc2599..9708f71 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ Document de Test -
+

Introduction : Lorem Ipsum diff --git a/scss/clear-typography.scss b/scss/clear-typography.scss index 767ce7d..aeef417 100644 --- a/scss/clear-typography.scss +++ b/scss/clear-typography.scss @@ -26,8 +26,6 @@ body { font-weight: 400; } - - .debug { background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0, rgba(255, 255, 255, 0) 1px); background-repeat: repeat-y; @@ -51,7 +49,7 @@ a { text-decoration:none; } -p { +p, time { @include paragraph(); &:last-child { margin-bottom:0; @@ -147,12 +145,13 @@ hr { /* ------------------ QUOTE ------------------- */ @mixin well() { - border-width: 0 0 0 0.2em; + border-width: 0 0 0 $lineheight/4; border-style: solid; - border-radius: 3px; + border-radius: $lineheight/8; margin:0; margin-bottom: $lineheight; - padding: $lineheight/2; + padding: $lineheight; + font-size:1.1rem; max-width: 100%; } @@ -200,4 +199,5 @@ mark { text-align: right; width: 100%; display: block; + font-size: 0.9rem; }