Flexible Squares: The Torino

Nov 27, 2010 19:44

It’s my first layout ever!



Click to see the preview.

Live preview: nglayout.

I used a tutorial made by cartonage and the credit is included into the CSS. Thank you!

Style: Flexible Squares
Layout Type: Layout, Sidebar
Replypages: Customized
Browsers: FF, Chrome, Safari (in IE it looks different).

/* Cleaned CSS: */

/*---------------------------------------------------
This is the original stylesheet for the S2 style Flexible Squares with the elements
arranged in a hopefully clearer order.

You can find a full guide on the single css definitions, including exlanations and illustrations
at http://cartonage.livejournal.com.

Hope this helps! =)
-----------------------------------------------------*/

/*Created by Nicky Gabriel
http://nickygabriel.livejournal.com
*/

body {
background-color: #ffffff;
text-align: center;
color: #242424;
font-family: "Verdana", sans-serif;
font-size: 12px;
margin: 20px 0 20px 0;
}

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

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

p, td, blockquote {
font-size: 12px;
}

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

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

#content
{
width: 800px;
margin-left: auto; margin-right: auto;
background-color: #ffffff;
border-width: 0px;
border-style: solid;
border-color: #242424;
padding: 15px;
}

#maincontent {
margin-top: 15px;
font-family: "Verdana", sans-serif;
font-size: 12px;
background-color: #ffffff;
color: #242424;
border-style: solid;
border-color: #242424;
border-width: 0px;
margin-left: 180px;
text-align: justify;
}

#sidebar {

padding-top: 15px;
margin-top: 15px;
background-color: #ffffff;
border-width: 0px;
font-size: 12px;
font-family: "Verdana", sans-serif;
color: #242424;
width: 160px;
float: left;
text-align: left;
}

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

#header {
width: 100%;
padding: 10px 0px 20px 0px;
margin: 0px;
text-align: center;
font-family: "Times New Roman", sans-serif;
font-size: 30px;
font-weight: normal;
letter-spacing: 3px;
border-width: 0px;
background-color: #ffffff;
color: #242424;
}

.headerimage {
/* for formatting header image */
}

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

a:visited {
color: #aaaaaa;
}

div#header a:hover, div#footer a:hover {
color: #ff0000;
text-decoration: none;
}

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

.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: inline;
padding: 0 3px 0 15px;
}

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

.subcontent {
background-color: #242424;
}

.entry {
margin: 0px 10px 10px 10px;
padding: 10px 10px 10px 15px;
background-color: #ffffff;
color: #242424;
font-family: "Verdana", sans-serif;
font-size: 12px;
text-align: justify;
border-width: 1px;
border-color: #242424;
border-style: solid;

}

.userpic {
position: relative;
float: left;
padding: 5px;
margin: 10px;
z-index: 15;
background-color: transparent !important;
}

.date {
line-height: 200%;
top: 5px;
color: #242424;
font-family: "Verdana", sans-serif;
font-size: 12px;
}

.subject {
color: #ff0000;
font-weight: normal;
padding: 10px;
font-family: "Times New Roman", sans-serif;
font-size: 30px;
}

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

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

.datesubject {
background-color: #ffffff;
padding: 5px;
}

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

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

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

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

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

.comments {
font-family: "Times New Roman", sans-serif;
font-size: 26px;
text-align: center;
background-color: #ffffff;
padding: 0px 5px 0px 5px;
position: relative;
top: 0px;
}

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

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

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

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

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

.userpicfriends {

position: relative;
float: left;
padding: 5px;
margin: 10px;
z-index: 15;
background-color: transparent !important;
}

.entry {min-height: 150px;}

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

.defaultuserpic {
text-align: center;
}

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

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

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

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

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

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

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

.sbarcalendar {
border-color: #ffffff;
border-width: 0px;
text-align: center;
font-family: "Verdana", sans-serif;
font-size: 12px;
}

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

/*------------------------------------------------------------
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
{
padding-left: 15px;
list-style: none;
border-width: 0px;
background-color: #ffffff;
margin-bottom: 10px;
margin-top: 10px;
}

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

#footer {
width: 100%;
text-align: center;
font-family: "Times New Roman", sans-serif;
font-size: 30px;
font-weight: normal;
letter-spacing: 1px;
background-color: #ffffff;
color: #242424;
border-width: 0px;
z-index: 100;
clear: both;
}

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: #242424;
}

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

td.yearmonth {
border-style: none;
}

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

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

.userpiccomment {
position: relative;
top: -30px;
left: 0px;
padding: 5px;
margin: 10px 10px -20px 10px;
z-index: 15;
float: left;
border-width: 0px;

}

.box {
border-style: solid;
border-width: 1px 0px 0px 0px;
border-color: #242424;
padding: 10px;
clear: left;
}

input, textarea {
background-color: #ffffff;
color: #242424;
}

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: 12px;
line-height: 125%;
background-color: #ffffff;
color: #242424;
}

.replytosubject {
font-weight: bold;
}

.commentreply {
position: relative;
margin: 10px;
font-size: 12px;
font-family: "Verdana", sans-serif;
color: #242424;
}

.commentbox {

border-color: #242424;
border-width: 1px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #ffffff;
width: 95%;
}

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

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

.commentboxpartial {
border-color: #242424;
border-width: 1px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #ffffff;
width: 95%;
}

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

.skiplinks {
text-align: center;
}

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

.clear {
height: 15px;
}

.defaultuserpic img{
background: #ff0000;
padding: 10px;
margin: 5px;
}

.userpic img, .userpicfriends img, .userpiccomment {
background: #ff0000;
padding: 10px;
margin: 5px;
}

.entry img{
max-width: 550px;
}

Credit: nickygabriel @ theredtorino. Thank you!

Layout by @

style: flexible squares

Previous post Next post
Up