Skip to content

Commit b853587

Browse files
authored
Merge pull request #1112 from readthedocs/davidfischer/oldstyle-rtd-ad-styles
Re-add missing RTD style ads
2 parents 53b5967 + bb1f23d commit b853587

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

assets/src/scss/_theme.scss

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,5 +286,53 @@ body {
286286
}
287287
}
288288

289+
// Old style RTD placement
290+
.ethical-sidebar,
291+
.ethical-footer {
292+
padding: 0.5em;
293+
margin: 1em 0;
294+
295+
background-color: #eee;
296+
border: 1px solid #ccc;
297+
border-radius: 5px;
298+
color: #0a0a0a;
299+
font-size: 14px;
300+
line-height: 20px;
301+
302+
.ethical-callout {
303+
text-align: center;
304+
padding-top: 1em;
305+
}
306+
307+
.ethical-text {
308+
margin-top: 1em;
309+
}
310+
311+
img {
312+
width: 120px;
313+
height: 90px;
314+
display: inline-block;
315+
}
316+
317+
a, a:visited, a:hover, a:active {
318+
color: #0a0a0a;
319+
text-decoration: none !important;
320+
border-bottom: 0 !important;
321+
}
322+
}
323+
324+
.ethical-sidebar {
325+
text-align: center;
326+
max-width: 300px;
327+
}
328+
.ethical-footer {
329+
text-align: left;
330+
331+
& img {
332+
float: right;
333+
margin-left: 25px;
334+
}
335+
}
336+
289337
}
290338
}

0 commit comments

Comments
 (0)