1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
| .sidebar {
width: 125px;
float: left;
padding: 10px 10px 0 10px;
margin: 0 0 0 25px;
{block:IfSidebarBackground}
background:#FFF;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
-ms-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
-o-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
box-shadow: 0 1px 3px rgba(0,0,0,0.25);
{/block:IfSidebarBackground}
{block:IfNotSidebarBackground}
color: {color:Sidebar Text};
{/block:IfNotSidebarBackground}
{block:IfFixedElements}
position: fixed;
{/block:IfFixedElements}
}
.sidebar img {
max-width: 100%;
}
.sidebar h1 {
margin: 0;
font-size: 20px;
text-transform: uppercase;
letter-spacing: 1px;
/*{block:IfNotSidebarBackground}*/
color: {color:Sidebar Text};
/*{/block:IfNotSidebarBackground}*/
}
.sidebar #links {
/*{block:IfSidebarBackground}*/
border-top: 1px solid {color:Link};
border-bottom: 1px solid {color:Link};
/*{/block:IfSidebarBackground}*/
/*{block:IfNotSidebarBackground}*/
border-top: 1px solid {color:Sidebar Text};
border-bottom: 1px solid {color:Sidebar Text};
/*{/block:IfNotSidebarBackground}*/
margin-bottom: 15px;
}
.sidebar h2 {
margin: 0;
font-size: 12px;
text-transform: uppercase;
padding: 5px 0;
{block:IfSidebarBackground}
border-top: 1px solid {color:Link};
border-bottom: 1px solid {color:Link};
color: {color:Link};
{/block:IfSidebarBackground}
{block:IfNotSidebarBackground}
border-top:1px solid {color:Sidebar Text};
border-bottom:1px solid {color:Sidebar Text};
color: {color:Sidebar Text};
{/block:IfNotSidebarBackground}
-webkit-transition: all .2s ease-out;
-moz-transition: all .2s ease-out;
-o-transition: all .2s ease-out;
transition: all .2s ease-out;
}
.sidebar h2 a, .sidebar h2 a:hover, .sidebar h2 a:active, .sidebar h2 a:visited {
{block:IfSidebarBackground}
color: {color:Link};
{/block:IfSidebarBackground}
{block:IfNotSidebarBackground}
color: {color:Sidebar Text};
{/block:IfNotSidebarBackground}
text-decoration:none;
}
.sidebar h2:hover {
padding-left: 5px;
border-right: 4px solid {color:Link};
-webkit-transition: all .2s ease-out;
-moz-transition: all .2s ease-out;
-o-transition: all .2s ease-out;
transition: all .2s ease-out;
}
.sidebar #field {
background: #FFF;
width: 115px;
padding: 5px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
outline:none; |
Partager