Files
I2P_Website/i2p2www/static/styles/duck/desktop.css
2015-07-19 10:20:13 +00:00

320 lines
6.0 KiB
CSS

body {
padding-top: 0.625em;
}
div#topbar {
margin: 0.625em auto 0;
}
div#topbar #logo img:hover {
filter: alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}
div#topbar .title {
/*position: absolute;*/
top:0;
right:0;
line-height:41px;
vertical-align:middle;
/*max-width: 70%;*/
text-align: right;
}
div#topbar .languages {
display: none
}
div.navigation {
position: relative
}
ul.languages {
margin: 0 2px !important
}
ul.languages li {
display: inline-block;
*display: inline;
*zoom: 1;
margin: 0 -2px !important;
}
.langname {
background: green;
display: none;
padding: 0.5em;
position: absolute;
right: 0;
text-align: center;
top: 4em;
z-index: 1;
}
/* Dropdown menu CSS */
menu ul,
#cssmenu li,
#cssmenu span,
#cssmenu div.menuitem {
margin: 0;
padding: 0;
position: relative;
}
#cssmenu {
height: 40px
}
#cssmenu:after,
#cssmenu ul:after {
content: '';
display: block;
clear: both;
}
#cssmenu div.menuitem {
color: #d00e0e;
display: inline-block;
font-family: "URW Gothic L", "Century Gothic", sans-serif;
font-size: 1.25em;
font-weight: bold;
text-shadow: 1px 1px 1px rgba(100,20,20,.2);
line-height: 40px;
padding: 0 10px;
text-decoration: none;
}
#cssmenu ul {
list-style: none
}
#cssmenu > ul {
float: left;
padding: 0 10%;
}
#cssmenu > ul > li {
float: left
}
#cssmenu > ul > li.right {
position: absolute;
right: 10%;
}
#cssmenu > ul > li:hover:after {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
left: 50%;
bottom: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid #abcc71;
margin-left: -10px;
}
#cssmenu > ul > li > div.menuitem {
border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
}
#cssmenu > ul > li.active > div.menuitem {
box-shadow: inset 0 0 3px #000000;
-moz-box-shadow: inset 0 0 3px #000000;
-webkit-box-shadow: inset 0 0 3px #000000;
background: #070707;
background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#26262c', EndColorStr='#070707', GradientType=0);
}
#cssmenu .has-sub {
z-index: 1
}
#cssmenu .has-sub:hover > ul {
display: block
}
#cssmenu .has-sub ul {
display: none;
position: absolute;
width: 200px;
top: 100%;
left: 0;
}
#cssmenu .has-sub ul li {
border-left: 1px solid #ffffcc
}
#cssmenu .has-sub ul li.has-sub > div.menuitem:after {
content: "►";
color: rgba(255,255,255,.5);
float: right;
}
#cssmenu .has-sub ul li div.menuitem {
background: #abcc71;
border-bottom: 1px dotted #ffffcc;
color: #ffffff;
font-size: 9pt;
display: block;
line-height: 120%;
padding: 10px;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
#cssmenu .has-sub ul li div.menuitem:hover .langname {
display: block
}
#cssmenu .has-sub ul li:hover > div.menuitem,
#cssmenu .has-sub ul li:hover > a > div.menuitem {
background: #8bbc51
}
#cssmenu .has-sub .has-sub:hover > ul {
display: block
}
#cssmenu .has-sub .has-sub ul {
display: none;
position: absolute;
left: 100%;
top: 0;
}
#cssmenu .has-sub .has-sub ul li:first-child {
border-left: none
}
/* End of dropdown menu CSS */
/**
* The .main class is for content wrapper on the home page (with the big banner)
*/
div#content .main {
padding: 4em 35% 4em 10%;
}
.main .get-i2p {
position: absolute;
right: 10%;
margin-top: -1em;
max-width: 20%;
-moz-transform: rotate(-5deg);
transform: rotate(-5deg);
-webkit-transform: rotate(-5deg);
-ms-transform: rotate(-5deg);
-o-transform: rotate(-5deg);
}
.main .get-i2p:hover {
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3), inset 0 -2.2em 2.2em rgba(255, 255, 255, 0.3), inset .2em .5em 1em 0em rgba(0,0,0,.3)
}
div#content .aside {
width: 30.9%;
margin-left: 3%;
font-size: 0.875rem;
}
div#content .aside:first-child {
margin-left: 0%
}
/**
* The .inner class is for the content wrapper on inner pages (as opposed to the home page)
*/
div#content .inner .fluid {
background-image: url('images/bg-sidebar.png');
background-repeat: repeat-y;
border-left: 1px solid #abcc71;
margin-left: 0.625rem;
}
div#content .inner .sidebar {
border-radius: 0 0 10px 0;
border-right: 1px solid #abcc71;
float: left;
width: 250px;
}
div#content .content-inner {
margin-left: 252px;
padding-right: 4em;
}
div#content > .title {
display: none
}
/* CSS for downloads list */
.package {
overflow: hidden
}
.package .os {
float: left;
width: 20%;
}
.package .details {
float: right;
width: 80%;
}
.file {
float: left;
width: 40%;
}
.file > a:hover {
box-shadow: 1px 1px 1px 1px rgb(51, 51, 51) inset
}
.details .hash {
float: right;
overflow: auto;
width: 50%;
}
.details > p,
.details > ol {
clear: both
}
.filedownload {
margin-left: 29%
}
/* End of downloads list CSS */
#global-footer .aside {
width: 15%;
margin-left: 1%;
}
#global-footer .aside.first {
margin-left: 0
}
#global-footer .aside.third,
div##global-footer .aside.fifth {
margin-left: 2.5%
}