Flexible Squares - It's Not Ice Cream

Jan 02, 2009 02:27



- Flexible Squares
- IE compatible






Square [live preview]
/* Cleaned CSS: */

/*---------------------------------------------------
mosaiclife.livejournal.com
-----------------------------------------------------*/

body {
background-image: url('http://img383.imageshack.us/img383/8030/bgbgsw0.png');
background-position: bottom right;
background-attachment: fixed;
background-repeat: no-repeat;
background-color: #4F3E33;
text-align: center;
color: #ffffff;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
margin: 0 0 0 0;
text-transform: lowercase;
}

a, a:link, a:visited {
color: #E3406E;
text-decoration: none;
}

a:hover {
color: #EA5885;
text-decoration: none;
}

B {font:verdana 12px bold; color: #4C3628; font-weight: bold;}
strong {font:verdana 12px bold; color: #5C4230; font-weight: bold;}
I {font:verdana 12px italic; color: #6D4D37;}
U {font:verdana 12px underline; color: #7E583E;}

blockquote {
border: 1px #F16F9A solid;
padding: 6px;
color: #7E583E;
background-color: #F5F5F5;
}

code, kbd, pre, tt {
font-family: monospace;
}

/*---------------------------------------------------------------------
General page alignment and width
------------------------------------------------------------------------*/

#content
{
width: 850px;
margin: 0px auto 0px auto;
padding: 0px 0px 0px 0px;
background-color:;
border-width: 0px;
border-style:;
border-color:;
padding: 15px;
}

#maincontent {
margin-top: 0px;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
background-color:;
color: #f5f5f5;
border-style:;
border-color:;
border-width: 0px;
text-align: justify;
}

#sidebar {
position: fixed;
padding-top: 15px;
margin-top: 150px;
background-color: #EC5281;
border-color:;
border-width: 0px;
border-style:;
font-size: 11px;
font-family: \"Verdana\", sans-serif;
color: #ffffff;
width: 200px;
float: left;
text-align: left;
}

/*-----------------------------------------------------------------------------
Header - you can add a header image with either #header or .headerimage
--------------------------------------------------------------------------------*/

#header {
float: left;
position: fixed;
width: 200px;
padding: 10px 0px 20px 0px;
text-align: right;
font-family: \"georgia\", sans-serif;
font-size: 15px;
font-weight: bold;
font-style: italic;
letter-spacing: 2px;
border-style:;
border-color:;
border-width: 0px;
background-color: #E3406E;
color: #fafafa;
}

/*look and color of links (also partly for footer)*/
div#header a, div#header a:link, div#header a:visited {
color: #ffffff;
}

/*look and color of links (also partly for footer)*/
div#header a:hover {
color: #B21C4A;
}

/*look and color of links (also partly for footer)*/
div#footer a, div#footer a:link, div#footer a:visited {
color: #F07097;
}

div#footer a:hover {
color: #ED477E;
text-decoration: none;
}

/*title and subtitle*/
.title, .subtitle {
display: none;
}

/*-----------------------------------------------------------------------------
Header - top navigation
--------------------------------------------------------------------------------*/

/* header -- links to views; title of journal; subtitle of journal */

ul.navheader
{
padding: 0px;
margin: 0px;
}

ul.navheader li {
display: block;
padding: 0 3px 0 3px;
}

/*-----------------------------------------------------------------------------
Entry stuff
------------------------------------------------------------------------*/

.subcontent {
margin: 0px 0px 0px 210px;
}

.entry {
margin: 0px 0px 10px 0px;
padding: 10px;
background-color: #F5F5F5;
color: #36261C;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
text-align: justify;
border-width: 0px;
border-color:;
border-style:;
}

.userpic {
float: right;
padding-left: -100px!important;
margin-top: 0px;
z-index: 15;
border-width: 0px;
background-color: #F5F5F5;
border-color: #F5F5F5;
border-style: solid;
}

.userpic img {height: 100px; width: 100px
background-color: #F5F5F5;
border-color: #F5F5F5;
border-style: solid;}

