Skip to content

Instantly share code, notes, and snippets.

@KonTrax
Last active August 29, 2015 14:04

Revisions

  1. KonTrax revised this gist Jul 31, 2014. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions KonTraBox_UnityAnswers.css
    Original file line number Diff line number Diff line change
    @@ -98,13 +98,17 @@ border-radius:

    /** Code: Container **/

    .answer-body > pre,
    .question-body > pre {
    width : auto;
    }

    .comment-text > pre,
    .answer-body > pre,
    .question-body > pre {
    margin: 0px;
    padding: 1px;

    width : auto;

    border-top : 6px solid #C2DBFF;
    border-left : 4px solid #FFB400;
    border-right : 4px solid #FFB400;
  2. KonTrax revised this gist Jul 31, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion KonTraBox_UnityAnswers.css
    Original file line number Diff line number Diff line change
    @@ -121,7 +121,7 @@ border-radius:
    /** Code: Line **/

    code.prettyprint ol li {
    border-left: 1px dotted #CCC;;
    border-left: 1px dotted #CCC;
    padding-left: 4px;
    list-style-type: inherit;
    }
  3. KonTrax revised this gist Jul 31, 2014. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion KonTraBox_UnityAnswers.css
    Original file line number Diff line number Diff line change
    @@ -121,7 +121,9 @@ border-radius:
    /** Code: Line **/

    code.prettyprint ol li {
    border-left: 1px dotted #CCC;
    border-left: 1px dotted #CCC;;
    padding-left: 4px;
    list-style-type: inherit;
    }

    /** Code: Line: Hover **/
  4. KonTrax created this gist Jul 31, 2014.
    148 changes: 148 additions & 0 deletions KonTraBox_UnityAnswers.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,148 @@
    @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 {
    margin: 0px;
    padding: 1px;

    width : auto;

    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;
    }

    /** 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 */