Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 55 additions & 6 deletions pycon_project/static/2012/css/pycon.css
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ nav#main-nav {
right: -18px;
}
nav#main-nav ul {
overflow: hidden;
}
nav#main-nav ul li {
float: left;
Expand All @@ -588,7 +587,6 @@ nav#main-nav ul li a {
padding: 0 18px;
text-decoration: none;
color: #484746;
overflow: hidden;
position: relative;
text-shadow: 0 1px 0 #f9f2e6;
font-size:161.6%;
Expand Down Expand Up @@ -654,15 +652,20 @@ nav#main-nav ul li.sfhover ul li a, nav#main-nav ul li ul li a {
text-shadow: 0px 1px 0px #dddddd;
font-size: 93%;
font-weight: normal;
padding: 2px 15px;
padding: 6px 15px;
border: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
height:24px;
line-height:24px;
height:100%;
line-height:18px;
text-transform:none;
text-shadow:0 1px 0 #fff;
}

/* shift venue dropdown menu to the left so that it does not get cropped */
nav#main-nav ul li#tab_venue ul {
margin: -17px 0 0 -110px;
}

/* subnav rollover effects */
nav#main-nav ul li ul li a:hover {
color: #006e91;
Expand Down Expand Up @@ -2005,4 +2008,50 @@ a.btn-register:hover {
line-height: 26px;
font-size: 14px;
}

/* css3 gradient buttons from http://www.webdesignerwall.com/tutorials/css3-gradient-buttons/ */
.button {
font-family: LeagueGothicRegular, "Helvetica Neue", Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-size: 24px;
display: inline-block;
outline: none;
cursor: pointer;
text-align: center;
text-decoration: none;
padding: .25em 1em;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
-webkit-border-radius: .25em;
-moz-border-radius: .25em;
border-radius: .25em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
text-decoration: none;
}
.button:active {
position: relative;
top: 1px;
}
/* blue */
.blue {
color: #fff;
border: solid 1px #0076a3;
background: #0095cd;
background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
background: -moz-linear-gradient(top, #00adee, #0078a5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
}
.blue:hover {
background: #007ead;
background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
background: -moz-linear-gradient(top, #0095cc, #00678e);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095cc', endColorstr='#00678e');
}
.blue:active {
color: #80bed6;
background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
background: -moz-linear-gradient(top, #0078a5, #00adee);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0078a5', endColorstr='#00adee');
}