| 1 |
/* Optional CSS for fixing oneboxes and quotes. */ |
| 2 |
|
| 3 |
aside.onebox { |
| 4 |
border: 5px solid #e9e9e9; |
| 5 |
margin-bottom: 1em; |
| 6 |
padding: 12px 25px 12px 12px; |
| 7 |
font-size: 1em; |
| 8 |
} |
| 9 |
|
| 10 |
aside.onebox .site-icon { |
| 11 |
width: 16px; |
| 12 |
height: 16px; |
| 13 |
margin-right: 3px; |
| 14 |
} |
| 15 |
|
| 16 |
aside.onebox .onebox-body .onebox-avatar { |
| 17 |
max-height: none; |
| 18 |
max-width: none; |
| 19 |
height: 60px; |
| 20 |
width: 60px; |
| 21 |
margin-right: 10px; |
| 22 |
float: left; |
| 23 |
} |
| 24 |
|
| 25 |
.aspect-image { |
| 26 |
max-width: 20%; |
| 27 |
min-height: 60px; |
| 28 |
max-height: 170px; |
| 29 |
height: auto; |
| 30 |
width: auto; |
| 31 |
margin-right: 10px; |
| 32 |
float: left; |
| 33 |
clear: both; |
| 34 |
} |
| 35 |
|
| 36 |
.aspect-image:after { |
| 37 |
content: ""; |
| 38 |
display: table; |
| 39 |
clear: both; |
| 40 |
} |
| 41 |
|
| 42 |
aside.onebox .onebox-body img { |
| 43 |
width: 100%; |
| 44 |
height: auto; |
| 45 |
} |
| 46 |
|
| 47 |
aside.onebox header a[href] { |
| 48 |
color: #919191; |
| 49 |
text-decoration: none; |
| 50 |
} |
| 51 |
|
| 52 |
aside.onebox .onebox-body h3, aside.onebox .onebox-body h4 { |
| 53 |
font-size: 1em; |
| 54 |
max-width: calc(80% - 10px); |
| 55 |
margin: 0 0 10px 0; |
| 56 |
float: left; |
| 57 |
clear: none; |
| 58 |
padding-top: 0; |
| 59 |
} |
| 60 |
|
| 61 |
aside.onebox .onebox-body a[href] { |
| 62 |
color: #08c; |
| 63 |
text-decoration: none; |
| 64 |
} |
| 65 |
|
| 66 |
aside.onebox .onebox-body p, |
| 67 |
.onebox-body .tweet { |
| 68 |
float: left; |
| 69 |
max-width: calc(80% - 20px); |
| 70 |
clear: none; |
| 71 |
} |
| 72 |
|
| 73 |
article.onebox-body:after { |
| 74 |
content: ""; |
| 75 |
display: table; |
| 76 |
clear: both; |
| 77 |
} |
| 78 |
|
| 79 |
/* Twitter. */ |
| 80 |
.onebox-body .tweet, .onebox-body .tweet + .date { |
| 81 |
float: left; |
| 82 |
} |
| 83 |
|
| 84 |
/* Quotes. */ |
| 85 |
.comment-body .quote .title { |
| 86 |
border-left: 5px solid #e9e9e9; |
| 87 |
background-color: #f9f9f9; |
| 88 |
color: #646464; |
| 89 |
padding: 12px 12px 1px 12px; |
| 90 |
} |
| 91 |
|
| 92 |
.comment-body .quote blockquote { |
| 93 |
border-left: 5px solid #e9e9e9; |
| 94 |
background-color: #f9f9f9; |
| 95 |
font-size: 1em; |
| 96 |
padding: 12px 12px 12px 12px; |
| 97 |
margin-top: 0; |
| 98 |
margin-right: 0; |
| 99 |
margin-bottom: 0; |
| 100 |
margin-left: 0; |
| 101 |
border-top: none; |
| 102 |
border-right: none; |
| 103 |
border-bottom: none; |
| 104 |
clear: both; |
| 105 |
} |
| 106 |
|
| 107 |
.comment-body .quote blockquote p:last-child { |
| 108 |
margin-bottom: 0; |
| 109 |
} |
| 110 |
|
| 111 |
.comment-body aside.quote .title .avatar { |
| 112 |
margin-right: 7px; |
| 113 |
} |
| 114 |
|
| 115 |
.comment-body .quote .title a { |
| 116 |
color: #08c; |
| 117 |
} |
| 118 |
|
| 119 |
.comment-body .quote .title a .badge-category { |
| 120 |
color: #222; |
| 121 |
} |
| 122 |
|
| 123 |
.comment-body .comment-meta { |
| 124 |
display: flex; |
| 125 |
gap: 1em; |
| 126 |
} |
| 127 |
|
| 128 |
.comment-body .comment-author { |
| 129 |
display: flex; |
| 130 |
gap: 1em; |
| 131 |
} |
| 132 |
|
| 133 |
span.badge-category-bg { |
| 134 |
width: 9px; |
| 135 |
height: 9px; |
| 136 |
display: inline-block; |
| 137 |
margin-right: 5px; |
| 138 |
margin-left: 5px; |
| 139 |
} |
| 140 |
|
| 141 |
|
| 142 |
/* Polls and Youtube links. */ |
| 143 |
.wpdc-poll-link, |
| 144 |
.wpdc-onebox-link { |
| 145 |
display: block; |
| 146 |
} |
| 147 |
|
| 148 |
/* Images. */ |
| 149 |
.lightbox-wrapper .meta { |
| 150 |
display: none; |
| 151 |
} |
| 152 |
|
| 153 |
.discourse-comments-area ol { |
| 154 |
list-style: none; |
| 155 |
padding: 0; |
| 156 |
} |
| 157 |
|
| 158 |
.discourse-comments-area .comment-reply-title { |
| 159 |
text-align: left; |
| 160 |
} |
| 161 |
|
| 162 |
.discourse-comments-area .comment-reply-title .wpdc-discourse-topic-link { |
| 163 |
margin-left: 0.25em; |
| 164 |
} |
| 165 |
|
| 166 |
.discourse-comments-area .comment-respond p:not(.comment-notes) { |
| 167 |
max-width: none; |
| 168 |
} |
| 169 |
|
| 170 |
.block-editor-block-preview__content-iframe .comments-title-wrap, |
| 171 |
.block-editor-block-preview__content-iframe .comment-respond { |
| 172 |
display: none; |
| 173 |
} |
| 174 |
.block-editor-block-preview__content-iframe .comment-body img.avatar { |
| 175 |
width: 50px; |
| 176 |
height: 50px; |
| 177 |
} |
| 178 |
|