Tuesday, March 1, 2016

[META] Subreddit style bug + a fix


The warning for not being able to vote on archived posts has invisible text (white on white): http://ift.tt/1Qj4ZWl's a CSS fix to make it look like this: http://ift.tt/1TO15II Apply the background to the pop-up modal. */ .modal-content { background: #031D2D url('http://ift.tt/1IWfMkN') 50% 50% no-repeat; background-size: cover; } /* Hide the image but maintain the height. */ .modal-content img.interstitial-image { visibility: hidden; } /* Making the text stand out a little with some shadow. */ .modal-content .interstitial-message { text-shadow: 1px 1px 1px #212121; } /* The button's default state. */ .modal-content .buttons .c-btn-primary { background-color: rgba(0,0,0,0.5); border-bottom: 2px solid #000; color: #FFF !important; } /* The button's hover and focus states. */ .modal-content .buttons .c-btn-primary:hover, .modal-content .buttons .c-btn-primary:focus { background: rgba(0,0,0,0.7); border-bottom-color: #616161; } /* Making the backdrop darker for added effect. */ .modal-backdrop.in { opacity: 0.8; } (Note that this uses the image from this submission: http://ift.tt/1TO15IK).

No comments:

Post a Comment