.date {
text-align: left;
top: 5px;
color: #ffffff;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

.subject {
text-align: left;
font-weight: bold;
padding: 10px;
color: #ffffff;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

.subject a, .subject a:link, .subject a:visited {
color: #ffffff;
}

.subject a:hover {
color: #ffffff;
}

.datesubject {
background-color: #F16F9A;
padding: 5px;
margin-right: 110px;
margin-bottom: 2px;
}

.entry ul li
{
padding-left: 5px;
margin-left: 15px;
}

.entry ol li
{
padding-left: 5px;
margin-left: 15px;
}

.ljtaglist {
margin: 15px 0px 0px 210px;
padding: 5px;
color: #f3f3f3;
text-align: left;
background-color: #5a483c;
width: 400px;
list-style-type:none;
}

/*---------------------------------------------------------------------
Entry Stuff - Current Mood, Music and Location
------------------------------------------------------------------------*/

.currents, .currentmood, .currentmusic {
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

/*---------------------------------------------------------------------
Entry Stuff - Comments
------------------------------------------------------------------------*/

.comments {
font-family: \"Verdana\", sans-serif;
font-size: 11px;
text-align: right;
padding: 0px 0px 0px 0px;
position: relative;
margin-top: 10px;

}

div.comments a, div.comments a:link, div.comments a:visited{
color: #e3406e;
}

div.comments a:hover {
color: #d83966;
text-decoration: none;
}

/*---------------------------------------------------------------------
Entry Stuff - Separator
------------------------------------------------------------------------*/

.separator{
/* for formatting separators between entries */
height: 15px;
}

/*------------------------------------------------------------
Special friends page customization
-------------------------------------------------------------------------------*/

.userpicfriends {
float: right;
padding-left: -100px!important;
margin-top: 0px;
z-index: 15;
border-width: 0px;
background-color: #fbfbfb!important;
border-color: #fbfbfb;
border-style: solid;
text-align: center;
}

.userpicfriends img {height: 100px; width: 100px
background-color: #fbfbfb;
border-color: #fbfbfb;
border-style: solid;}

/*------------------------------------------------------------
Sidebar
-------------------------------------------------------------------------------*/

.defaultuserpic {
display: show;
text-align: center;
}

.sbarheader {
padding: 0px 5px 0px 5px;
}

.sbarbody {
padding: 0px 5px 0px 5px;
text-align: justify;
}

.sbarbody2 {
padding: 0 15px 0 15px;
}

div#sidebar a, div#sidebar a:link, div#sidebar a:visited{
color: #ffffff;
}

div#sidebar a:hover {
color: #B21C4A;
text-decoration: none;
}

/*------------------------------------------------------------
Sidebar - Calendar
-------------------------------------------------------------------------------*/

table.calendar {
margin-right: auto;
margin-left: auto;
}

.sbarcalendar {
border-color: #F06694;
border-width: 1px;
border-style: solid;
text-align: center;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

.sbarcalendarposts {
border-color: #F06694;
border-width: 1px;
border-style: solid;
background-color: #F06694;
text-align: center;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

/*------------------------------------------------------------
Sidebar - link box contents and sidebar box titles
-------------------------------------------------------------------------------*/

ul.sbarlist
{
padding-left: 0px;
margin-left: 0px;
list-style: none;
}

li.sbaritem
{
padding-left: 15px;
list-style: none;
}

li.sbartitle
{
display: none;
}

/*----------------------------------------------------
footer
----------------------------------------------------------------*/

#footer {
float: left;
margin-left: 210px;
bottom: 0px;
width: 640px;
text-align: right;
font-family: \"georgia\", sans-serif;
font-size: 11px;
font-weight: lighter;
text-transform: lowercase;
letter-spacing: 1px;
border-style:;
border-color:;
border-width: 0px;
background-color: #48372C;
z-index: 100;
clear: both;
padding: 10px 0px 10px 0px;
color: #E34B76;

}

ul.navfooter{
padding: 0px;
margin: 0px;
}

ul.navfooter li {
display: inline;
margin: 0 5px 0 5px;
}

.clearfoot {
clear: both;
}

/*----------------------------------------------------
Archive Pages
----------------------------------------------------------------*/

ul.year {
text-align: center;
padding-bottom: 40px;
}

ul.year li {
display: inline;
}

table.yeartable {
margin-left: auto;
margin-right: auto;
}

table.yeartable td.yeardate, table.yeartable td.yearday {
border-width: 1px;
border-style: solid;
border-color: #EC5281;
background-color: #5a483c;
}

table.yeartable td.yearday {
background-color: #F06694;
text-align: center;
}

td.yearmonth {
border-style: none;
}

/*----------------------------------------------------
Comments pages
----------------------------------------------------------------*/

.datesubjectcomment {
background-color: #F16F9A;
padding: 5px;
margin-top: 20px;
}

.userpiccomment {
position: relative;
border-width: 1px;
border-style: solid;
border-color: #4F3E33;
background-color: #f5f5f5;
top: -30px;
left: 0px;
padding: 1px;
margin: 10px 10px -20px 10px;
z-index: 15;
float: left;
}

.box {
margin: 0px 0px 0px 210px;
border-style:;
border-width: 1px 0px 0px 0px;
border-color:;
padding: 10px;
clear: left;
}

input, textarea, select {
border: 0px;
color: #36261C;
background-color: #f5f5f5;
}

textarea.textbox {
width: 100% !important;
}

.reply {
position: relative;
margin: 20px 30px 10px 30px;
padding: 25px 10px 10px 10px;
text-align: left;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
line-height: 125%;
background-color: #d4dce8;
color: #36261C;
}

.replytosubject {
font-weight: bold;
}

.commentreply {
position: relative;
margin: 10px;
font-size: 11px;
font-family: \"Verdana\", sans-serif;
color: #36261C;
}

.commentbox {
border-width: 0px;
padding: 10px;
margin: 10px;
background-color: #f5f5f5;
}

.datesubjectcomment a:link, .datesubjectcomment a:visited {
color: #ffffff;
}

.datesubjectcomment a:hover {
color: #b0b9c8;
}

.commentboxpartial {
border-color:;
border-width: 0px;
border-style:;
padding: 10px;
margin: 10px;
background-color: #f5f5f5;
}

.commentinfo {
background-color: #F16F9A;
margin-top: 10px;
width: 100%;
}

.skiplinks {
margin: 0px 0px 0px 210px;
width: 640px;
text-align: center;
font-family: \"georgia\", sans-serif;
font-size: 11px;
font-weight: lighter;
text-transform: lowercase;
letter-spacing: 1px;
border-style:;
border-color:;
border-width: 0px;
background-color: #48372C;
z-index: 100;
clear: both;
padding: 10px 0px 10px 0px;
color: #E34B76;
}

/*--------------------------------------------
Misc
-----------------------------------------*/

.clear {
height: 15px;
}

h2 {
display: none;
}

Round [live preview]
/* Cleaned CSS: */

/*---------------------------------------------------
mosaiclife.livejournal.com
-----------------------------------------------------*/

body {
background-image: url('http://img383.imageshack.us/img383/8030/bgbgsw0.png');
background-position: bottom right;
background-attachment: fixed;
background-repeat: no-repeat;
background-color: #4F3E33;
text-align: center;
color: #ffffff;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
margin: 0 0 0 0;
text-transform: lowercase;
}

a, a:link, a:visited {
color: #E3406E;
text-decoration: none;
}

a:hover {
color: #EA5885;
text-decoration: none;
}

B {font:verdana 12px bold; color: #4C3628; font-weight: bold;}
strong {font:verdana 12px bold; color: #5C4230; font-weight: bold;}
I {font:verdana 12px italic; color: #6D4D37;}
U {font:verdana 12px underline; color: #7E583E;}

blockquote {
border: 1px #F16F9A solid;
padding: 6px;
color: #7E583E;
background-color: #F5F5F5;
-moz-border-radius: 5px;
-webkit-border-bottom: 5px;
}

code, kbd, pre, tt {
font-family: monospace;
}

/*---------------------------------------------------------------------
General page alignment and width
------------------------------------------------------------------------*/

#content
{
width: 850px;
margin: 0px auto 0px auto;
padding: 0px 0px 0px 0px;
background-color:;
border-width: 0px;
border-style:;
border-color:;
padding: 15px;
}

#maincontent {
margin-top: 0px;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
background-color:;
color: #f5f5f5;
border-style:;
border-color:;
border-width: 0px;
text-align: justify;
}

#sidebar {
position: fixed;
padding-top: 15px;
margin-top: 150px;
background-color: #EC5281;
border-color:;
border-width: 0px;
border-style:;
font-size: 11px;
font-family: \"Verdana\", sans-serif;
color: #ffffff;
width: 200px;
float: left;
text-align: left;
-moz-border-radius: 5px;
-webkit-border-bottom: 5px;
}

/*-----------------------------------------------------------------------------
Header - you can add a header image with either #header or .headerimage
--------------------------------------------------------------------------------*/

#header {
float: left;
position: fixed;
width: 200px;
padding: 10px 0px 20px 0px;
text-align: right;
font-family: \"georgia\", sans-serif;
font-size: 15px;
font-weight: bold;
font-style: italic;
letter-spacing: 2px;
border-style:;
border-color:;
border-width: 0px;
background-color: #E3406E;
color: #fafafa;
-moz-border-radius: 5px;
-webkit-border-bottom: 5px;
}

/*look and color of links (also partly for footer)*/
div#header a, div#header a:link, div#header a:visited {
color: #ffffff;
}

/*look and color of links (also partly for footer)*/
div#header a:hover {
color: #B21C4A;
}

/*look and color of links (also partly for footer)*/
div#footer a, div#footer a:link, div#footer a:visited {
color: #F07097;
}

