User:Timeshifter/Sandbox23

From Cannabis
Jump to navigation Jump to search
See also: https://cannabis.wikia.org/wiki/User:Timeshifter/Sandbox34

See: Wikipedia: WP:Reference desk/Computing#How can I make the bullets and brackets white in this dark background? Solution:

ul {list-style-image: unset;}
h1,h2,h3,h4,h5,h6 {color: unset;}

See: How can I make the bullets and brackets white? on Project:Support desk.

See: How can I make the headings white? on Project:Support desk. Solution:

.darkbackground .mw-headline {color: white}

This solution is unnecessary if the more general solution higher up is used.

See darkbackground class: MediaWiki:Common.css - See also: JS and CSS customization on this wiki for a list of site and user JS and CSS pages.

I experiment via User:Timeshifter/common.css
Text
Global Marijuana March animated.gif

File:Global Marijuana March animated.gif (to the right) is a transparent gif. There is added CSS making the caption background color the same as the color surrounding the image in the divs below. For some unknown reason the image background color is white if there is a caption.

class=darkbackground

Return to top.

<div class=darkbackground style=padding:4px;>

Heading. One equal sign

Text
Global Marijuana March animated.gif
  • One
  • Two
  • Three

Heading. 2 equal signs

Heading. 3 equal signs

text

Heading. 4 equal signs

text

Heading. 5 equal signs

text

class=darkbackground2

Return to top.

<div class=darkbackground2 style=padding:4px;>

Heading. One equal sign

Text
Global Marijuana March animated.gif
  • One
  • Two
  • Three

Heading. 2 equal signs

Heading. 3 equal signs

text

Heading. 4 equal signs

text

Heading. 5 equal signs

text

class=blackbackground

Return to top.

<div class=blackbackground style=padding:4px;>

Heading. One equal sign

Text
Global Marijuana March animated.gif
  • One
  • Two
  • Three

Heading. 2 equal signs

Heading. 3 equal signs

text

Heading. 4 equal signs

text

Heading. 5 equal signs

text

class=yellowbackground

Return to top.

<div class=yellowbackground style=padding:4px;>

Heading. One equal sign

Text
Global Marijuana March animated.gif
  • One
  • Two
  • Three

Heading. 2 equal signs

Heading. 3 equal signs

text

Heading. 4 equal signs

text

Heading. 5 equal signs

text