MediaWiki:Common.css: Difference between revisions

From Hiero Hoopla
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: blockquote { background: #f9f9f9; border-left: 10px solid #ccc; margin: 1.5em 10px; padding: 0.5em 10px; quotes: "\201C""\201D""\2018""\2019"; } blockquote:before { color: #ccc; content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } blockquote p { display: inline; }")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


blockquote {
blockquote{
   background: #f9f9f9;
  display:block;
   border-left: 10px solid #ccc;
   background: #fff;
   margin: 1.5em 10px;
  padding: 15px 20px 15px 45px !important;
   padding: 0.5em 10px;
  margin: 20px 0 20px;
   quotes: "\201C""\201D""\2018""\2019";
  position: relative;
 
  /*Font*/
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  color: #666;
  text-align: justify;
 
  /*Borders - (Optional)*/
   border-left: 6px solid #c76c0c !important;
  border-right: 2px solid #c76c0c !important;
    
  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
   -webkit-box-shadow: 2px 2px 15px #ccc;
   box-shadow: 2px 2px 15px #ccc;
}
}
blockquote:before {
 
   color: #ccc;
blockquote::before{
   content: open-quote;
   content: "\201C"; /*Unicode for Left Double Quote*/
   font-size: 4em;
 
   line-height: 0.1em;
  /*Font*/
   margin-right: 0.25em;
   font-family: Georgia, serif;
   vertical-align: -0.4em;
   font-size: 50px;
   font-weight: bold;
   color: #999;
 
  /*Positioning*/
  position: absolute;
  left: 10px;
   top:5px;
}
}
blockquote p {
 
   display: inline;
blockquote::after{
  /*Reset to make sure*/
  content: "";
}
 
blockquote a{
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}
 
blockquote a:hover{
color: #666;
}
 
blockquote em{
   font-style: italic;
}
}

Latest revision as of 17:43, 30 November 2023

/* CSS placed here will be applied to all skins */

blockquote{
  display:block;
  background: #fff;
  padding: 15px 20px 15px 45px !important;
  margin: 20px 0 20px;
  position: relative;
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  color: #666;
  text-align: justify;
  
  /*Borders - (Optional)*/
  border-left: 6px solid #c76c0c !important;
  border-right: 2px solid #c76c0c !important;
  
  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 50px;
  font-weight: bold;
  color: #999;
  
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:5px;
}

blockquote::after{
  /*Reset to make sure*/
  content: "";
}

blockquote a{
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}

blockquote a:hover{
 color: #666;
}

blockquote em{
  font-style: italic;
}