mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
fixes for colors on tt
This commit is contained in:
parent
9fb7cb8ae1
commit
092ec06e3b
|
@ -133,10 +133,11 @@
|
||||||
tt // for sphinx.ext.autodoc generated content
|
tt // for sphinx.ext.autodoc generated content
|
||||||
&.descname, &.descclassname
|
&.descname, &.descclassname
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
|
border: none
|
||||||
|
padding: 0
|
||||||
font-size: 100% !important
|
font-size: 100% !important
|
||||||
&.descname
|
&.descname
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
padding-right: 0.08em
|
|
||||||
|
|
||||||
dl dl
|
dl dl
|
||||||
dt
|
dt
|
||||||
|
@ -155,10 +156,15 @@
|
||||||
// Even though the font size of $code-font-family is same as normal font
|
// Even though the font size of $code-font-family is same as normal font
|
||||||
// it looks huge compared to it, so lets trial with it @ 90%.
|
// it looks huge compared to it, so lets trial with it @ 90%.
|
||||||
tt
|
tt
|
||||||
background-color: $table-stripe-color
|
white-space: nowrap
|
||||||
|
max-width: 100%
|
||||||
|
background: $white
|
||||||
|
border: solid 1px $table-border-color
|
||||||
|
color: $text-color
|
||||||
|
font-size: 80%
|
||||||
|
padding: 0 5px
|
||||||
font-family: $code-font-family
|
font-family: $code-font-family
|
||||||
font-size: 90%
|
overflow-x: auto
|
||||||
padding: 1px, 2px
|
|
||||||
|
|
||||||
big, em
|
big, em
|
||||||
font-size: 100% !important
|
font-size: 100% !important
|
||||||
|
|
|
@ -5169,14 +5169,15 @@ footer p {
|
||||||
/* line 134, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 134, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content dl tt.descname, .rst-content dl tt.descclassname {
|
.rst-content dl tt.descname, .rst-content dl tt.descclassname {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
font-size: 100% !important;
|
font-size: 100% !important;
|
||||||
}
|
}
|
||||||
/* line 137, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 139, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content dl tt.descname {
|
.rst-content dl tt.descname {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-right: 0.08em;
|
|
||||||
}
|
}
|
||||||
/* line 142, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 143, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content dl dl dt {
|
.rst-content dl dl dt {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
|
@ -5184,58 +5185,63 @@ footer p {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
/* line 149, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 150, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content dl dl dt .headerlink {
|
.rst-content dl dl dt .headerlink {
|
||||||
color: #404040;
|
color: #404040;
|
||||||
font-size: 100% !important;
|
font-size: 100% !important;
|
||||||
}
|
}
|
||||||
/* line 157, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 158, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content tt {
|
.rst-content tt {
|
||||||
background-color: #f3f6f6;
|
white-space: nowrap;
|
||||||
|
max-width: 100%;
|
||||||
|
background: white;
|
||||||
|
border: solid 1px #e1e4e5;
|
||||||
|
color: #404040;
|
||||||
|
font-size: 80%;
|
||||||
|
padding: 0 5px;
|
||||||
font-family: "Incosolata", "Consolata", "Monaco", monospace;
|
font-family: "Incosolata", "Consolata", "Monaco", monospace;
|
||||||
font-size: 90%;
|
overflow-x: auto;
|
||||||
padding: 1px, 2px;
|
|
||||||
}
|
}
|
||||||
/* line 163, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 169, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content tt big, .rst-content tt em {
|
.rst-content tt big, .rst-content tt em {
|
||||||
font-size: 100% !important;
|
font-size: 100% !important;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
/* line 167, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 173, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content tt .xref, a .rst-content tt {
|
.rst-content tt .xref, a .rst-content tt {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
/* line 170, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 176, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content blockquote {
|
.rst-content blockquote {
|
||||||
margin-left: 24px;
|
margin-left: 24px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
/* line 176, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 182, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content #search-results .search li {
|
.rst-content #search-results .search li {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
border-bottom: solid 1px #e1e4e5;
|
border-bottom: solid 1px #e1e4e5;
|
||||||
padding-bottom: 24px;
|
padding-bottom: 24px;
|
||||||
}
|
}
|
||||||
/* line 180, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 186, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content #search-results .search li:first-child {
|
.rst-content #search-results .search li:first-child {
|
||||||
border-top: solid 1px #e1e4e5;
|
border-top: solid 1px #e1e4e5;
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
}
|
}
|
||||||
/* line 183, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 189, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content #search-results .search li a {
|
.rst-content #search-results .search li a {
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
/* line 187, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 193, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content #search-results .context {
|
.rst-content #search-results .context {
|
||||||
color: gray;
|
color: gray;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 480px) {
|
@media screen and (max-width: 480px) {
|
||||||
/* line 193, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
/* line 199, /home/tony/workspace/sphinx_rtd_theme/sass/_theme_rst.sass */
|
||||||
.rst-content .sidebar {
|
.rst-content .sidebar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user