@@ -46,32 +46,68 @@ framework html structure.
46
46
47
47
*/
48
48
49
- div .ethical-sidebar , div .ethical-footer {
49
+ div .ethical-sidebar ,
50
+ div .ethical-footer {
50
51
display : block !important ;
51
52
}
52
- .ethical-sidebar , .ethical-footer {
53
- padding : .5em ;
53
+ .ethical-sidebar ,
54
+ .ethical-footer {
55
+ padding : 1em ;
54
56
margin : 1em 0 ;
55
57
}
56
- .ethical-sidebar img , .ethical-footer img {
58
+ .ethical-sidebar img ,
59
+ .ethical-footer img {
57
60
width : 120px ;
58
61
height : 90px ;
59
62
display : inline-block;
60
63
}
61
- .ethical-sidebar .ethical-callout , .ethical-footer .ethical-callout {
64
+ .ethical-sidebar .ethical-callout ,
65
+ .ethical-footer .ethical-callout {
62
66
padding-top : 1em ;
63
67
clear : both;
64
68
}
65
- .ethical-sidebar .ethical-pixel , .ethical-footer .ethical-pixel , .ethical-fixedfooter .ethical-pixel {
69
+ .ethical-sidebar .ethical-pixel ,
70
+ .ethical-footer .ethical-pixel ,
71
+ .ethical-fixedfooter .ethical-pixel {
66
72
display : none !important ;
67
73
}
68
- .ethical-sidebar .ethical-text , .ethical-footer .ethical-text {
74
+ .ethical-sidebar .ethical-text ,
75
+ .ethical-footer .ethical-text {
69
76
margin-top : 1em ;
70
77
}
71
- .ethical-sidebar .ethical-image-link , .ethical-footer .ethical-image-link {
78
+ .ethical-sidebar .ethical-image-link ,
79
+ .ethical-footer .ethical-image-link {
72
80
border : 0 ;
73
81
}
74
82
83
+ .ethical-sidebar ,
84
+ .ethical-footer {
85
+ background-color : # eee ;
86
+ border : 1px solid # ccc ;
87
+ border-radius : 5px ;
88
+ color : # 0a0a0a ;
89
+ font-size : 14px ;
90
+ line-height : 20px ;
91
+ }
92
+
93
+ .ethical-sidebar a ,
94
+ .ethical-sidebar a : visited ,
95
+ .ethical-sidebar a : hover ,
96
+ .ethical-sidebar a : active ,
97
+ .ethical-footer a ,
98
+ .ethical-footer a : visited ,
99
+ .ethical-footer a : hover ,
100
+ .ethical-footer a : active {
101
+ color : # 0a0a0a ;
102
+ text-decoration : underline !important ;
103
+ border-bottom : 0 !important ;
104
+ }
105
+
106
+ .ethical-callout a {
107
+ color : # 707070 !important ;
108
+ text-decoration : none !important ;
109
+ }
110
+
75
111
/* Sidebar promotions */
76
112
.ethical-sidebar {
77
113
text-align : center;
@@ -80,14 +116,19 @@ div.ethical-sidebar, div.ethical-footer {
80
116
/* Footer promotions */
81
117
.ethical-footer {
82
118
text-align : left;
83
- font-size : 90% ;
119
+
120
+ font-size : 12px ;
121
+ line-height : 18px ;
84
122
}
85
123
.ethical-footer img {
86
124
float : right;
87
125
margin-left : 25px ;
88
126
}
89
127
.ethical-footer .ethical-callout {
90
- text-align : right;
128
+ text-align : center;
129
+ }
130
+ .ethical-footer small {
131
+ font-size : 10px ;
91
132
}
92
133
93
134
/* Fixed footer promotions */
@@ -127,23 +168,18 @@ div.ethical-sidebar, div.ethical-footer {
127
168
}
128
169
129
170
/* RTD Theme specific customizations */
171
+ .wy-nav-side .ethical-rtd {
172
+ /* RTD theme doesn't correctly set the sidebar width */
173
+ width : 300px ;
174
+ padding : 1em ;
175
+ }
130
176
.ethical-rtd .ethical-sidebar {
131
177
/* RTD theme doesn't set sidebar text color */
132
178
color : # b3b3b3 ;
133
179
134
- /* RTD theme doesn't correctly set the sidebar width */
135
- width : 300px ;
136
-
137
180
font-size : 14px ;
138
181
line-height : 20px ;
139
182
}
140
- .ethical-rtd .ethical-sidebar a ,
141
- .ethical-rtd .ethical-sidebar a : visited ,
142
- .ethical-rtd .ethical-sidebar a : hover ,
143
- .ethical-rtd .ethical-sidebar a : active {
144
- /* RTD theme doesn't set sidebar link color */
145
- color : # efefef ;
146
- }
147
183
148
184
/* Alabaster specific customizations */
149
185
.ethical-alabaster a .ethical-image-link {
@@ -162,6 +198,22 @@ div.ethical-sidebar, div.ethical-footer {
162
198
margin-top : 3em ;
163
199
}
164
200
201
+ /* Dark theme */
202
+ .ethical-dark-theme .ethical-sidebar {
203
+ background-color : rgba (255 , 255 , 255 , 0.1 );
204
+ border : 1px solid # a0a0a0 ;
205
+ color : # c2c2c2 !important ;
206
+ }
207
+ .ethical-dark-theme a ,
208
+ .ethical-dark-theme a : visited {
209
+ color : # e6e6e6 !important ;
210
+ border-bottom : 0 !important ;
211
+ }
212
+ .ethical-dark-theme .ethical-callout a {
213
+ color : # b3b3b3 !important ;
214
+ }
215
+
216
+
165
217
/* Ad block nag */
166
218
.keep-us-sustainable {
167
219
padding : .5em ;
0 commit comments