Skip to content

Commit

Permalink
fix swcarpentry/styles#4 github ribbon position
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Michonneau committed Feb 5, 2015
1 parent a13e7bb commit 3acb561
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions css/swc.css
Original file line number Diff line number Diff line change
Expand Up @@ -678,16 +678,13 @@ div.chapter h2 {
width: 150px;
overflow: hidden;
height: 150px;
-webkit-box-sizing: unset;
-moz-box-sizing: unset;
box-sizing: unset;
}
#github-ribbon a {
width: 200px;
position: absolute;
padding: 5px 40px;
top: 40px;
right: -80px;
right: -40px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
Expand Down

0 comments on commit 3acb561

Please sign in to comment.