Skip to content

Instantly share code, notes, and snippets.

@esquifit
Created October 12, 2009 09:30
Show Gist options
  • Save esquifit/208287 to your computer and use it in GitHub Desktop.
Save esquifit/208287 to your computer and use it in GitHub Desktop.
Companion stylesheet for userscript "Autoupdate Injecter"
#foo{
position:fixed;
z-index: 9000;
top:0%; bottom: 0%; left:0%; right:0%;
border-style: solid;
border-color: rgb(200,200,200);
border-width: 5px;
background-color: rgba(100,100,100,.9);
}
#foo * {
color: white;
text-decoration: none;
text-align: left;
font-size: 12pt;
font-family: Courier;
font-weight: normal;
line-height:normal;
font-variant: normal;
font-style: normal;
font-size-adjust: none;
}
#foo h4.close{
text-align: center;
text-decoration: none;
border:none;
margin:0.5em;
margin-top:10%;
}
#foo a.close{
text-decoration: underline;
}
#foo > div.border{
background-color: rgb(0,100,100);
border-style: solid;
border-color: black;
border-width: 3px;
-moz-border-radius: 10px;
display: block;
position:absolute;
top:25%; bottom:10%; left:20%; right:20%;
max-height:40%;
padding:2px;
padding-right:10px;
}
#foo div.container{
background-color: rgb(0,100,100);
position:relative;
display: block;
max-height:100%;
overflow-y: auto;
}
#foo div.container > h3{
text-align: center;
font-weight: bold;
border:none;
margin:0.5em;
}
#foo div.container > ul > li{
list-style-image: none;
list-style-type: circle;
margin: 0pt;
}
#foo div.container > ul{
line-height: 1em;
margin: 1em;
padding: 0pt;
}
#foo div.container > ul > li > a{
color: rgb(200,200,200);
font-weight: bold;
}
#foo div.container > ul > li > a:hover{
color: rgb(100,200,100);
}
#foo div.container > ul > li > a:visited{
color: rgb(100,100,200);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment