Ajout de wp styles

This commit is contained in:
CreativeJuiz 2015-04-02 16:22:40 +02:00
parent ed738f171d
commit 09fde74e0e
2 changed files with 26 additions and 5 deletions

1
KNACSS Submodule

@ -0,0 +1 @@
Subproject commit 95d98f8ca080d62d85a76440d8b5bb7c9381eb3d

View file

@ -4,6 +4,7 @@
Contributors: Automattic, Geoffrey Crofte Contributors: Automattic, Geoffrey Crofte
Description: Reset styles for WordPress usage of Knacss Description: Reset styles for WordPress usage of Knacss
Creation date: 2014-11-20 Creation date: 2014-11-20
Last update: 2015-03-04
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------
@ -48,6 +49,14 @@
--------------------------------------------------------------*/ --------------------------------------------------------------*/
// class in img elements // class in img elements
.alignnone {
margin: .25em 1.5em 1.5em 0;
}
.aligncenter {
clear: both;
display: block;
margin: 1.5em auto;
}
.alignleft { .alignleft {
float: left; float: left;
margin: 0 1.5em .25em 0; margin: 0 1.5em .25em 0;
@ -56,11 +65,7 @@
float: right; float: right;
margin: 0 0 .25em 1.5em; margin: 0 0 .25em 1.5em;
} }
.aligncenter {
clear: both;
display: block;
margin: 1.5em auto;
}
@ -113,8 +118,22 @@
// format of post // format of post
.format- { .format- {
&aside {
}
&gallery {
}
&link {
}
&image {
}
&quote {
}
&status {
}
&video { &video {
} }
&chat {
}
} }
// class for a tag // class for a tag
@ -184,6 +203,7 @@
} }
// text direction if right-to-left // text direction if right-to-left
// prefer rtl.css: http://codex.wordpress.org/Right-to-Left_Language_Support
.rtl { .rtl {
} }