Skip to content
Open
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
15 changes: 11 additions & 4 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1512,17 +1512,18 @@ main {
}

.nav-links {
/* Fixed spacing between links */
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2ch;
padding: 0.5em 1em;
margin: 0;
background-color: rgba(0,0,0,.5);
width: 100%;
font-size: 0.8em;
line-height: 1.7;
}
.nav-links li {
display: inline-block;
margin: 0 0.5em;
}
.nav-links a {
text-transform: uppercase;
color: #9da9ea;
Expand Down Expand Up @@ -1556,6 +1557,12 @@ main {
/* responsive */

@media (max-width: 748px) {
.nav-links {
/* Fluid spacing to avoid carriage returns on mobile */
padding: 0.5em 0;
justify-content: space-around;
gap: 0.6ch;
}
.banners {
justify-content: flex-start;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)
{%- endblock %}">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1" />
<link rel="stylesheet" href="/static/style.css?v=15">
<link rel="stylesheet" href="/static/style.css?v=16">

<link rel="preload" href="/static/img/2penguins.svg" as="image" />
<link rel="preload" href="/static/img/arrow-dropdown-16.svg" as="image" />
Expand Down