Difference between revisions of "MediaWiki:Common.css"
(style for blog posts (copied from HypertWiki, to be modified)) |
|||
(46 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
/* these classes are not part of MediaWiki */ | /* these classes are not part of MediaWiki */ | ||
/* Note: to make changes to the PsyCrit skin's CSS, edit $MW/custom/skin/psycrit/static/main.css */ | |||
/* == BLOGGGING == */ | |||
.blog-post-section-hdr { | .blog-post-section-hdr { | ||
width: 100%; | |||
color: # | color: #cee; | ||
background: # | background: #dee; | ||
font-size: | font-size: 10pt; | ||
/* border: groove #6e6;*/ | /* border: groove #6e6;*/ | ||
text-shadow: 1px 1px white, -1px -1px #444; | text-shadow: 1px 1px white, -1px -1px #444; | ||
padding: | padding: 1px; | ||
margin: - | margin: -3px 0.5em -3px -2px; /* (top, right, bottom, left) */ | ||
} | |||
.blog-excerpt-header { | |||
display: block; | |||
/* border-top: 1px solid black; // this conflicts with the h2 border */ | |||
margin-top: 3pt; | |||
width: 100%; | |||
font-size: 14pt; | |||
} | |||
/*.blog-excerpt-title { | |||
}*/ | |||
.blog-excerpt-attrib { | |||
display: block; | |||
line-height: 100%; | |||
margin: 0 0 1em 0; /* (top, right, bottom, left) */ | |||
font-size: 8pt; | |||
font-style: italic; | |||
} | |||
.blog-excerpt-author { | |||
font-style: italic bold; | |||
} | |||
.blog-excerpt-timestamp { | |||
color: #888; | |||
} | |||
/* == BLOCKQUOTES == */ | |||
blockquote { /* TO DO: blog text should be enclosed in a style so we can handle blog blockquotes differently */ | |||
font-style: italic; | |||
font-size: 85%; | |||
background: #fed; | |||
color: #006; | |||
line-height: 110%; | |||
} | |||
blockquote:before { | |||
content: open-quote; | |||
font-size: 200%; | |||
color: #aaf; | |||
} | |||
blockquote:after { | |||
content: close-quote; | |||
font-size: 200%; | |||
color: #aaf; | |||
float: right; | |||
} | } |
Latest revision as of 19:18, 13 August 2020
/* CSS placed here will be applied to all skins */ /* these classes are not part of MediaWiki */ /* Note: to make changes to the PsyCrit skin's CSS, edit $MW/custom/skin/psycrit/static/main.css */ /* == BLOGGGING == */ .blog-post-section-hdr { width: 100%; color: #cee; background: #dee; font-size: 10pt; /* border: groove #6e6;*/ text-shadow: 1px 1px white, -1px -1px #444; padding: 1px; margin: -3px 0.5em -3px -2px; /* (top, right, bottom, left) */ } .blog-excerpt-header { display: block; /* border-top: 1px solid black; // this conflicts with the h2 border */ margin-top: 3pt; width: 100%; font-size: 14pt; } /*.blog-excerpt-title { }*/ .blog-excerpt-attrib { display: block; line-height: 100%; margin: 0 0 1em 0; /* (top, right, bottom, left) */ font-size: 8pt; font-style: italic; } .blog-excerpt-author { font-style: italic bold; } .blog-excerpt-timestamp { color: #888; } /* == BLOCKQUOTES == */ blockquote { /* TO DO: blog text should be enclosed in a style so we can handle blog blockquotes differently */ font-style: italic; font-size: 85%; background: #fed; color: #006; line-height: 110%; } blockquote:before { content: open-quote; font-size: 200%; color: #aaf; } blockquote:after { content: close-quote; font-size: 200%; color: #aaf; float: right; }