3.0.5 blockquotes styling and figure tag reset

This commit is contained in:
raphaelgoettter 2014-07-10 15:59:19 +02:00
parent 5f6250ae52
commit cd0fe8881b
6 changed files with 56 additions and 13 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "KNACSS", "name": "KNACSS",
"version": "3.0.4", "version": "3.0.5",
"homepage": "http://www.knacss.com/", "homepage": "http://www.knacss.com/",
"authors": [ "authors": [
"Raphaël GOETTER, Alsacreations" "Raphaël GOETTER, Alsacreations"

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*! /*!
* www.KNACSS.com V3.0.4 (2014-06-30) @author: Raphael Goetter, Alsacreations * www.KNACSS.com V3.0.5 (2014-07-10) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */
@ -34,6 +34,11 @@ img {
border: 0; border: 0;
} }
figure {
margin-left: 0;
margin-right: 0;
}
audio, audio,
canvas, canvas,
video { video {

View File

@ -49,11 +49,28 @@
} }
blockquote { blockquote {
margin-left: 0; position: relative;
padding-left: 1em; padding-left: 3em;
border-left: 4px solid rgba(0,0,0,0.15);
font-style: italic;
} }
blockquote:before {
content: "\201C";
position: absolute;
left: 0;
top: 0;
font-family: georgia, serif;
font-size: 5em;
line-height: 0.9;
color: rgba(0, 0, 0, .3);
}
blockquote > footer {
margin-top: .75em;
font-size: 0.9em;
color: rgba(0, 0, 0, .7);
}
blockquote > footer:before {
content: "\2014 \0020";
}
q { q {
font-style: normal; font-style: normal;

View File

@ -1,5 +1,5 @@
/*! /*!
* www.KNACSS.com V3.0.4 (2014-06-30) @author: Raphael Goetter, Alsacreations (with help from Hugo Giraudel) * www.KNACSS.com V3.0.5 (2014-07-10) @author: Raphael Goetter, Alsacreations (with help from Hugo Giraudel)
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */
@ -34,6 +34,11 @@ img {
border: 0; border: 0;
} }
figure {
margin-left: 0;
margin-right: 0;
}
audio, audio,
canvas, canvas,
video { video {

View File

@ -47,10 +47,26 @@
} }
blockquote { blockquote {
margin-left: 0; position: relative;
padding-left: 1em; padding-left: 3em;
border-left: 4px solid rgba(0,0,0,0.15); }
font-style: italic; blockquote:before {
content: "\201C";
position: absolute;
left: 0;
top: 0;
font-family: georgia, serif;
font-size: 5em;
line-height: 0.9;
color: rgba(0, 0, 0, .3);
}
blockquote > footer {
margin-top: .75em;
font-size: 0.9em;
color: rgba(0, 0, 0, .7);
}
blockquote > footer:before {
content: "\2014 \0020";
} }
q { q {