Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- create the file
- $LOCATION_OF_YOUR_FIREFOX_PROFILE/chrome/userContent.css
- and put the following into it:
- */
- @-moz-document domain(news.ycombinator.com) {
- a, .votearrow
- {
- transition: box-shadow 0.25s ease-in-out,
- color 0.125s ease-in-out,
- text-shadow 0.25s ease-in-out,
- border 0.125s ease-in-out,
- background 0.125s ease-in-out;
- }
- table
- {
- border-collapse: separate;
- border-spacing: 0;
- width: 100%;
- }
- .athing,
- .fatitem td
- {
- border: 1px groove hsl(60, 5%, 84%) !important;
- background: linear-gradient(hsl(60, 5%, 94%) 0%, hsl(60, 5%, 91%) 100%) !important;
- padding: 0.125em 0.5em !important;
- border-radius: 0 !important;
- box-shadow: inset 1px 1px 1px hsl(60, 5%, 99%),
- inset -1px -1px 2px hsl(60, 5%, 88%),
- 1px 1px 2px hsla(0, 0%, 0%, 0.1) !important;
- margin: 0;
- }
- .fatitem td[colspan="2"],
- .fatitem td[align="right"]
- {
- border: none !important;
- background: none !important;
- padding: none !important;
- border-radius: 0 !important;
- box-shadow: none !important;
- }
- tr.athing + tr
- {
- font-size: 1.1em !important;
- background: linear-gradient(hsl(60, 5%, 94%) 0%, hsl(60, 5%, 91%) 100%) !important;
- border-radius: 0 !important;
- box-shadow: inset -1px -1px 1px hsl(60, 5%, 92%),
- inset -1px 0px 1px hsl(60, 5%, 98%),
- 1px 1px 2px hsla(0, 0%, 0%, 0.1) !important;
- margin: 0;
- }
- tr.athing + tr td
- {
- padding-top: 0.25em !important;
- padding-bottom: 0.25em !important;
- }
- tr.spacer,
- tr[style="height:10px"]
- {
- display: none !important;
- }
- .comment
- {
- width: 50em;
- font-size: 1.2em;
- border: 1px groove hsl(60, 10%, 78%);
- background: linear-gradient(hsl(60, 10%, 97%) 0%, hsl(60, 10%, 93%) 100%);
- margin: 0 0 .15em 0;
- padding: 0.5em 2em;
- border-radius: 0.2em;
- box-shadow: inset 1px 1px 1px hsl(60, 10%, 99%),
- inset -1px -1px 2px hsl(60, 10%, 88%),
- 1px 1px 2px hsla(0, 0%, 0%, 0.05);
- }
- .cdd, .cce, .cbe, .cae, .c9c, .c88, .c82, .c73, .c5a
- {
- color: #904 !important;
- }
- .cdd:before, .cce:before, .cbe:before, .cae:before, .c9c:before, .c88:before, .c82:before, .c73:before, .c5a:before
- {
- color: #ccc;
- display: block;
- font-size: 0.8em;
- }
- .cdd:before { content: "(-8) "; }
- .cce:before { content: "(-7) "; }
- .cbe:before { content: "(-6) "; }
- .cae:before { content: "(-5) "; }
- .c9c:before { content: "(-4) "; }
- .c88:before { content: "(-3) "; }
- .c82:before { content: "(-3) "; }
- .c73:before { content: "(-2) "; }
- .c5a:before { content: "(-1) "; }
- .storylink
- {
- font-size: 1.35em;
- }
- .subtext
- {
- padding: .15em 2em .25em 2em !important;
- border: none !important;
- }
- .score
- {
- font-size: 1.15em !important;
- color: #000 !important;
- }
- a[href^="item?id="]
- {
- font-size: 1.3em !important;
- }
- a
- {
- color: #34c !important;
- text-shadow: -1px -.5px .5px hsla(60, 0%, 95%, 0.75),
- -.5px -1px .5px hsla(60, 0%, 95%, 0.65),
- 1px .5px .5px hsla(220, 0%, 0%, 0.25),
- .5px 1px .5px hsla(220, 0%, 0%, 0.15);
- text-decoration: none !important;
- }
- a:hover
- {
- background: #fe0 !important;
- }
- a:visited
- {
- color: #183 !important;
- }
- .votelinks
- {
- width: 1px !important;
- }
- .votelinks a:hover
- {
- background: none !important;
- }
- .votearrow
- {
- background-image: none !important;
- margin-right: 12px !important;
- height: 16px !important;
- width: 16px !important;
- }
- .votearrow[title="upvote"]
- {
- opacity: 0.6;
- box-shadow: inset 0 0 2px #080,
- 0 0 2px #080,
- 0 0 1px #484;
- }
- .votearrow:hover[title="upvote"]
- {
- opacity: 1;
- box-shadow: inset 0 0 8px 5px #0c0,
- 0 0 3px 2px #080,
- 0 0 2px 1px #484;
- }
- .votearrow[title="downvote"]
- {
- opacity: 0.6;
- box-shadow: inset 0 0 2px #f00,
- 0 0 2px #f00,
- 0 0 1px #fcc;
- }
- .votearrow:hover[title="downvote"]
- {
- opacity: 1;
- box-shadow: inset 0 0 8px 5px #f00,
- 0 0 3px 2px #f00,
- 0 0 2px 1px #f88;
- }
- .nosee .votearrow
- {
- visibility: visible !important;
- box-shadow: inset 0 0 5px 3px #fe0,
- 0 0 3px 2px #fe0,
- 0 0 2px 1px #fe4;
- }
- font[color="#ff6600"]
- {
- font-size: 2em !important;
- background: #fe0 !important;
- color: #440 !important;
- border-radius: 1em;
- padding: 0 .25em;
- }
- form textarea, input, button
- {
- width: 100% !important;
- padding: 0.25em 1em !important;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement