Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nfreear/968261 to your computer and use it in GitHub Desktop.
Save nfreear/968261 to your computer and use it in GitHub Desktop.
User-style: Accessibility for Twitter, yellow-black / 2008
/*<RDF:Description RDF:about="rdf:#$LTa1y3"
xmlns:stylish="urn:stylish#"
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
stylish:global="false"
stylish:namespace="http://www.w3.org/1999/xhtml"
stylish:domain="twitter.com"
stylish:description="Twitter yellow-black"
stylish:neverUpdate="false"
stylish:customized="true"
stylish:enabled="false">
<stylish:code>*/
/*
Accessibility for Twitter, white/yellow on black.
Requires Stylish extension for Firefox.
Copyright N.D.Freear 13 March 2008.
*/
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain(twitter.com) {
/* url-prefix(http://twitter.com), url-prefix(https://twitter.com), url-prefix(http://help.twitter.com) {*/
body * { background: transparent !important; }
input[type=text], textarea, select { background: #eee !important; color: #000 !important; }
/* trying to phase out the "flatbutton" style and just have all buttons default to the same style */
/*
input.submit, button, input[type=submit], input[type=button], input[type="file"] &gt; input[type="button"]
{ background-color: #E6E6E6 !important; border: 1px solid #ccc !important; }
input.submit:hover, button:hover, input[type=submit]:hover, input[type="file"] &gt; input[type="button"]:hover
{ background: #999 !important; }
*/
input[type="password"] {
background: #fff !important;
}
body {
background: #000 !important;
color: #ff8 !important;
font-size: 1.05em !important;
padding-top: .9em !important;
}
.tour { border: 3px solid #222 !important; }
#side, .complete, #security { border: 1px solid #666 !important; }
#side .section-header { border-bottom: 1px solid #666 !important; }
h1, .teaser, #security { color: #ff8 !important; }
p.entry-title { font-size: 1.4em !important; }
#accessibility {
position: static !important;
overflow: hidden !important;
width: 0;
height: 0;
}
#accessibility a:focus {
position: absolute !important;
overflow: visible !important;
top: 0;
left: 0;
padding: 1px;
border: 1px solid #888 !important;
}
a {
color: #9bf !important;
}
a:hover, a:focus /* a:active */ {
background: #444 !important;
color: #fff !important;
text-decoration: underline;
}
#__header { background: #090909 !important; }
a *, img {
background: transparent;
color: #fff !important;
}
} /*</stylish:code>
</RDF:Description>*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment