Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Bring back the 'Fork me' ribbon, but only for large displays #15

Merged
merged 1 commit into from
Oct 24, 2013
Merged
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,13 @@ ul.menu li>ul {
padding: 6px 12px;
border: none;
}

@media (min-width: 992px) {
img.ribbon {
display: inline !important;
position: absolute;
top: 0;
right: 0;
border: 0;
}
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</head>

<body class="container">
<a href="//github.com/mozilla/rust"><img class="ribbon" style="display: none" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<ul class="row menu">
<li class="col-xs-2 col-md-2">
<img class="img-responsive" src="logos/rust-logo-128x128-blk-v2.png" height="128" width="128" alt="Rust logo" />
Expand Down