Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(experimenting) |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
background: white; | background: white; | ||
} | } | ||
| − | table.listing | + | table.listing .odd td { |
background: #eef; | background: #eef; | ||
} | } | ||
| − | table.listing | + | table.listing .even td { |
background: #fff; | background: #fff; | ||
} | } | ||
| − | table.listing | + | table.listing .void td { |
color: #888; | color: #888; | ||
text-decoration:line-through; | text-decoration:line-through; | ||
} | } | ||
| − | /* | + | /* spoilers and triggery content */ |
| + | .secret { | ||
| + | color: black; | ||
| + | background: black; | ||
| + | } | ||
| + | .secret:hover { | ||
| + | background: blue; | ||
| + | } | ||
| + | |||
| + | /* make blockquotes stand out */ | ||
| + | blockquote { | ||
| + | font-family: serif; | ||
| + | border: 1px solid grey; | ||
| + | padding: 1em; | ||
| + | } | ||
| − | + | /* make wiki links stand out */ | |
| − | + | .keychainify-checked { | |
| − | + | border-bottom: dashed 1px grey; | |
| + | text-shadow: -2px 2px 2px #999; | ||
} | } | ||
Latest revision as of 14:53, 20 October 2021
/* CSS placed here will be applied to all skins */
table.listing {
border: 1px solid black;
background: radial-gradient(yellow, green);
box-shadow: 5px 5px 3px 1px #999;
}
table.listing tr th {
background: #aaf;
}
table.listing tr td {
background: white;
}
table.listing .odd td {
background: #eef;
}
table.listing .even td {
background: #fff;
}
table.listing .void td {
color: #888;
text-decoration:line-through;
}
/* spoilers and triggery content */
.secret {
color: black;
background: black;
}
.secret:hover {
background: blue;
}
/* make blockquotes stand out */
blockquote {
font-family: serif;
border: 1px solid grey;
padding: 1em;
}
/* make wiki links stand out */
.keychainify-checked {
border-bottom: dashed 1px grey;
text-shadow: -2px 2px 2px #999;
}