( layout ) chocolatine.

May 31, 2010 20:37

This is sort of embarrassing for me, but one of the things I promised myself I'd learn how to do this summer is code CSS. I actually promised myself the same thing last year, but that one didn't work out too well. Obviously you have to start small with these things, so I basically played around with the basic code for Flexisquares. It's not particularly innovative or sophisticated, but it's clean. I don't think I feel confident enough to post anywhere but here for now (even though I know that we've only been posting profiles so far--sorry for clogging!) and I don't expect anyone to use it, but if you could give me some feedback as to what you would ideally like to see in a layout, I'll try to learn how to do it. Think of this as a small thank-you for 800+ WATCHERS. Thank you so much, everyone! We could never do it without you! ♥



LIVE PREVIEW

/* CHOCOLATINE for S2 FLEXIBLE SQUARES
Originally posted at layering @ livejournal
Texture by theinspirationgallery
Tinyicons by famfamfam & pinvoke */

#header {
display: none;
}

div#header a, div#header a:link, div#header a:visited, div#footer a, div#footer a:link, div#footer a:visited {
color: #48372F;
}

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

/* TITLE */

.title {
font-family: "georgia", serif;
font-size: 18px;
font-weight: normal;
line-height: 200%;
top: 10px;
}

.subtitle{
font-family: "trebuchet ms", sans-serif;
font-size: 12px;
font-weight: normal;
top: 10px;
}

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

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

/* BODY & ENTRIES */

body {
background-color: #ffffff;
text-align: center;
color: #48372F;
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
}

a, a:link {
color: #48372F;
text-decoration: none;
}

a:visited {
color: #48372F;
text-decoration: none;
}

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

p, td {
padding: 2px;
background-color: #48372F;
color: #fff;
font-family: "georgia", serif;
font-size: 10px;
text-align: left;
border-width: 0px;
}

blockquote {
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-left: 10px;
padding: 10px;
background: url(http://i46.tinypic.com/2cp29hi.jpg);
color: #1F1A19;
font-family: "georgia", serif;
font-size: 10px;
text-align: justify;
border-width: 10px;
border-style: solid;
border-color: #C2BBA1;
}

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

#content
{
width: 1015px;
margin-left: auto; margin-right: auto;
background-color: #fff;
border-width: 1px;
border-style: solid;
border-color: #fff;
padding: 25px;
}

#maincontent {
margin-top: 0px;
padding: 0px;
font-family: "trebuchet ms", sans-serif;
font-size: 11px;
background-color: #fff;
color: #48372F;
border-width: 0px;
margin-right: 200px;
text-align: left;
}

.entry {
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-left: 10px;
padding: 10px;

background-color: #fff;
color: #48372F;
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
text-align: left;
border-width: 0px;
}

.userpic {
position: relative;
float: left;
background-color: #48372F;
padding: 20px;
margin: 10px;
z-index: 15;
border-width: 0px;
}

.date {
line-height: 200%;
top: 5px;
color: #1F1A19;
font-family: "trebuchet ms", sans-serif;
font-size: 8px;
}

.subject {
font-weight: bold;
padding: 4px;
background-color: #C2BBA1;
font-family: "georgia", serif;
font-size: 18px;
}

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

.subject a:hover {
color: #1F1A19;
}

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

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

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

.currents, .currentmood, .currentmusic
{
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
}

/* COMMENTS */

.comments {
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
text-align: right;
background-color: #F5F5F5;
padding: 0px 5px 0px 5px;
position: relative;
top: 15px;
}

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

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

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

.userpiccomment {
display: none;
}

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

input, textarea {
background-color: #FFFF00;
color: #1F1A19;
}

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

.reply {
position: relative;
margin: 20px 30px 10px 30px;
padding: 25px 10px 10px 10px;
text-align: left;
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
line-height: 125%;
background-color: #fff;
color: #1F1A19;
}

.replytosubject {
font-weight: bold;
}

.commentreply {
position: relative;
margin: 10px;
font-size: 10px;
font-family: "trebuchet ms", sans-serif;
color: #1F1A19;
}

.commentbox {
border-color: #fff;
border-width: 1px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #F5F5F5;
}

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

.datesubjectcomment a:hover {
color: #1F1A19;
}

.commentboxpartial {
border-color: #fff;
border-width: 0px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #C2BBA1;
}
.commentinfo {
background-color: #fff;
margin-top: 10px;
width: 100%;
}

.skiplinks {
text-align: center;
}

.userpicfriends {
position: relative;
float: left;
padding: 5px;
margin: 10px;
text-align: center;
border-style: solid;
border-width: 0px;
border-color: #000;
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
z-index: 15;
}

/* SIDEBAR */

#sidebar {
width: 170px;
padding:15px;
margin-top: 0px;
background-color: #1F1A19;
border-width: 0px;
font-size: 10px;
font-family: "trebuchet ms", sans-serif;
color: #C2BBA1;
float: right;
text-align: justify;
}

.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: #FFF;
font-family: "georgia", serif;
font-size: 14px;
}
div#sidebar a:hover {
color: #C2BBA1;
text-decoration: none;
}

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-style: solid;
border-width: 0px;
border-color: #000;
background-color: #000;
margin-bottom: 10px;
margin-top: 10px;
}

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

.sbarcalendar {
border-color: #000;
border-width: 0px;
border-style: solid;
text-align: center;
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
}

.sbarcalendarposts {
border-color: #000000;
border-width: 0px;
border-style: solid;
background-color: #000;
text-align: center;
font-family: "trebuchet ms", sans-serif;
font-size: 10px;
}

/* FOOTER & ETC. */

#footer {
width: 978px;
text-align: right;
font-family: "georgia", serif;
font-size: 10px;
letter-spacing: 1px;
background-color: #1F1A19;
color: #fff;
border-color: #000;
border-width: 0px;
border-style: solid;
padding: 20px;
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
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: 0px;
border-style: solid;
border-color: #000;
}

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

td.yearmonth {
border-style: none;
}

/* Tinyicons */

.ljuser img {
width: 0; height: 0; background: transparent url() no-repeat 0 0; padding: 7px 7px 0px 0px !important; vertical-align: baseline !important;
}
.ljuser img[src*="userinfo.gif"] {
background: transparent url(http://i46.tinypic.com/6hozde.jpg) no-repeat 0 0 !important; padding: 16px 16px 0px 0px !important;
}
.ljuser img[src*="community.gif"] { width: 0; height: 0; background: transparent url(http://i48.tinypic.com/mm4svk.jpg) no-repeat scroll 0 0 !important; padding: 12px 17px 0px 0px !important;
}
img[src*='icon_protected.gif'] { width: 0; height: 0; background: url('http://i45.tinypic.com/21nfof8.jpg') no-repeat; padding: 16px 20px 0 0;
}
img[src*='icon_private.gif'] { width: 0; height: 0; background: url('http://i45.tinypic.com/snp6x1.jpg') no-repeat; padding: 13px 16px 0 0;
}
img[src*='icon_groups.gif'] { width: 0; height: 0; background: url('http://i45.tinypic.com/21nfof8.jpg') no-repeat; padding: 16px 20px 0 0;
}

❶ Select FLEXIBLE SQUARES, making sure your sidebar is on the RIGHT.
➋ Make sure all drop-down boxes say NO and copy+paste the code HERE.
➌ About the sidebar: your default navigational links have to be implemented manually.
➍ This layout has been tested in Mozilla Firefox, Google Chrome, and IE.
➎ I'll try to answer any questions you have, but like I said before, I'm new at this whole thing so it'll be a learning experience for both of us. :)
➏ Tinyicons are by pinvoke & famfamfam, and the texture used is by the inspiration gallery.
➐ Thanks! ♥

type: layout, !user: annay

Previous post Next post
Up