added a twig extension class for assets + reorganized assets structure + added command line for stylus in README

This commit is contained in:
Jonathan Labreuille
2015-07-15 21:43:55 +02:00
parent 99ad7d66af
commit e601a1e902
12 changed files with 143 additions and 46 deletions

View File

27
assets/css/common.css Normal file
View File

@@ -0,0 +1,27 @@
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
overflow: hidden;
}
.clearfix {
display: inline-table;
}
* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}
.mailpoet_notice {
position: relative;
}
.mailpoet_notice_close {
position: absolute;
right: 0.5em;
top: 0.5em;
color: #999;
text-decoration: none;
}

View File

@@ -1,10 +0,0 @@
.mailpoet_notice {
position: relative;
}
.mailpoet_notice_close {
position: absolute;
right: 0.5em;
top: 0.5em;
color: #999;
text-decoration: none;
}

View File

View File

@@ -17,3 +17,14 @@
display: block
// colors
// notices
.mailpoet_notice
position: relative
.mailpoet_notice_close
position: absolute
right: 0.5em
top: 0.5em
color: #999
text-decoration: none

View File

@@ -1,6 +0,0 @@
body-color = invert(#333)
body-background = invert(#ccc)
body
color body-color
background-color: body-background