User:Amwelladmin/common.css

From The Jolly Contrarian
< User:Amwelladmin
Revision as of 12:49, 3 February 2024 by Amwelladmin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.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;
}
.dropcap:before {
  margin-top: -0.2em;
}
.dropcap:after {
  margin-bottom: -0.15em;
}