[personal profile] haptalaon

I just popped a little creature on my journal, in the bottom left-hand corner, which follows the page as visitors read, keeping an eye out for mischief.

(little creature designed by dollarchive.neocities)

Step 1: upload your picture somewhere. Make sure it's small, and has a see through background

Step 2: display the custom 'Text' module on your layout

Step 3: in the Customise Journal > Text screen, include this code in the Text for the 'Custom Text' box:

<dialog open><img src=YOUR-URL-HERE></dialog>

In the past, you would create invisible boxes and containers to structure your HTML with div boxes. Modern HTML gives you options to do 'semantic html' - so instead of a generic div, you can use tags like header, nav, article and section to do essentially the same thing you do with a div, but screen readers can navigate it more easily and it's nicer to code too

dialog is a rarely used html tag, so we can sneak it in here to target in our CSS, knowing it likely won't appear anywhere else in our css. (Using id selectors didn't seem to work with dreamwidth's code-wrangler; using a div is too generic, as there are several other divs in module-content).

Step 4: go to Customise CSS and paste in the following:

.module-content dialog { position: fixed; z-index: 3; bottom: 0; right: 100%; background: none; border: none; }

This tells the browser how to display the dialog box - moving it out of the Custom Text Module and all the way over the page, where it floats over the webpage.

Step 5: check accessibility. Shrink down the browser window size and use the inspect tool or a website to see how the page looks on mobile. Ensure that it doesn't cover up text you want people to read.

If it's a problem, you can get the Guardian to disappear once the browser window goes under a certain size. Put this code (or similar) into the Customise CSS section:

@media only screen and (max-width: 600px) {.module-content dialog {display: none}}

If the browser window is 600px wide or smaller, the website won't load the Guardian image at all, as if it never existed

Ideas: What creative purposes could you put this to? An animated gif. A pixel animal that moves, reacts or changes when you hover or click on it. A link. Something practical.

Tags:
[personal profile] sheliak
My current layout is Librarian's Dream, and I've been playing with Mobility on my test journal. I've run across a couple things in both that I can't figure out how to wrangle.

Librarian's Dream

1. Multilevel tags: I've noticed that some multilevel tags display oddly. Basically, when there's an x:y:z tag, what's displayed is x:y, and then z as if it had been tagged x:z rather than x:y:z. Does anyone know how to fix this and add an extra indent to third-level tags?

2. The profile icon has a bit of padding underneath it. I'd like to either remove that padding, or add equivalent padding above + to the left, so that the icon appears more centered. Is either of those possible?


Mobility

This is less urgent, I've just been poking at the style and trying to figure out what I can and can't do.

3. Is it possible to make the border disappear on the next/previous button, and the [flat/top level comments only] bar on entries? (Or, for that matter, to get rid of all borders on everything?) I've been able to figure how to turn most borders on and off, but those have eluded me.

4. Is it possible to set a background image for comments, next/previous, archive, tags page, etc, as it is for the entries/modules/header? (I'm trying to use a (hopefully unobtrusive) textured image instead of a solid color, basically.)

5. If the latter is not possible: is it possible to change link & text color only on the next/previous?

(Current Mobility attempts at [personal profile] beta_lyrae.


Thanks in advance!

Poll options

Sep. 14th, 2013 12:42 pm
tropicsbear: Tadashi carrying Ainosuke bridal style (Default)
[personal profile] tropicsbear
In relation to this entry on aligning the text for bullet points, would it be possible to do the same thing for poll options?
Tags:
[personal profile] liv
I'm working on converting these Crisped themes to be official site layouts. I've run into a problem with the CSS that makes the navigation control strip match the rest of the layout.

The relevant CSS is as follows:


The problem is that the logged-out version of the nav strip includes a table within a table, for the login form, and this CSS makes all the cells of that table outlined in the entry title colour, which looks kind of awful. So I need to figure out some CSS to turn off border colours in the login form, while leaving them on for the nav strip as a whole.

According to Web Developer the login form looks a bit like this:


I can't figure out which selector to use with border: none in order to switch off the borders for the inner tables. I've tried variations on #lj_controlstrip_login and #lj_controlstrip_login td and #login.lj_login_form but I'm not getting anywhere. Anyone who's clever with CSS inheritance rules have any good ideas?
Tags:
[personal profile] aldro
I'm back with another question regarding currents and tiny icons. I recently changed my layout style and am having trouble aligning the tiny icons. All the tiny icons used in my layout are (supposed to be) 16 pixels. I fiddled around with padding and margin, but can't get the icons of the metadata to align correctly. Any help is greatly appreciated. :-)

My CSS:



ETA: SOLVED! :)
Tags:
[personal profile] thomasneo

Hi.

For the past few days, I've been trying to add a background image via CSS to #header-primary with limited success—the code works all right on Firefox but not on Chrome. Edit: You can now see the code live on my this account.

How can I adjust the code so that it will look both the same on Firefox and Chrome? Solved. Thanks to

[personal profile] carene_waterman

 

Working Code:

#header-primary {
   background-image: url(http://z5.ifrm.com/30174/148/0/f5177590/Test-Background.gif);
   background-repeat: no-repeat;
   background-size: 100% 100%;
   border-radius: 2em;
   margin-bottom: 1em;
   margin-right: 2em;
}

#header-secondary {
   margin-right: -17em;
}


#header-primary .inner {
   margin-left: 1em;
   margin-top: .5em;
}

A smaller thing. Not sure if this is possible or not, but is there a way to put the "Top of Page" as an entry-management button on every entry (beside the Add Memory, Track This, . . . buttons)?

Thanks in advance to all who respond. :D

Tags:
[personal profile] refno619012
 Hi!  It's me again.

This time I need help centering my layout (which was built using "Wet Sand by [personal profile] rising  for Line Up").  I've tried every trick I know and even went to Google, but nothing I've tried works.  :\  Would anyone here know a solution?

Thanks in advance!  :)
[personal profile] turlough
For the first time I'm trying to adapt a native DW style (Heads Up) for a comm instead of working with a ported-from-LJ one. I've been sticking to custom CSS and so far I seem to have managed to change most of the things I wasn't happy with. There are a couple of things I seem to be completely unable to fix however.

They both concern entry headers… )
[personal profile] facetofcathy
I made a poll at my journal about using light on dark themes or styles, and while the results so far are intriguing, it needs more answers.

And in particular answers from people who use and like or need to use light on dark themes on sites like Dreamwidth.

For example, so far there's a nearly even split on the high contrast/low contrast question. I'd like to know if that holds up with more data. This is all totally unscientific, but designed to get some insight into the range of user preferences and needs.

Please come tick some boxes! And add to the discussion if you wish, all are welcome.

(Mods, perhaps a discussion tag if you think that's appropriate?)
Tags:

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Syndicate

RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 30th, 2025 12:13 pm
Powered by Dreamwidth Studios