style.css 451 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* Basic layout */
  2. h4 {
  3. margin-top: 1.25em;
  4. }
  5. a {
  6. padding: 1px;
  7. }
  8. a:hover, a.hover {
  9. color: red;
  10. }
  11. /* demo elements */
  12. #demo-portrait {
  13. float: left;
  14. position: relative;
  15. width: 130px;
  16. height: 153px;
  17. border: 1px solid #eee;
  18. background-position: 1px 1px;
  19. background-repeat: no-repeat;
  20. }
  21. #demo-portrait a {
  22. position: absolute;
  23. left: 1px;
  24. right: 1px;
  25. bottom: 1px;
  26. padding: 0;
  27. line-height: 22px;
  28. display: block;
  29. text-align: center;
  30. }