Skip to content
Snippets Groups Projects
Commit 9c7d77f6 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

top bar: Fix stylesheet for mobile devices

parent 379e7e5d
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,6 @@ a {
top: 0;
left: 0;
width: 100%;
min-width: 600px;
z-index: 99999;
background-color: #262626;
color: #fff;
......@@ -25,11 +24,11 @@ a {
.swh-top-bar ul {
margin: 0;
margin-top: 6px;
margin-left: 77px;
white-space: nowrap;
}
.swh-top-bar li {
display: inline;
display: inline-block;
margin-left: 10px;
margin-right: 10px;
}
......@@ -43,15 +42,20 @@ a {
.swh-top-bar a.swh-current-site:visited {
color: #e20026;
}
.swh-donate-item {
position: absolute;
right: 0;
}
.swh-donate-link {
border: 1px solid #fecd1b;
background-color: #e20026;
color: white !important;
border-radius: 3px;
margin-top: -2px;
margin-right: 10px;
padding-top: 1px;
padding-top: 3px;
padding-left: 3px;
padding-right: 3px;
padding-bottom: 2px;
padding-bottom: 3px;
}
......@@ -12,8 +12,8 @@
<li>
<a class="swh-current-site" href="https://docs.softwareheritage.org/devel/">Documentation</a>
</li>
<li>
<a class="swh-donate-link" style="float: right" href="https://www.softwareheritage.org/donate/">Donate</a>
<li class="swh-donate-item">
<a class="swh-donate-link" href="https://www.softwareheritage.org/donate/">Donate</a>
</li>
</ul>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment