File tree Expand file tree Collapse file tree 3 files changed +57
-8
lines changed Expand file tree Collapse file tree 3 files changed +57
-8
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,31 @@ figcaption {
73
73
.image-table td {
74
74
vertical-align : top !important ;
75
75
}
76
- /* TEST */
76
+
77
+ /* class applied to aliases defined in generated/civic.docs-aliases.rst */
77
78
.cvc-icon {
78
79
display : inline-block;
79
80
width : 1em ;
80
81
height : 1em ;
81
82
}
83
+
84
+ /* custom styles for entity-icon-description tables */
85
+ .cvc-icon-table tr td {
86
+ vertical-align : top !important ;
87
+ }
88
+
89
+ /* display icons in a tag-like box */
90
+ .cvc-icon-table tr td : nth-child (2 ) p {
91
+ background-color : # 404040 !important ;
92
+ display : block;
93
+ text-align : center;
94
+ padding : 1px 3px 3px 3px ;
95
+ border-radius : 2px ;
96
+ }
97
+
98
+ /* default icon color is a light grey, use css filter to brighten them */
99
+ .cvc-icon-table tr td : nth-child (2 ) img .cvc-icon {
100
+ filter : brightness (5 ) !important ;
101
+ vertical-align : middle !important ;
102
+ margin-top : -2px !important ;
103
+ }
Original file line number Diff line number Diff line change 1
1
/* override table width restrictions */
2
2
@media screen and (min-width : 767px ) {
3
- .wy-table-responsive table td {
4
- /* !important prevents the common CSS stylesheets from overriding
3
+ .wy-table-responsive table td {
4
+ /* !important prevents the common CSS stylesheets from overriding
5
5
this as on RTD they are loaded after this stylesheet */
6
- white-space : normal !important ;
7
- }
6
+ white-space : normal !important ;
7
+ }
8
8
9
- .wy-table-responsive {
10
- overflow : visible !important ;
11
- }
9
+ .wy-table-responsive {
10
+ overflow : visible !important ;
11
+ }
12
+ }
13
+
14
+ /* improvements to theme's odd table defaults */
15
+ table .docutils th {
16
+ padding : 6px 8px !important ;
17
+ min-height : unset !important ;
18
+ }
19
+
20
+ table .docutils th p {
21
+ line-height : 1em !important ;
22
+ font-weight : normal !important ;
23
+ font-size : 1em !important ;
24
+ font-style : oblique;
25
+ margin : 0 !important ;
26
+ color : # 404040 !important ;
27
+ }
28
+ table .docutils td {
29
+ padding : 6px 8px !important ;
12
30
}
Original file line number Diff line number Diff line change @@ -41,3 +41,12 @@ Navigate the CIViC Help Docs with the navigation menu to the left of each page o
41
41
api
42
42
help
43
43
44
+ ..
45
+ Kludge to make aliases file importable using hidden table of contents -
46
+ Without this, Sphinx will display warnings about an unlinked file
47
+
48
+ ..
49
+ .. toctree::
50
+ :hidden:
51
+
52
+ generated/civic-docs.aliases.rst
You can’t perform that action at this time.
0 commit comments