Thank you for your feedback Jeremy. It reminded my of some styling techniques
which can be used to identify and style elements without assigned classes. It
is risky if there are matching elements that are patterned the same way. I
still need to tweak it for different size screens but here is what I have in my
stylesheet, please let me know of possible problems:
html .tc-tiddler-body > embed, .tc-tiddler-body > iframe {
margin: -17px -0px -63px -43px;
width: calc(100% + 86px);
height: 600px;
z-index=-2;
border-bottom-right-radius: 1em;
border-bottom-left-radius: 1em;
-moz-border-radius-bottomright: 1em;
-moz-border-radius-bottomleft: 1em;
webkit-border-bottom-right-radius: 1em;
webkit-border-bottom-left-radius: 1em;
}
html .tc-tiddler-frame img, .tc-tiddler-frame svg, .tc-tiddler-frame canvas,
.tc-tiddler-frame embed, .tc-tiddler-frame iframe {
max-width: calc(100% + 86px);
}
Sent from my Samsung Epic™ 4G TouchJeremy Ruston <[email protected]>
wrote:Hi Andrew
On Sat, Dec 6, 2014 at 11:54 PM, andrew.j.harrison84
<[email protected]> wrote:
Is it possible to use CSS to style the iframe generated when using the
_canonical_uri field?
There's no class assigned to the iframe at the moment, so you'll have to wrap
it in an element that does have a class. For example:
<div class="tc-my-transcluded-tiddler">
{{my tiddler with a canonical uri field}}
</div>
Then in the stylesheet:
. tc-my-transcluded-tiddler iframe {
border: 10px solid red;
}
Would that be sufficient?
Best wishes
Jeremy.
Sent from my Samsung Epic™ 4G Touch
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Ruston
mailto:[email protected]
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.