Advertisement
Guest User

[Spun] Vertically center titles in circles

a guest
Aug 11th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.67 KB | None | 0 0
  1. .blog .hentry span.hometitle {
  2.  width: 100%;
  3.  position: absolute;
  4.  top: 73px;
  5.  display: table-cell;
  6.  
  7.  font-family: Baskerville, "Playfair Display", "Times New Roman", serif;
  8.  font-size: 32px;
  9.  font-size: 3.2rem;
  10.  font-style: italic;
  11.  text-shadow: 0 0 10px #fff;
  12.  text-align: center;
  13.  
  14.  line-height: 1.2;
  15.  vertical-align: middle;
  16.  word-wrap: break-word;
  17.  color: #111;
  18.  
  19.  overflow: hidden;
  20.  
  21.  transition: background .4s ease-in-out;
  22.  -webkit-transition: background .4s ease-in-out;
  23.  -moz-transition: background .4s ease-in-out;
  24.  -o-transition: background .4s ease-in-out;
  25.  -ms-transition: background .4s ease-in-out;
  26. }
  27.  
  28. .blog .hentry {
  29.  position: relative;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement