I'm styling the sidebar links. Only there is now a gap at the top and I can't seem to get rid of it. Live preview at
chungae /* made by eunkyung
style -- Flexible Squares s2 */
BODY{
margin-top: 0px;
background-color: #dcdcdc;
background-image: url('');
background-repeat: repeat;
background-position: ;
background-attachment: ;
text-align: left;
font-size: 8pt;
color: #404040;
font-family: "arial", sans-serif;
}
a, a:link, a:visited {
font-family: "arial" Helvetica, sans-serif;
cursor: default;
color: #a1ced2;
font-weight: none;
text-transform: lowercase;
letter-spacing: 0px;
text-decoration: none;
}
a:hover{
font-family: "arial" Helvetica, sans-serif;
cursor: default;
color: #2d2d2d;
font-weight: none;
text-transform: lowercase;
text-decoration: none;
}
b {
color: #a1ced2;
font-weight: bold;
}
i {
color: #b3d6dd;
}
blockquote {
padding: 20px;
color: #1d1d1d;
line-height: 11px;
font-size: 10px;
font-family: "arial" arial, sans-serif;
text-align: justify;
letter-spacing: 1px;
background-color: #f4f4f4;
border: 1px solid #e4e4e4;
}
#content {
width: 670px;
margin: auto;
border-left: 0px solid #80b8bd;
border-right: 0px solid #80b8bd;
padding: 30px;
}
#maincontent {
margin: 0px 0px 0px 180px;
margin-top: 5px;
}
/* sidebar */
#sidebar {
width: 172px;
margin: 0px;
padding: 0px;
background: #ffffff;
color: #cccccc;
font-family: "arial" Helvetica, sans-serif;
font-size: 8pt;
text-align: right;
float: left;
display: ;
}
div#sidebar a, div#sidebar a:link, div#sidebar a:visited {
color: #a1ced2;
text-decoration: none;
}
div#sidebar a:hover {
text-decoration: none;
color: #ffffff;
}
.defaultuserpic {
text-align: center;
border-color: 10px solid #FEFEFE;
}
.sbarheader {
padding: 0px 0px 0px 0px;
}
.sbarbody {
padding: 0px 0px 0px 0px;
}
.sbarbody2 {
padding: 5px 10px 10px 10px;
}
table.calendar {
margin-right: auto;
margin-left: auto;
}
.sbarcalendar {
padding: 1px;
border: 1px solid #ddd;
background: #FEFEFE;
text-align: right;
font-family: "arial", Helvetica, sans-serif;
color: #999999;
font-size: 8pt;
}
.sbarcalendarposts {
padding: 1px;
border: 1px solid #ddd;
background: #dddddd;
text-align: right;
font-family: "arial", Helvetica, sans-serif;
color: #73c8cb;
font-size: 8pt;
}
ul.sbarlist {
margin-left: 0px;
list-style: none;
padding-left: 0px;
}
li.sbaritem {
margin: 0px 0px 0px 0px;
padding: 5px 3px 5px 3px;
list-style: none;
background-image: url();
background-repeat: no-repeat;
border-bottom: 1px #dcdcdc solid;
border-right: 5px #febc32 solid;
}
li.sbaritem:hover {
background: #f8f8f8;
}
li.sbartitle {
width: 180px;
list-style: none;
margin-left: -3px;
text-align: left;
font-weight: normal;
padding: 0px 0px 0px 0px;
color: #ffffff;
font-family: "arial" Helvetica, sans-serif;
font-size: 8pt;
background: #000000;
text-transform: uppercase;
letter-spacing: 0px;
display: none;
}
ul.ljtaglist li {
padding: 0px;
margin: 0px;
list-style: decimal-leading-zero;
list-style-position: outside;
}
.nav a {border-left: 0px solid #dddddd; border-top: 0px solid #f1f1f1; color: #fba839; display: ; font-family: tahoma; font-size: 8pt; text-transform: lowercase; padding: 8px; line-height: 10px; background-color: #232323;}
.nav a:hover {color: #ffffff; text-decoration: none; background-color: #232323;}
.nav br {display: none;}
/* header, footer */
#header {
color: #ffffff;
margin: 0 auto 6px;
text-align: right;
font-size: 1em;
letter-spacing: -.01em;
font-weight: normal;
text-transform: lowercase;
border-bottom:0px solid #111111;
padding: 0 0 0px;
}
#footer {
width: 470px;
margin: 0px 0px 0px 180px;
padding: 10px;
text-align: left;
text-transform: lowercase;
letter-spacing: 1px;
font-size: 10pt;
color: #e2e7e1;
z-index: 100;
background-color: #000000;
font-family: "arial" Helvetica, sans-serif;
display: ;
}
div#header a, div#header a:link, div#header a:visited{
padding: 15px;border-left: 1px solid #232323; margin:0 0 0 -3px;
}
div#footer a, div#footer a:link, div#footer a:visited {
font-family: "arial" Helvetica, sans-serif;
color: #a1ced2;
font-size: 12pt;
padding: 0px 3px 3px 3px;
text-transform: lowercase;
border-top: 0px solid #d3e2eb;
background-color: #000000;
}
div#header li.view:hover, div#header a:hover {
background-color:#232323;
color:#ffffff;
}
div#footer a:hover {
font-family: "arial" Helvetica, sans-serif;
color: #ffffff;
font-size: 12pt;
padding: 3px 3px 3px 3px;
text-transform: lowercase;
background-color: #000000;
border-top: 0px solid #000000;
border-bottom: 0px solid #000000;
}
ul.navheader{
padding: 15px 0;
margin: 0px;
background-color:#000000;
}
ul.navheader li {
display: inline;
margin: px 0px 0px;
list-style-type: none;
}
ul.navheader li a:hover {
background-color: #303934;
color: #c58c35;
}
div#header li.view {
padding: 15px;
border-left: 1px solid #232323;
margin:0 0 0 -3px;
}
#footer .viewing {
display:none;
}
ul.navfooter {
padding: 0px;
margin: 0px;
}
ul.navfooter li {
display: inline;
margin: 0 5px 0 5px;
}
.clearfoot {
display: none;
clear: both;
}
/* title, substitle */
.title {
display: none;
margin-top: 0px;
padding: 5px;
text-align: center;
color: #24afd2;
font-family: "arial", sans-serif;
font-size: 24pt;
letter-spacing: 0pt;
line-height: 10pt;
}
.subtitle {
display: none;
text-align: left;
color: #FEFEFE;
font-family: "Microsoft Sans Serif", sans-serif;
font-size: 1pt;
letter-spacing: 2pt;
}
/* tags page, tags */
.ljtaglist {
list-style-type: none;
padding: 0px;
margin: -1px 20px 0px 20px;
margin-left: 70px; width: 50%;
text-transform: uppercase;
text-align: left;
}
.ljtaglist li {
border-bottom: 1px solid #cccccc;
padding: 5px 2px 5px 20px;
color: #888888;
}
H2 {
margin: 30px 0px 10px 90px;
text-align: left;
padding: 2px 2px 2px 10px;
line-height: 12px;
font-weight: normal;
font-style: italic;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0px;
font-family: arial;
color: #888888;
background: url('') 0px 2px no-repeat;
}
ul.ljtaglist {
color: #bbb;
font-family: "arial", Helvetica, sans-serif;
font-size: 8pt;
padding: 8px 8px 8px 12px;
border: 0px solid #FEFEFE;
background: #FEFEFE;
text-align: left;
margin-right: auto;margin-left: auto; padding: 35px;
}
.ljtags {
margin-top: 12px;
color: #333;
font-size: 8pt;
font-weight: light;
}
.ljtags a, .ljtags a:link, .ljtags a:visited {
color: #898989;
font-size: 8pt;
text-transform: lowercase;
font-weight: ;
}
/* subcontent, entry */
.subcontent {
margin-top: -10px;
padding: 10px;
margin: 0px 0px 0px 0px;
border-bottom: 0px solid #cccccc;
background: #ffffff;
}
.entry{
padding: 20px 20px 20px 20px;
color: #232323;
font-family: "arial" Helvetica, sans-serif;
font-size: 8pt;
line-height: 11pt;
text-align: justify;
background: #ffffff;
}
.entry ul li {
padding-left: 10px;
margin-left: 0px;
list-style: decimal-leading-zero;
list-style-position: outside;
}
.entry ol li {
padding-left: 0px;
margin-left: 0px;
list-style: decimal-leading-zero;
list-style-position: outside;
}
/* userpic, userpic friends */
.userpic {
display: ;
position: relative;
float: left;
padding: 10px;
margin-right: 0px;
margin-left: 0px;
margin-top: 0px;
z-index: 15;
background-color: transparent !important;
margin-left: 0px !important;
border: 0px solid #d4d4d4;
background-image: url('');
background-repeat: repeat;
border: 0px solid #f7f7f7;
}
.userpicfriends {
position: relative;
float: left;
background-color: transparent !important;
padding: 10px;
margin-right: 0px;
margin-left: 0px !important;
margin-top: 0px;
z-index: 15;
border: 0px solid #d4d4d4;
text-align: right;
font-family: "arial", sans-serif;
font-size: 8pt;
z-index: 15;
display: ;
}
.userpic img, .userpicfriends img{ background:#80b8bd; padding:5px; border-width: 3px;
width: 75px;
height: 75px;
border-color: #80b8bd;
border-style: solid;}
.userpicfriends font {
color: #d6d5d5 !important;
text-transform: uppercase;
}
.userpicfriends {font-size: 3; align: left;}
.userpicfriends a{ display: none;}
.userpicfriends br {
display: block;
height: 0;
}
/* date, subject, comments, currents */
.date{
padding-top: 10px;
border-right: 0px solid #eeeeee;
border-left: 0px solid #eeeeee;
background: #ffffff;
text-align: left;
top: 2px;
color: #c5c5c5;
font-family: "verdana" Helvetica, sans-serif;
font-size: 7pt;
border-bottom: 0px solid #f1f1f1;
text-transform: lowercase;
}
.subject {
padding-left: 1px;
padding-bottom: 2px;
border-right: 0px solid #e2e7e1;
border-left: 0px solid #e2e7e1;
border-top: 0px solid #ff8a00;
border-bottom: 0px solid #d4d4d4;
background: #ffffff;
text-align: left;
font-weight: normal;
font-style:normal;
color: #787878;
font-family: "verdana" Helvetica, sans-serif;
font-size: 12pt;
text-transform: lowercase;
letter-spacing: -1px;
background-image: url('');
background-repeat: no-repeat;
}
.subject a, .subject a:link, .subject a:visited {
font-family: arial;
color: #a1ced2;
text-transform: ;
}
.subject a:hover {
color: #999;
}
.datesubject {
padding: 0px;
}
.currents strong, .currentmood strong, .currentmusic .currentlocation, .ljtags strong {
color: #777777;
font-size: 8pt;
text-transform: lowercase;
}
.currents, .currentmood, .currentmusic, .currentlocation {
color: #777777;
font-size: 8pt;
text-transform: lowercase;
}
.currentlocation a, .currentlocation a:link, .currentlocation a:visited {
color: #98d6d8;
font-size: 8pt;
text-transform: uppercase;
font-weight: light;
}
.currentlocation a:hover, .ljtags a:hover {
color: #999;
font-size: 8pt;
font-weight: light;
text-transform: lowercase;
}
.comments {
margin-left: -20px;
font-family: "arial", sans-serif;
font-size: 8pt;
text-align: right;
font-weight: none;
padding: 8px;
position: relative;
top: 0px;
text-transform:lowercase;
letter-spacing: 1px;
}
div.comments a, div.comments a:link, div.comments a:visited {
font-family: "arial", sans-serif;
color: #898989;
text-transform: uppercase;
}
div.comments a:hover {
color: #2d2d2d;
text-transform: uppercase;
}
/* other */
.clear {
display: none;
height: 0px;
}
.skiplinks {
text-transform: lowercase;
text-align: center;
margin: 08px 0 08px 0;
padding: 12px;
color: #888888;
border: 1px solid #bbb;
background: #FDFDFD;
}
/* header */
.separator {
background-color: ;
background-image: url('');
background-repeat: repeat-x;
height: 5px;
}
.clearfoot {
display: none;
}
.headerimage {
position: relative;
width: 0px;
height: 0px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
background-image: url('');
background-repeat: no-repeat;
}
/* comment page */
.datesubjectcomment {
background-color: #dddddd;
padding: 5px
border-top: 1px dotted #dddddd;
}
.userpiccomment {
position: relative;
border: 2px solid #cccccc;
background-color: #FDFDFD;
top: -30px;
left: 0px;
padding: 5px;
margin: 10px 10px -20px 10px;
z-index: 15;
float: left;
}
.box {
border-style: solid;
border-width: 1px 0px 0px 0px;
border-color: #cccccc;
padding: 10px;
clear: right;
}
input, textarea {
background-color: #FDFDFD;
color: #999;
}
textarea.textbox {
width: 95% !important;
}
.reply{
position: relative;
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
text-align: left;
font-family: "tahoma";
font-size: 10px;
line-height: 125%;
background-color: #FDFDFD;
color: #98d6d8;
}
.replytosubject {
font-weight: bold;
}
.commentreply {
position: relative;
margin: 10px;
font-size: 10px;
font-family: "tahoma";
color: #999;
}
.commentbox {
border-color: #000000;
border-width: 1px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #FDFDFD;
}
.datesubjectcomment a:link, .datesubjectcomment a:visited {
color: #98d6d8;
}
.datesubjectcomment a:hover {
color: #999999;
}
.commentboxpartial {
border-color: #cccccc;
border-width: 1px;
border-style: dotted;
padding: 10px;
margin: 10px;
background-color: #FDFDFD;
}
.commentinfo {
background-color: #FDFDFD;
margin-top: 10px;
width: 100%;
}
img[src="
http://l-stat.livejournal.com/img/icon_protected.gif"] {
width: 0;
height: 0;
padding: 0 2px 16px 16px;
background: url(
http://i44.tinypic.com/2d95riv.png); background-repeat: no-repeat;
}
.ljuser img[src="
http://l-stat.livejournal.com/img/userinfo.gif"] {
width: 0px;
height: 0px;
background-image: url(
http://i42.tinypic.com/28mjtkx.jpg); background-repeat: no-repeat;
padding: 16px 18px 0 0 !important;
}
.ljuser img[src="
http://l-stat.livejournal.com/img/community.gif"] {
width: 0px;
height: 0px;
background-image: url(
http://i41.tinypic.com/34t7qqq.png); background-repeat: no-repeat;
padding: 16px 18px 0 0 !important;
}