Skip to content

Instantly share code, notes, and snippets.

@StephenRadachy
Created December 22, 2014 19:07
Show Gist options
  • Save StephenRadachy/6d3c80ab046bd5937536 to your computer and use it in GitHub Desktop.
Save StephenRadachy/6d3c80ab046bd5937536 to your computer and use it in GitHub Desktop.
ffnewtab
@-moz-document url(about:newtab)
{
/* Fix cell sizing. Note: you may need to play around with the values for different numbers of rows and columns */
/* Currently it works for 3 rows x 4 columns */
.newtab-cell { width: 19% !important; height: 25% !important; }
/* Fix grid sizing */
#newtab-grid { max-height: none !important; max-width: none !important; overflow: auto !important; margin: 50%; }
/* Hide unnecessary elements */
#newtab-search-container, #newtab-search-logo, #newtab-margin-top, #newtab-margin-bottom, #newtab-intro-what, .newtab-side-margin, #newtab-customize-button, .newtab-undo-container { display:none !important; }
}
#newtab-scrollbox {
margin: auto !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment