Skip to content

Instantly share code, notes, and snippets.

@KonTrax
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KonTrax/91e57b34f49a38cf8418 to your computer and use it in GitHub Desktop.
Save KonTrax/91e57b34f49a38cf8418 to your computer and use it in GitHub Desktop.
KonTraBox_UnityAnswersTweaks for the Unity3D community support pages
@namespace url(http://www.w3.org/1999/xhtml);
/*
* KonTraBox_UnityAnswers
*
* FireFox :
* Use as is
*
* Chrome & others :
* 1. Apply to : "URLs on the domain" "answers.unity3d.com"
* 2. Remove / Comment out the line below ("@-moz-document...")
* 2. Remove / Comment out the last line ("}")
*/
@-moz-document domain("answers.unity3d.com") { /* Remove this line on chrome */
/** ############################## **/
/***
Begins with : a[src^="https"]
Contains : a[src*="github"]
Ends with : a[src$=".com"]
Padding / Margin:
xxx : top right bottom left;
border-radius:
xxx : top-left top-right bottom-right bottom-left;
***/
/** ############################## Page
**/
/** Page: Container **/
body > div#wrapper {
display: block;
width: auto;
margin-left: 10px;
margin-right: 10px;
}
/** Page: XXX **/
#room{
width: auto;
}
#CALeft, #CARight{
display: table-cell;
float: none;
position: static;
}
#CALeft{
width: auto;
padding-right: 10px;
}
#CARight{
}
#tail{
}
#wrapper > .spacer3{
}
/** ############################## Links
**/
/** Links: External **/
/** Links: External: General **/
/** Links: External: URLs **/
/** ############################## Post / Answer
**/
/** Post: **/
.answer-body,
.question-body {
}
/** ############################## Code
**/
/** Code: Container **/
.answer-body > pre,
.question-body > pre {
width : auto;
}
.comment-text > pre,
.answer-body > pre,
.question-body > pre {
margin: 0px;
padding: 1px;
border-top : 6px solid #C2DBFF;
border-left : 4px solid #FFB400;
border-right : 4px solid #FFB400;
border-bottom : 6px solid #C2DBFF;
}
/** Code: Block **/
code.prettyprint {
font-size: 12px;
line-height: 1.24;
}
/** Code: Line **/
code.prettyprint ol li {
border-left: 1px dotted #CCC;
padding-left: 4px;
list-style-type: inherit;
}
/** Code: Line: Hover **/
code.prettyprint ol li:hover {
background-color: #E0E0E0;
}
/** Code: Syntax: Highlight **/
code.prettyprint .kwd {
color: #FFB400;
font-weight: bold;
}
code.prettyprint .pln {
color: #009369;
font-weight: bold;
}
/** ############################## **/
} /* Remove this line on chrome */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment