Update to site
This commit is contained in:
parent
3345fa5897
commit
b0bdfe2fe9
244 changed files with 11618 additions and 12 deletions
38
sass/inuitcss/objects/_island.scss
Normal file
38
sass/inuitcss/objects/_island.scss
Normal file
|
@ -0,0 +1,38 @@
|
|||
@if $use-island == true{
|
||||
|
||||
/*------------------------------------*\
|
||||
$ISLAND
|
||||
\*------------------------------------*/
|
||||
/**
|
||||
* Simple, boxed off content, as per: csswizardry.com/2011/10/the-island-object
|
||||
* E.g.:
|
||||
*
|
||||
<div class=island>
|
||||
I am boxed off.
|
||||
</div>
|
||||
*
|
||||
* Demo: jsfiddle.net/inuitcss/u8pV3
|
||||
*
|
||||
*/
|
||||
.island,
|
||||
.islet{
|
||||
display:block;
|
||||
@extend .cf;
|
||||
}
|
||||
.island{
|
||||
padding:$base-spacing-unit;
|
||||
}
|
||||
.island > :last-child,
|
||||
.islet > :last-child{
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Just like `.island`, only smaller.
|
||||
*/
|
||||
.islet{
|
||||
padding:$half-spacing-unit;
|
||||
}
|
||||
|
||||
}//endif
|
Loading…
Add table
Add a link
Reference in a new issue