galleryindex.css 1020 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #header {
  2. /* background-image: url("header/header.jpg"); */
  3. }
  4. #header h1 {
  5. height: 2.0em;
  6. }
  7. .img-wrapper {
  8. width: 100%;
  9. height: 100%;
  10. position: relative;
  11. display: inline;
  12. }
  13. img {
  14. width: 100%
  15. height: 100%;
  16. opacity: 1;
  17. }
  18. img:hover{
  19. opacity: .3;
  20. color: black;
  21. }
  22. a:link, .p a:visited, .p a:hover, .p a:active {
  23. color:white;
  24. text-decoration: none;
  25. }
  26. .p {
  27. padding: 0.5em;
  28. color: white;
  29. position: absolute;
  30. top: -100px;
  31. left: 0px;
  32. font-size: 29px;
  33. display: inline-block;
  34. /* text-align: center; */
  35. position: absolute;
  36. top: 50%;
  37. left: 50%;
  38. transform: translate(-50%, -50%);
  39. }