User:Amwelladmin/common.css: Difference between revisions

From The Jolly Contrarian
Jump to navigation Jump to search
(Created page with ".has-dropcap:first-letter { font-family: "Source Sans Pro", Arial, Helvetica, sans-serif; float: left; font-size: 6rem; line-height: 0.65; margin: 0.1em 0.1em 0.2em 0; } .dropcap { font-family: "Source Sans Pro", Arial, Helvetica, sans-serif; background: #303030; color: #FDF9F2; float: left; font-size: 6rem; line-height: 1; margin: 0.1em 0.1em 0.2em 0; padding: 0.1em; } .dropcap:before, .dropcap:after { content: ""; display: block; } .dropc...")
 
No edit summary
 
Line 1: Line 1:
.has-dropcap:first-letter {
.has-dropcap:first-letter {
   font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
   font-family: Georgia;
   float: left;
   float: left;
   font-size: 6rem;
   font-size: 6rem;
Line 8: Line 8:


.dropcap {
.dropcap {
   font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
   font-family: Georgia;
   background: #303030;
   background: #303030;
   color: #FDF9F2;
   color: #FDF9F2;

Latest revision as of 12:51, 3 February 2024

.has-dropcap:first-letter {
  font-family: Georgia;
  float: left;
  font-size: 6rem;
  line-height: 0.65;
  margin: 0.1em 0.1em 0.2em 0;
}

.dropcap {
  font-family: Georgia;
  background: #303030;
  color: #FDF9F2;
  float: left;
  font-size: 6rem;
  line-height: 1;
  margin: 0.1em 0.1em 0.2em 0;
  padding: 0.1em;
}
.dropcap:before,
.dropcap:after {
  content: "";
  display: block;
}
.dropcap:before {
  margin-top: -0.2em;
}
.dropcap:after {
  margin-bottom: -0.15em;
}