summaryrefslogtreecommitdiff
path: root/sphinx/themes
diff options
context:
space:
mode:
authortk0miya <i.tkomiya@gmail.com>2014-08-11 22:36:31 +0900
committertk0miya <i.tkomiya@gmail.com>2014-08-11 22:36:31 +0900
commit4c5afa6b5627ecfb82c9835013ed33cdd4a65490 (patch)
tree65cfb48e382a27b2a229673aeef9e6b7b42d9854 /sphinx/themes
parent8484f107f8e18f7c22c9b4d664071583cd7bcacd (diff)
downloadsphinx-4c5afa6b5627ecfb82c9835013ed33cdd4a65490.tar.gz
Rename :filename: option of code-block directive to :caption:
Diffstat (limited to 'sphinx/themes')
-rw-r--r--sphinx/themes/agogo/static/agogo.css_t2
-rw-r--r--sphinx/themes/basic/static/basic.css_t8
-rw-r--r--sphinx/themes/default/static/default.css_t2
-rw-r--r--sphinx/themes/nature/static/nature.css_t2
-rw-r--r--sphinx/themes/pyramid/static/pyramid.css_t2
-rw-r--r--sphinx/themes/sphinxdoc/static/sphinxdoc.css_t2
-rw-r--r--sphinx/themes/traditional/static/traditional.css_t2
7 files changed, 10 insertions, 10 deletions
diff --git a/sphinx/themes/agogo/static/agogo.css_t b/sphinx/themes/agogo/static/agogo.css_t
index 9cd50414..db4a621a 100644
--- a/sphinx/themes/agogo/static/agogo.css_t
+++ b/sphinx/themes/agogo/static/agogo.css_t
@@ -467,7 +467,7 @@ div.viewcode-block:target {
border-bottom: 1px solid #ac9;
}
-div.code-block-filename {
+div.code-block-caption {
background-color: #ddd;
color: #333;
padding: 2px 5px;
diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t
index d4561bfa..6fccb86e 100644
--- a/sphinx/themes/basic/static/basic.css_t
+++ b/sphinx/themes/basic/static/basic.css_t
@@ -475,17 +475,17 @@ table.highlighttable td {
padding: 0 0.5em 0 0.5em;
}
-div.code-block-filename {
+div.code-block-caption {
padding: 2px 5px;
font-size: small;
}
-div.code-block-filename tt {
+div.code-block-caption tt {
background-color: transparent;
}
-div.code-block-filename + pre,
-div.code-block-filename + div.highlight > pre {
+div.code-block-caption + pre,
+div.code-block-caption + div.highlight > pre {
margin-top: 0;
}
diff --git a/sphinx/themes/default/static/default.css_t b/sphinx/themes/default/static/default.css_t
index ae4012d0..1493c5d9 100644
--- a/sphinx/themes/default/static/default.css_t
+++ b/sphinx/themes/default/static/default.css_t
@@ -309,7 +309,7 @@ div.viewcode-block:target {
border-bottom: 1px solid #ac9;
}
-div.code-block-filename {
+div.code-block-caption {
color: #efefef;
background-color: #1c4e63;
}
diff --git a/sphinx/themes/nature/static/nature.css_t b/sphinx/themes/nature/static/nature.css_t
index 7909e813..09573ead 100644
--- a/sphinx/themes/nature/static/nature.css_t
+++ b/sphinx/themes/nature/static/nature.css_t
@@ -244,7 +244,7 @@ div.viewcode-block:target {
border-bottom: 1px solid #ac9;
}
-div.code-block-filename {
+div.code-block-caption {
background-color: #ddd;
color: #222;
border: 1px solid #C6C9CB;
diff --git a/sphinx/themes/pyramid/static/pyramid.css_t b/sphinx/themes/pyramid/static/pyramid.css_t
index 053f61fa..dc015bb9 100644
--- a/sphinx/themes/pyramid/static/pyramid.css_t
+++ b/sphinx/themes/pyramid/static/pyramid.css_t
@@ -341,7 +341,7 @@ tt.xref {
font-style: normal;
}
-div.code-block-filename {
+div.code-block-caption {
background-color: #ddd;
color: #222;
}
diff --git a/sphinx/themes/sphinxdoc/static/sphinxdoc.css_t b/sphinx/themes/sphinxdoc/static/sphinxdoc.css_t
index 9f90d56f..cd781d29 100644
--- a/sphinx/themes/sphinxdoc/static/sphinxdoc.css_t
+++ b/sphinx/themes/sphinxdoc/static/sphinxdoc.css_t
@@ -338,7 +338,7 @@ div.viewcode-block:target {
border-bottom: 1px solid #ac9;
}
-div.code-block-filename {
+div.code-block-caption {
background-color: #ddd;
color: #222;
border: 1px solid #ccc;
diff --git a/sphinx/themes/traditional/static/traditional.css_t b/sphinx/themes/traditional/static/traditional.css_t
index 4b6e5c41..9a5d56dc 100644
--- a/sphinx/themes/traditional/static/traditional.css_t
+++ b/sphinx/themes/traditional/static/traditional.css_t
@@ -703,6 +703,6 @@ div.viewcode-block:target {
padding: 0 10px;
}
-div.code-block-filename {
+div.code-block-caption {
background-color: #cceeff;
}