Difference between revisions of "MediaWiki:Common.css"

(nope, doesn't look good)
 
(24 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%;
   width: 100%;
Line 10: Line 15:
   text-shadow: 1px 1px white, -1px -1px #444;
   text-shadow: 1px 1px white, -1px -1px #444;
   padding: 1px;
   padding: 1px;
   margin: -3px 0.5em -3px -2px;
   margin: -3px 0.5em -3px -2px; /* (top, right, bottom, left) */
}
}


.blog-excerpt-header {
.blog-excerpt-header {
   display: block;
   display: block;
   border-top: 1px solid black;
   /* border-top: 1px solid black; // this conflicts with the h2 border */
   margin-top: 3pt;
   margin-top: 3pt;
   width: 100%;
   width: 100%;
Line 21: Line 26:
}
}


.blog-excerpt-title {
/*.blog-excerpt-title {
}
}*/


.blog-excerpt-attrib {
.blog-excerpt-attrib {
   display: block;
   display: block;
   line-height: 100%;
   line-height: 100%;
  margin: 0 0 1em 0; /* (top, right, bottom, left) */
   font-size: 8pt;
   font-size: 8pt;
   font-style: italic;
   font-style: italic;
Line 32: Line 38:


.blog-excerpt-author {
.blog-excerpt-author {
   font-style: bold italic;
   font-style: italic bold;
}
}


Line 38: Line 44:
   color: #888;
   color: #888;
}
}
/* == BLOCKQUOTES == */


blockquote { /* TO DO: blog text should be enclosed in a style so we can handle blog blockquotes differently */
blockquote { /* TO DO: blog text should be enclosed in a style so we can handle blog blockquotes differently */

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;
}