Skip to content

Commit 080d6cf

Browse files
authored
Merge pull request #5237 from rtfd/davidfischer/ad-style-tweaks
Tweak some ad styles
2 parents 2bf6e99 + f220ca1 commit 080d6cf

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

media/css/readthedocs-doc-embed.css

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ div.ethical-footer {
5555
}
5656
.ethical-sidebar,
5757
.ethical-footer {
58-
padding: 1em;
58+
padding: 0.5em;
5959
margin: 1em 0;
6060
}
6161
.ethical-sidebar img,
@@ -93,6 +93,30 @@ div.ethical-footer {
9393
line-height: 20px;
9494
}
9595

96+
/* Techstack badging */
97+
.ethical-sidebar ul {
98+
margin: 0 !important;
99+
padding-left: 0;
100+
list-style: none;
101+
}
102+
.ethical-sidebar ul li {
103+
display: inline-block;
104+
background-color: lightskyblue;
105+
color: black;
106+
padding: 0.25em 0.4em;
107+
font-size: 75%;
108+
font-weight: 700;
109+
margin: 0.25em;
110+
border-radius: 0.25rem;
111+
text-align: center;
112+
vertical-align: baseline;
113+
white-space: nowrap;
114+
line-height: 1.41;
115+
}
116+
.ethical-sidebar ul li:not(:last-child) {
117+
margin-right: .25rem;
118+
}
119+
96120
.ethical-sidebar a,
97121
.ethical-sidebar a:visited,
98122
.ethical-sidebar a:hover,
@@ -102,7 +126,7 @@ div.ethical-footer {
102126
.ethical-footer a:hover,
103127
.ethical-footer a:active {
104128
color: #0a0a0a;
105-
text-decoration: underline !important;
129+
text-decoration: none !important;
106130
border-bottom: 0 !important;
107131
}
108132

0 commit comments

Comments
 (0)