eric6/UI/data/documentViewerStyle.css

Sat, 07 Sep 2019 17:35:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 07 Sep 2019 17:35:43 +0200
branch
without_py2_and_pyqt4
changeset 7223
2d58b9c1a981
parent 6942
2602857055c5
child 7236
11600f56e056
permissions
-rw-r--r--

Closed branch after it was merged into 'default'.

/*
 * This style definition is based on the style sheet file of Spyder.
 */
 
body {
    background-color: white;
    color: rgb(51, 51, 51);
    margin: 0px 10px 10px 10px;
}


/* --- Title style --- */
div.title h1 {
    font-size: 130%;
    font-family: 'Trebuchet MS', sans-serif;
    background-color: #85774A;
    background-image: -webkit-gradient(
        linear,
        0 0,
        0 100%,
        from(#85774A),
        color-stop(60%, #b9a567),
        to(#e1c87d)
    );
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    font-weight: normal;
    padding: 6px 0px 6px 20px;
    margin: 0px -25px;
    color: #FFFFFF;
}

/*
 * The next two styles are needed to
 * modify the anchors present on the
 * title of pages like scipy.stats or
 * scipy.io
 */
div.title h1 a {
    color: transparent;
    cursor: default;
}

div.title h1 tt {
    font-size: 95%;
    background-color: transparent;
    color: #FFFFFF;
}


/* --- Metadata style --- */
div.metadata {
    margin-top: 10px;
    margin-bottom: 15px;
    margin-right: 1px;
    padding: 1px;
    background-color: #fff4d8;
    border: 1px solid #C9C9C9;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 1px 1px 7px #CACACA;
}

div.metadata p {
    margin: 7px 0px 7px 10px;
}

span.def {
    font-family: monospace;
    font-size: 90%;
}

span.argspec-highlight {
    color: blue;
    font-size: 110%;
    font-weight: 900;
}


/* --- Docstring div style --- */
div.docstring {
    margin-top: -1px;
}

div.docstring p {
    padding: 0px 2px 0px;
}


/* --- Headers style --- */
h2, h3, h4 {
    font-family: 'Helvetica', sans-serif;
    color: rgb(49, 126, 172);
    margin-top: 20px;
    margin-bottom: 10px;
}

h2 {
    font-size: 120%;
    font-weight: normal;
    border-bottom: 1px solid rgb(220, 220, 220);
    padding: 4px 0px 4px 0px;
}

h3 {
    font-size: 110%;
}

h4 {
    font-size: 100%;
    margin-top: 14px;
    font-weight: normal;
}

dl.docutils {
    padding: 0px 10px 0px;
}

div.section p {
    padding: 0px 2px 0px;
}

#warning {
    margin-top: 5px;
    background-color: #FFE4E4;
    border: 1px solid #F66;
    padding: 4px 8px 4px 8px;
    text-align: center;
}

#doc-warning {
    margin-top: 16px;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    color: rgb(185, 74, 72);
    background-color: rgb(242, 222, 222);
    border: 1px solid rgb(238, 211, 215);
    border-radius: 4px 4px 4px 4px;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 105%;
}


/* --- Links --- */
a {
    text-decoration: none;
    color: rgba(40, 130, 180, 1);
}

a:hover {
    text-decoration: underline;
}


/* --- Images --- */
img {
    box-shadow: 0px 2px 6px #cacaca;
    border: 1px solid #c9c9c9;
}

img.align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* --- Lists style --- */
ol.arabic {
    margin-left: -10px;
}

ul {
    margin-left: -5px;
}

/* --- Literal blocks style --- */
pre.literal-block {
    padding-left: 35px;
    font-size: 95%;
}


/* --- Docutils table style --- */
table.docutils {
    border-collapse: collapse;
    border-spacing: 0;
    border: #DDDDDD;
    margin-left: auto;
    margin-right: auto;
    margin-top: 17px;
    margin-bottom: 17px;
    width: 90%;
}

table.docutils td {
    padding: 5px;
}

table.docutils tr.row-odd {
    background-color: rgb(249, 249, 249);
}


/* --- Docutils table headers --- */
table.docutils th {
    background-color: #EEEEEE;
    border-bottom-color: #DDDDDD;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-color: #DDDDDD;
    border-top-style: solid;
    border-top-width: 1px;
    font-weight: bold;
    text-align: center;
    padding: 6px 0px 6px 8px;
    color: rgb(65, 65, 65);
}


/* --- Field-list table style --- */
table.docutils.field-list {
    font-size: 80%;
    border-collapse: collapse;
    border-left: transparent;
    border-right: transparent;
    margin-top: 15px;
    margin-left: 40px;
    width: 83%;
}


/* --- Field-list table headers --- */
table.docutils.field-list th {
    background-color: transparent;
    border-top: transparent;
    border-bottom: transparent;
    color: black;
    font-weight: bold;
    text-align: left;
    padding: 4px 0px 4px 8px;
}


/* --- Spacing around example code --- */
div.highlight pre {
    padding: 9px 14px;
    background-color: rgb(247, 247, 249);
    border-radius: 4px 4px 4px 4px;
    border: 1px solid rgb(225, 225, 232);
}

div.highlight {
    padding: 0px 10px 0px;
}

dt {
    font-weight: bold;
    /*font-size: 16px;*/
}

.classifier {
    /*font-size: 10pt;*/
    font-weight: normal;
}

tt {
    background-color: #ECF0F3;
    /*font-size: 95%;*/
    padding: 0px 1px;
}



div.admonition.note {
    font-size: 0.95em;
    margin: 1.3em;
    border: 1px solid #BCE8F1;
    background-color: #D9EDF7;
    padding: 0px 5px 0 5px;
    color: #3A87AD;
}

div.admonition p.admonition-title {
    font-size: 1em;
    margin-top: 7px;
    font-weight: bold;
}

eric ide

mercurial