Skip to content

Commit

Permalink
bring back smooth scrolling on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuther committed Sep 6, 2017
1 parent 1baf071 commit 1271a60
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions theme.css
Expand Up @@ -9,6 +9,7 @@ html, body {
height: 100%;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
}

#the_page {
Expand All @@ -34,6 +35,11 @@ html, body {
}
}

#thePicturePage #content-spacer { padding-top: 80px; }
#theCategoryPage #content-spacer { padding-top: 20px; }
#theCategoryPage { padding-left: 0px !important; }
#theCategoryPage h4.title { line-height: 1.2em;}

/* Jumbotron */
.jumbotron {
border-radius: 0;
Expand All @@ -45,10 +51,6 @@ html, body {


/* Navigation */
.affix {
top: 0px;
width: 100%;
}
.navbar {
width: 100%;
padding: 0 1rem;
Expand Down Expand Up @@ -88,6 +90,8 @@ html, body {
margin-bottom: 5px;
}

#identificationDropdown .dropdown-menu { min-width: 12rem; }

@media (min-width: 768px) {
#navbar-menubar>#quicksearch {
float: left;
Expand All @@ -97,9 +101,6 @@ html, body {
}
}
@media (min-width: 992px) {
.navbar {
left: auto;
}
#navbar-menubar>#quicksearch input[type="text"] {
width: 150px;
}
Expand Down Expand Up @@ -131,11 +132,6 @@ html, body {
z-index: 101;
}

#thePicturePage #content-spacer { padding-top: 80px; }
#theCategoryPage #content-spacer { padding-top: 20px; }
#theCategoryPage { padding-left: 0px !important; }
#theCategoryPage h4.title { line-height: 1.2em;}

/* replace the home link in navbar */
.navbar-brand a:first-child {
font-size: 0;
Expand Down

0 comments on commit 1271a60

Please sign in to comment.