Guest User

Untitled

a guest
Apr 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.15 KB | None | 0 0
  1. p:first-line
  2. {
  3. color: #5b6f7b;
  4. font-family: 'Trebuchet MS',Arial,Helvetica,sans-serif;
  5. font-size: 18px;
  6. font-weight: bold;
  7. line-height: 45px;
  8. text-transform: capitalize;
  9. }
  10.  
  11. p:after
  12. {
  13. color: #5b6f7b;
  14. font-weight: bold;
  15. padding-left: 3px;
  16. text-decoration: underline;
  17. content: "Read More >>";
  18. }
  19.  
  20. #slider, ul, li { height: 300px; }
  21. #slider, li { position: relative; width: 500px; }
  22.  
  23. #slider
  24. {
  25. margin: auto;
  26. overflow: hidden;
  27. /* Non Core */
  28. background: #f6f7f8;
  29. box-shadow: 4px 4px 15px #aaa;
  30.     -o-box-shadow: 4px 4px 15px #aaa;
  31.     -icab-box-shadow: 4px 4px 15px #aaa;
  32.     -khtml-box-shadow: 4px 4px 15px #aaa;
  33.     -moz-box-shadow: 4px 4px 15px #aaa;
  34.     -webkit-box-shadow: 4px 4px 15px #aaa;
  35. border: 1px solid #bcc5cb;
  36. border-width: 1px 2px 2px 1px;
  37. border-radius: 10px;
  38.     -o-border-radius: 10px;
  39.     -icab-border-radius: 10px;
  40.     -khtml-border-radius: 10px;
  41.     -moz-border-radius: 10px;
  42.     -webkit-border-radius: 10px;
  43. padding: 10px;
  44. }
  45. @media screen and (-webkit-min-device-pixel-ratio:0) { #slider { border-width: 1px; } }
  46.  
  47. ul
  48. {
  49. list-style-type: none;
  50. position: absolute;
  51. left: 0px;
  52. top: 0px;
  53. width: 2000px;
  54. -webkit-transition: left .3s linear;
  55. }
  56.  
  57. #a1:target ul { left: 0px; }
  58. #a2:target ul { left: -500px; }
  59. #a3:target ul { left: -1000px; }
  60. #a4:target ul { left: -1500px; }
  61.  
  62. li { float: left; }
  63.  
  64. p
  65. {
  66. position: absolute;
  67. left: 60px;
  68. top: 10px;
  69. width: 400px;
  70. z-index: 1;
  71. }
  72.  
  73. a
  74. {
  75. background-image: url("/data1.png");   
  76. background-repeat: no-repeat;
  77. cursor: pointer;
  78. display: none;
  79. height: 64px;
  80. width: 30px;
  81. outline-width: 0px;
  82. position: absolute;
  83. top: 90px;
  84. text-indent: -9999px;
  85. z-index: 2;
  86. }
  87.  
  88. a[class^="down"] { left: 10px; }
  89. a[class^="up"] { right: 10px; }
  90.  
  91. a[class^="down"]:hover { background-position: right top; }
  92. a[class^="down"], a[class^="down"]:active { background-position: left top; }
  93.  
  94. a[class^="up"]:hover { background-position: right bottom; }
  95. a[class^="up"], a[class^="up"]:active{ background-position: left bottom; }
  96.  
  97.  
  98. :target .up2.default { display: none; }
  99.  
  100. .up2.default,
  101. #a1:target .up2,
  102. #a2:target .down1,
  103. #a2:target .up3,
  104. #a3:target .down2,
  105. #a3:target .up4,
  106. #a4:target .down3
  107. { display: block; }
Add Comment
Please, Sign In to add comment