Tau_Cetacean
have created a black-background table on the front page (e.g. which seems to just be wiki page with URL - {name-of-campaign}.obsidianportal.com/wiki_pages/home-page/ ) of a campaign using just html... which still leaves the default white background bordering it
would like to change that white background to black for just that wiki page - I assume this can be done in CSS?
Comments
This should be all you need for that specific box.
~Weasel0
A Parade of Black | ShadowRunHack |
Where I play with CSS code
that works when visiting it as https://nanopunk.obsidianportal.com/, but not as https://nanopunk.obsidianportal.com/wikis/home-page (though the latter may not matter as I won't be directing any traffic to that URL)
and if I wanted to get fancier and make the background an image, would it be:
.campaign-landing-show .campaign-landing-page-container{background-image: url("starfield.png"); background-color: black;}
(kludging off of online CSS tutorials)
if not, do I just use the CSS:
.campaign-landing-show .campaign-landing-page-container{background-image: url(“http://www.name-of-the-site-I-am-using-as-an-image-silo/starfield.png”); background-color: black;}
As far as images, someone else will need to chime in on that to confirm or deny. I'm off to complain that the in-line text editor is killing all my old textile coding and turning it into plain text when I save changes.
~Weasel0
A Parade of Black | ShadowRunHack |
Where I play with CSS code
I've tried adjusting the opacity in CSS like so:
.campaign-landing-show .campaign-landing-page-container{background-color: black; opacity: 0.6;}
but the result is to make not just the foreground box transparent (good), but also the text and image I've embedded (not what I want)
is there anyway to just make the box transparent?
.campaign-public-layout .section
{background-color: transparent;}
is what i use and might work?
Here Try this instead of "background-color: black"
bq. background: rgba(255, 255, 255, 0.5);
it's Red Green Blue Alpha
Alpha controls transparency 0 is opaque 1 is transparent.
Here's the link for this one: "https://css-tricks.com/rgba-browser-support/":https://css-tricks.com/rgba-browser-support/
~Weasel0
A Parade of Black | ShadowRunHack |
Where I play with CSS code
thanks!