sidebar links padding

Aug 10, 2014 19:19

I gave my li.sbaritem { a padding. However when I hover over the links the padding changes. Live preview at incheons



/* made by eunkyung
style -- Flexible Squares s2 */

BODY{
margin-top: 10px;
background-color: #f2f4f6;
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: #24afd2;
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;
}

blockquote {
padding: 20px;
color: #00000;
line-height: 11px;
font-size: 10px;
font-family: "arial" arial, sans-serif;
text-align: justify;
letter-spacing: 1px;
background: #e3c0b5;
background-image: url('http://i50.tinypic.com/axi2pu.jpg');
background-repeat: repeat;
border: 1px solid #eeeeee;
}

#content {
width: 700px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
border-top: 0px solid #000000;
background: #;
padding: 0px;
}

#maincontent {
margin: 10px 0px 0px 0px;
background: ;
border-left: solid #ebebeb 0px;
}

/* sidebar */

#sidebar {
width: 660px;
padding: 10px;
margin-top: 0px;
margin-left: 0px;
background: #fbfbfb;
border: solid #40C0CB 10px;
color: #d1d1d1;
font-family: "arial" Helvetica, sans-serif;
font-size: 8pt;
line-height: 10pt;
text-align: justify;
float: center;
display:;
}

div#sidebar a, div#sidebar a:link, div#sidebar a:visited {
color: #ea8e7b;
text-decoration: none;
}

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

.defaultuserpic {
float:left;
margin: 0px 10px 0 10px;
background-color: #edd4cc;
}

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

.sbarbody {
width: 170px;
padding: 0px 3px 0px 3px;
}

.sbarbody2 {
position: absolute;
width: 260px;
padding: 0 10px 5px 10px;
margin-left: 370px;
}

#sidebar_tags {
margin-top: -125px;
position: absolute;
width: 170px;
height: 115px;
margin-left: 190px;
overflow: auto;
}

#sidebar_tags a{
display:block;
font-family: "georgia", Helvetica, sans-serif;
font-size: 12px;
}

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 {
padding: 5px 3px 5px 5px;
list-style: none;
background-color: ;
background-image: url();
background-repeat: no-repeat;
border-bottom: 1px #eeeeee solid;
}

li.sbaritem a{
font-family: "georgia", Helvetica, sans-serif;
font-size: 20px;
}

li.sbaritem:hover {
font-family: "georgia", Helvetica, sans-serif;
font-size: 20px;
}

li.sbartitle {
width: 190px;
list-style: none;
margin-top: 0px;
margin-left: -3px;
text-align: left;
font-weight: normal;
padding: 10px 5px 10px 15px;
color: #ffffff;
font-family: "arial" Helvetica, sans-serif;
font-size: 8pt;
background: #000000;
border-bottom: 3px solid #f1f1f1;
border-top: 3px solid #f1f1f1;
text-transform: uppercase;
letter-spacing: 0px;
display: none;
}

ul.ljtaglist li {
padding: 0px;
margin: 5px;
list-style: decimal-leading-zero;
list-style-position: outside;
}

.nav a {border-bottom: 0px solid #e6dcd6; border-top: 0px solid #e2e7e1; color: #9f8449; display: inline; font-family: georgia; font-size: 14pt; text-transform: lowercase; padding: 3px; }
.nav a:hover {color: #9f8449; text-decoration: none;}
.nav br {display: none;}

/* header, footer */

#header {
width: auto;
padding-top: 8px;
padding-bottom: 2px;
text-transform: lowercase;
border-top: 0x solid #1c1c1c;
text-align: center;
letter-spacing: 0px;
border-bottom: 0px solid #000000;
background: #40C0CB;
font-size: 12pt;
font-family: "arial" Helvetica, sans-serif;
font-weight: none;
color: #ff8a00;
display: ;
}

#footer {
width: auto;
margin: 0 0 0px 0;
padding: 0px;
text-align: right;
text-transform: lowercase;
letter-spacing: 1px;
border-bottom: 0px solid #ffb1c2;
background-image: url('');
background-repeat: repeat;
border-top: 0px solid #1c1c1c;
font-size: 10pt;
color: #e2e7e1;
z-index: 100;
clear: both;
font-family: "arial" Helvetica, sans-serif;
}

div#header a, div#header a:link, div#header a:visited {
font-family: "arial" Helvetica, sans-serif;
font-weight: none;
color: #D1E751;
font-size: 12pt;
padding: 5px 5px 5px 28px;
text-transform: lowercase;
border-top: 0px solid #bebebe;
border-bottom: 0px solid #bebebe;
background-image: url();
background-repeat: no-repeat;
}

div#footer a, div#footer a:link, div#footer a:visited {
font-family: "arial" Helvetica, sans-serif;
color: #ea8e7b;
font-size: 8pt;
padding: 0px 3px 3px 3px;
text-transform: uppercase;
border-top: 0px solid #d3e2eb;
();
background-repeat: no-repeat;
}

div#header a:hover {
font-family: "arial" Helvetica, sans-serif;
font-weight: none;
color: #ffffff;
font-size: 12pt;
padding: 5px 5px 5px 28px;
text-transform: lowercase;
border-top: 0px solid #bebebe;
border-bottom: 0px solid #bebebe;
}

div#footer a:hover {
font-family: "arial" Helvetica, sans-serif;
color: #000000;
font-size: 8pt;
padding: 3px 3px 3px 3px;
text-transform: uppercase;
border-top: 0px solid #000000;
border-bottom: 0px solid #000000;
}

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

ul.navheader li {
display: inline;
}

ul.navheader li a:hover {
color: #c58c35;
}

div#header li.view {
font-size: 12pt;
color: #ffffff;
font-weight: none;
text-transform: lowercase;
padding: 5px 5px 5px 5px;
border-right: 0px solid #f1c3a7;
border-top: 0px solid #e2e7e1;
border-bottom: 0px solid #e2e7e1;
}

div#footer li.viewing {
font-size: 12pt;
padding: 5px 5px 5px 5px;
background-color: #e2e7e1;
border-top: 5px solid #e9aab7;
border-bottom: 5px solid #e9aab7;
}

#footer .viewing {
display:none;
}

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

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

.clearfoot {
display: none;
clear: both;
}

/* title, substitle */

.title {
display: none;
margin-top: 0px;
padding: 5px;
text-align: center;
color: #24afd2;
font-family: "georgia", sans-serif;
font-size: 30pt;
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: #e2a693;
font-size: 8pt;
text-transform: lowercase;
font-weight: ;
}

/* subcontent, entry */
.subcontent {
padding: 5px;
margin: 0px 0px 0px 0px;
border-bottom: 0px solid #cccccc;
background: #ffffff;
}

.entry{
padding: 20px 20px 20px 20px;
color: #4F4F4F;
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: right;
padding: 10px;
margin-right: 10px;
margin-left: 10px;
margin-top: 10px;
z-index: 15;
background-color: #ffffff !important;
margin-left: 0px !important;
border: 0px solid #d4d4d4;
background-image: url('');
background-repeat: repeat;
border: 0px solid #f7f7f7;
}

.userpicfriends {
position: relative;
float: right;
background-color: #ffffff !important;
padding: 10px;
margin-right: 10px;
margin-left: 10px !important;
margin-top: 10px;
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:#ea8e7b; padding:5px; border-width: 3px;
border-color: #ea8e7b;
border-style: solid;
width: 75px;
height: 75px;}

.userpicfriends font {
color: #d6d5d5 !important;
text-transform: uppercase;
}

.userpicfriends {font-size: 3; align: left;}

.userpicfriends a{ display: ;}

.userpicfriends br {
display: block;
height: 0;
}

/* date, subject, comments, currents */

.date{
border-top: 0px solid #1c1c1c;
border-right: 0px solid #eeeeee;
border-left: 0px solid #eeeeee;
background: #ffffff;
padding-top: 10px;
text-align: left;
padding-left: 10px;
top: 2px;
color: #d5cccc;
font-family: "arial" Helvetica, sans-serif;
font-size: 8pt;
border-bottom: 0px solid #f1f1f1;
text-transform: lowercase;
display: ;
}

.subject {
padding-left: 10px;
margin-bottom:0px;
padding-top:5px;
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: #f5f5f5;
font-family: georgia;
font-size: 12pt;
text-transform: uppercase;
letter-spacing: 0px;
background-image: url('');
background-repeat: no-repeat;

}

.subject a, .subject a:link, .subject a:visited {
font-family: georgia;
color: #ea8e7b;
text-transform: uppercase;
}

.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: #e3c0b5;
font-size: 8pt;
text-transform: lowercase;
font-weight: light;
}

.currentlocation a:hover, .ljtags a:hover {
color: #000000;
font-size: 8pt;
font-weight: light;
text-transform: lowercase;
}

.currentlocation {
padding-left: 20px;
height: 18px;
background: url('http://i28.tinypic.com/2ng554l.png') 1px 1px no-repeat;
}

.currentmood {
padding-left: 20px;
height: 18px;
background: url('http://i32.tinypic.com/1444nbn.png') 1px 1px no-repeat;
}

.currentmusic {
padding-left: 20px;
height: 18px;
background: url('http://i30.tinypic.com/2u5t7nt.png') 1px 1px no-repeat;
}

.currentgroups {
padding-left: 20px;
height: 18px;
background: url('http://i43.tinypic.com/x9kir.jpg') 1px 1px no-repeat;
}

.comments {
margin-left: -20px;
font-family: "arial", sans-serif;
font-size: 8pt;
text-align: left;
font-weight: none;
padding: 8px;
position: relative;
top: 0px;
background: #ffffff;
border-top: 10px solid #ffffff;
text-transform:lowercase;
letter-spacing: 1px;
}

div.comments a, div.comments a:link, div.comments a:visited {
font-family: "arial", sans-serif;
color: #e3c0b5;
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: transparent;
background-image: url('');
background-repeat: repeat-x;
height: 10px;
}

.clearfoot {
display: none;
}

/* comment page */

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

.userpiccomment {
position: relative;
top: -10px;
padding: 4px;
margin: 0px 10px -20px 0px;
z-index: 15;
float: left;
height: 100px;
width: 100px;
background:#d5b1a5;
}

.box {
clear: left;
color: #242424;
}

input, textarea {
background-color: #ffffff;
padding: 3px;
font-size: 10px;
font-family: "Georgia", sans-serif;
color: #ff6c00;
border: 1px solid #cccccc;
}

textarea.textbox {
width: 100% !important;
border: 1px solid #cccccc;
}

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

.replytosubject {
font-weight: bold;
}

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

.commentbox {
padding: 10px;
margin: 10px;
background-color: #ffffff;
}

.commentboxpartial {
padding: 10px;
margin: 10px;
background-color: #ffffff;
}

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

.skiplinks {
text-align: center;
padding: 10px;
color: #ffffff;
background-color: #ffffff;
}

/* tiny icons */

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;
}

sidebar

Previous post Next post
Up