Skip to content

Commit

Permalink
website tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
vedaldi committed Jan 30, 2014
1 parent f0d0307 commit b5a6d29
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 33 deletions.
1 change: 1 addition & 0 deletions docsrc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
}
.award {
margin: 1em 0em ;
margin-left: 2em ;
width: 10em ;
font-size: 0.9em ;
text-align:center ;
Expand Down
3 changes: 3 additions & 0 deletions docsrc/vlfeat-website-template.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!DOCTYPE site PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!-- IE Standards Mode -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>

<!-- Favicon -->
<link rel="icon" href="%pathto:root;images/vl_blue.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="%pathto:root;images/vl_blue.ico" type="image/x-icon"/>
Expand Down
46 changes: 13 additions & 33 deletions docsrc/vlfeat.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@ code a {

#sidebar {
width: 920px ;
padding: 0 ;
padding: 0 30px ;
margin: 0 ;
margin-left: auto ;
margin-right: auto ;
color: white ;
// background-color: #555 ;
font-weight: bold ;
}
#sidebar a {
Expand All @@ -80,33 +79,25 @@ code a {
margin: 0 ;
padding: 0 ;
}
/* t r b l */
#sidebar ul li {
display: inline-block ;
position: relative ;
list-style-type: none ;
margin: 0em ;
margin-right: 11px ;
padding: 10px 15px 10px 15px ;
margin: 0px 11px 0px -15px ;
font-size: 14px ;
line-height: 14px ;
padding: 10px 15px 10px 0px ;
}
#sidebar ul li {
//background-color: green ;
margin-left: -15px ;
padding-left: 15px ;
}
#sidebar ul li.active {
background-color: rgb(207,122,48) ;
margin-left: -15px ;
padding-left: 15px ;
}
#sidebar ul li ul {
visibility: hidden ;
position: absolute ;
top: 34px ;
left: -1px ;
width: 225px ;
// background-color: #555 ;
background-color: #183a60 ;
}
#sidebar ul li ul li {
Expand All @@ -120,17 +111,6 @@ code a {
top: -1px ;
left: 223px ;
width: 225px ;
background-color: #183a60 ;
}
#sidebar ul li ul li {
//background-color: green ;
margin: 0 ;
padding-left: 15px ;
}
#sidebar ul li ul li.active {
background-color: rgb(207,122,48) ;
margin: 0 ;
padding-left: 15px ;
}
#sidebar li:hover > ul {
visibility: visible ;
Expand All @@ -144,10 +124,10 @@ code a {
background-color: #183a60 ;
}
#header {
width: 920px ;
max-width: 920px ;
margin-left: auto ;
margin-right: auto ;
padding: 20px 1em ;
padding: 20px 30px ;
}
#header #cse-search-box {
float: right ;
Expand Down Expand Up @@ -180,13 +160,13 @@ code a {
border-bottom: 1px solid #DDD ;
}
#headbanner {
width: 920px ;
max-width: 920px ;
margin-left: auto ;
margin-right: auto ;
padding: 7px 1em ;
padding: 7px 30px ;
color: #5a5a5a ;
font-weight: bold ;
font-size: 15px ;
font-size: 14px ;
}
#headbanner a {
text-decoration: inherit ! important ;
Expand All @@ -207,10 +187,10 @@ code a {
background-color: white ;
}
#content-wrapper {
width: 920px ;
max-width: 920px ;
margin-left: auto ;
margin-right: auto ;
padding: 0 1em ;
padding: 0 30px ;
}
#content {
overflow: hidden ;
Expand Down Expand Up @@ -321,8 +301,8 @@ code a {
#content table.boxes {
min-width: 100% ;
border-collapse: separate ;
border-spacing: 4px ;
/* margin: -13px ; */
border-spacing: 10px ;
margin: -10px ;
padding: 0em ;
box-sizing:border-box ; /* avoids exceeding 100% width */
}
Expand Down

0 comments on commit b5a6d29

Please sign in to comment.