Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @namespace url(http://www.w3.org/1999/xhtml);
- @-moz-document url("about:newtab") {
- /* background */
- #newtab-scrollbox {
- background-image: url('file:///C:/Users/Owner/Pictures/Wallpapers/Rotation/miku/1358632011964.jpg') !important;
- }
- /* containers */
- #newtab-margin-top, #newtab-margin-bottom {
- display: none !important
- }
- /* side margin */
- .newtab-side-margin {
- max-width: 20px !important
- }
- /* row margin */
- .newtab-row {
- margin: 0 !important;
- padding: 20px !important
- }
- /* the two row trick */
- #newtab-grid > .newtab-row:nth-of-type(2) {
- margin-top: 728px !important
- }
- /* override icon aspect ratio */
- .newtab-site, .newtab-cell {
- max-width: 256px !important;
- max-height: 118px !important
- }
- /* links */
- a:active { border: 0 !important }
- /* sites */
- /* shadow */
- .newtab-site {
- box-shadow: 0 0 0px rgba(0,0,0,.2) !important;
- transition: box-shadow .1s ease-in-out
- }
- .newtab-cell:hover .newtab-site {
- box-shadow: 0 0 10px #000 !important
- }
- /* opacity */
- .newtab-thumbnail {
- opacity: .75 !important;
- transition: opacity .2s linear !important
- }
- /* thumbnail transition */
- .newtab-cell:hover .newtab-thumbnail {
- opacity: 1 !important
- }
- /* title transition */
- .newtab-cell:hover .newtab-title {
- background-color: rgba(48,49,51,.9) !important;
- transition: background-color .1s ease-in-out
- }
- /* title font */
- .newtab-title {
- font: 12px/20px Sans-serif !important;
- color: #fff !important;
- text-shadow: 1px 1px 1px #000;
- background-color: rgba(48, 49, 51, .5) !important;
- border-radius: 0px 0px 4px 4px !important
- }
- /* rounded border */
- .newtab-cell, .newtab-site, .newtab-thumbnail {
- border-radius: 4px !important
- }
- /* glassy border */
- .newtab-cell {
- background: rgba(0,0,0,0.5) !important;
- box-shadow: 0 2px 6px rgba(0,0,0,1),
- inset 0 1px rgba(255,255,255,1),
- inset 0 50px 8px 0px rgba(255,255,255,0.15),
- inset 0 15px 30px rgba(255,255,255,0.5),
- inset 0 -15px 30px rgba(0,0,0,1) !important
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement