Skip to content

Commit

Permalink
navbar & links
Browse files Browse the repository at this point in the history
* input from @r-gaia-cs
* links on hover: darker & underline
* move search bar to bottom on collapse
  • Loading branch information
Abigail Cabunoc committed Jan 19, 2014
1 parent fcc64ac commit 72a9a32
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 8 additions & 4 deletions swc-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
.navbar .container {
background-color: inherit;
font-size:11pt;
padding:27px 10px 10px 10px;
padding:27px 10px 0px 10px;
background:url('../img/software-carpentry-banner.png') no-repeat;
background-size: 250px;
background-position: 10px 10px;
height:40px;
height:50px;
}

.navbar-inner {
Expand Down Expand Up @@ -110,6 +110,10 @@ blockquote p {
}

@media (max-width: 979px){
.navbar-inverse .nav-collapse ul{
margin:20px 0 0;
}

.navbar-inverse .nav-collapse .nav > li > a {
text-transform: uppercase;
font-size: 12pt;
Expand All @@ -118,10 +122,11 @@ blockquote p {
.navbar-inverse .nav-collapse .navbar-search {
text-align: center;
border-top:1px solid #AAA;
margin:0;
}

.navbar-inverse .nav-collapse .navbar-search .search-query {
margin:10px 0 0;
margin:10px 0;
}

.navbar-inverse .nav-collapse .nav > li {
Expand Down Expand Up @@ -166,7 +171,6 @@ blockquote p {
.navbar .container {
background-size: 200px;
background-position: 10px 20px;
height:40px;
}

#nav-logo {
Expand Down
8 changes: 6 additions & 2 deletions swc.css
Original file line number Diff line number Diff line change
Expand Up @@ -376,15 +376,19 @@ h5 a:hover,
h4 a:hover,
h3 a:hover {
color:#C26D17;
text-decoration: none;
}

a {
color:#3E51CF;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
}

a:hover {
color:#C26D17;
text-decoration: none;
color:#965412;
}

footer {
Expand Down

0 comments on commit 72a9a32

Please sign in to comment.