div#footer a:hover {
color: #ED477E;
text-decoration: none;
}

/*title and subtitle*/
.title, .subtitle {
display: none;
}

/*-----------------------------------------------------------------------------
Header - top navigation
--------------------------------------------------------------------------------*/

/* header -- links to views; title of journal; subtitle of journal */

ul.navheader
{
padding: 0px;
margin: 0px;
}

ul.navheader li {

display: block;
padding: 0 3px 0 3px;
}

/*-----------------------------------------------------------------------------
Entry stuff
------------------------------------------------------------------------*/

.subcontent {
margin: 0px 0px 0px 210px;
}

.entry {
margin: 0px 0px 10px 0px;
padding: 10px;
background-color: #F5F5F5;
color: #36261C;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
text-align: justify;
border-width: 0px;
border-color:;
border-style:;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;

}

.userpic {
float: right;
padding-left: -100px!important;
margin-top: 0px;
z-index: 15;
border-width: 0px;
background-color: #F5F5F5;
border-color: #F5F5F5;
border-style: solid;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}

.userpic img {height: 100px; width: 100px
background-color: #F5F5F5;
border-color: #F5F5F5;
border-style: solid;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;;}

.date {
text-align: left;
top: 5px;
color: #ffffff;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

.subject {
text-align: left;
font-weight: bold;
padding: 10px;
color: #ffffff;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

.subject a, .subject a:link, .subject a:visited {
color: #ffffff;
}

.subject a:hover {
color: #ffffff;
}

.datesubject {
background-color: #F16F9A;
padding: 5px;
margin-right: 110px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin-bottom: 2px;
}

.entry ul li
{
padding-left: 5px;
margin-left: 15px;
}

.entry ol li
{
padding-left: 5px;
margin-left: 15px;
}

.ljtaglist {
margin: 15px 0px 0px 210px;
padding: 5px;
color: #f3f3f3;
text-align: left;
background-color: #5a483c;
width: 400px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
list-style-type:none;
}

/*---------------------------------------------------------------------
Entry Stuff - Current Mood, Music and Location
------------------------------------------------------------------------*/

.currents, .currentmood, .currentmusic {
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

/*---------------------------------------------------------------------
Entry Stuff - Comments
------------------------------------------------------------------------*/

.comments {
font-family: \"Verdana\", sans-serif;
font-size: 11px;
text-align: right;
padding: 0px 0px 0px 0px;
position: relative;
margin-top: 10px;

}

div.comments a, div.comments a:link, div.comments a:visited{
color: #e3406e;
}

div.comments a:hover {
color: #d83966;
text-decoration: none;
}

/*---------------------------------------------------------------------
Entry Stuff - Separator
------------------------------------------------------------------------*/

.separator{
/* for formatting separators between entries */
height: 15px;
}

/*------------------------------------------------------------
Special friends page customization
-------------------------------------------------------------------------------*/

.userpicfriends {
float: right;
padding-left: -100px!important;
margin-top: 0px;
z-index: 15;
border-width: 0px;
background-color: #fbfbfb!important;
border-color: #fbfbfb;
border-style: solid;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
display: inline;
text-align: center;
}

.userpicfriends img {height: 100px; width: 100px
background-color: #fbfbfb;
border-color: #fbfbfb;
border-style: solid;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;}

/*------------------------------------------------------------
Sidebar
-------------------------------------------------------------------------------*/

.defaultuserpic {
display: show;
text-align: center;
}

.sbarheader {
padding: 0px 5px 0px 5px;
}

.sbarbody {
padding: 0px 5px 0px 5px;
text-align: justify;
}

.sbarbody2 {
padding: 0 15px 0 15px;
}

div#sidebar a, div#sidebar a:link, div#sidebar a:visited{
color: #ffffff;

}

div#sidebar a:hover {
color: #B21C4A;

text-decoration: none;
}

/*------------------------------------------------------------
Sidebar - Calendar
-------------------------------------------------------------------------------*/

table.calendar {
margin-right: auto;
margin-left: auto;
}

.sbarcalendar {
border-color: #F06694;
border-width: 1px;
border-style: solid;
text-align: center;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

.sbarcalendarposts {
border-color: #F06694;
border-width: 1px;
border-style: solid;
background-color: #F06694;
text-align: center;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
}

/*------------------------------------------------------------
Sidebar - link box contents and sidebar box titles
-------------------------------------------------------------------------------*/

ul.sbarlist
{
padding-left: 0px;
margin-left: 0px;
list-style: none;
}

li.sbaritem
{
padding-left: 15px;
list-style: none;
}

li.sbartitle
{
display: none;
}

/*----------------------------------------------------
footer
----------------------------------------------------------------*/

#footer {
float: left;
margin-left: 210px;
bottom: 0px;
width: 640px;
text-align: right;
font-family: \"georgia\", sans-serif;
font-size: 11px;
font-weight: lighter;
text-transform: lowercase;
letter-spacing: 1px;
border-style:;
border-color:;
border-width: 0px;
background-color: #48372C;
z-index: 100;
clear: both;
-moz-border-radius: 5px;
-webkit-border-bottom: 5px;
padding: 10px 0px 10px 0px;
color: #E34B76;

}

ul.navfooter{
padding: 0px;
margin: 0px;
}

ul.navfooter li {
display: inline;
margin: 0 5px 0 5px;
}

.clearfoot {
clear: both;
}

/*----------------------------------------------------
Archive Pages
----------------------------------------------------------------*/

ul.year {
text-align: center;
padding-bottom: 40px;
}

ul.year li {
display: inline;
}

table.yeartable {
margin-left: auto;
margin-right: auto;
}

table.yeartable td.yeardate, table.yeartable td.yearday {
border-width: 1px;
border-style: solid;
border-color: #EC5281;
background-color: #5a483c;
}

table.yeartable td.yearday {
background-color: #F06694;
text-align: center;
}

td.yearmonth {
border-style: none;
}

/*----------------------------------------------------
Comments pages
----------------------------------------------------------------*/

.datesubjectcomment {
background-color: #F16F9A;
padding: 5px;
margin-top: 20px;
-moz-border-radius: 5px;
-webkit-border-bottom: 5px;
}

.userpiccomment {
position: relative;
border-width: 1px;
border-style: solid;
border-color: #4F3E33;
background-color: #f5f5f5;
top: -30px;
left: 0px;
padding: 1px;
margin: 10px 10px -20px 10px;
z-index: 15;
float: left;
}

.box {
margin: 0px 0px 0px 210px;
border-style:;
border-width: 1px 0px 0px 0px;
border-color:;
padding: 10px;
clear: left;
}

input, textarea, select {
border: 0px;
color: #36261C;
background-color: #f5f5f5;
}

textarea.textbox {
width: 100% !important;
}

.reply {
position: relative;
margin: 20px 30px 10px 30px;
padding: 25px 10px 10px 10px;
text-align: left;
font-family: \"Verdana\", sans-serif;
font-size: 11px;
line-height: 125%;
background-color: #d4dce8;
color: #36261C;
}

.replytosubject {
font-weight: bold;
}

.commentreply {
position: relative;
margin: 10px;
font-size: 11px;
font-family: \"Verdana\", sans-serif;
color: #36261C;
}

.commentbox {
border-width: 0px;
padding: 10px;
margin: 10px;
background-color: #f5f5f5;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}

.datesubjectcomment a:link, .datesubjectcomment a:visited {
color: #ffffff;
}

.datesubjectcomment a:hover {
color: #b0b9c8;
}

.commentboxpartial {
border-color:;
border-width: 0px;
border-style:;
padding: 10px;
margin: 10px;
background-color: #f5f5f5;
}

.commentinfo {
background-color: #F16F9A;
margin-top: 10px;
width: 100%;
}

.skiplinks {
margin: 0px 0px 0px 210px;
width: 640px;
text-align: center;
font-family: \"georgia\", sans-serif;
font-size: 11px;
font-weight: lighter;
text-transform: lowercase;
letter-spacing: 1px;
border-style:;
border-color:;
border-width: 0px;
background-color: #48372C;
z-index: 100;
clear: both;
-moz-border-radius: 5px;
-webkit-border-bottom: 5px;
padding: 10px 0px 10px 0px;
color: #E34B76;
}

/*--------------------------------------------
Misc
-----------------------------------------*/

.clear {
height: 15px;
}

h2 {
display: none;
}

- This layout is flexible squares; round edges does not translate in IE7.

- Depending on the height of your header box you'll need to edit the margin-top code from #sidebar.

- To make both the header and sidebar scroll along with the rest of the page remove position: fixed from #sidebar and #header.

- Credit mosaiclife

style: flexible squares

Previous post Next post
Up