1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-25 03:32:02 +02:00

Tweaks top nav bar display on smaller screens (less content)

This commit is contained in:
Ryan L McIntyre 2017-09-25 02:22:17 -04:00
parent e0616698bb
commit be2220386e
2 changed files with 6 additions and 4 deletions

View File

@ -340,11 +340,12 @@ nav ul li:hover, nav ul li.active {
}
}
li.p-downloads a:after { content: ' Downloads'; }
/* mid size (tablets, landscapes) */
@media only screen and (max-width: 679px) {
nav { font-size:11px; }
nav { font-size:10px; }
li.p-downloads a:after { content: ''; }
nav ul li {
min-width:60px;
line-height:40px;
@ -359,7 +360,8 @@ nav ul li:hover, nav ul li.active {
/* tiny size (phones) */
@media only screen and (max-width: 380px) {
nav ul li { min-width:90px; line-height:20px; }
nav ul li { min-width:initial; line-height:20px; }
li.p-downloads a:after { content: ''; }
.section:first-of-type {
padding-top: 70px;
}

View File

@ -1,5 +1,5 @@
---
title: "Font Downloads"
title: "Fonts"
bg: '#3484bb'
color: white
fa-icon: download