ahsanshofa

css

Jun 5th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.99 KB | None | 0 0
  1. /*
  2.     reset css
  3. */
  4.  
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header, hgroup,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video {
  18.     margin: 0;
  19.     padding: 0;
  20.     border: 0;
  21.     font-size: 100%;
  22.     font: inherit;
  23.     vertical-align: baseline;
  24. }
  25. /* HTML5 display-role reset for older browsers */
  26. article, aside, details, figcaption, figure,
  27. footer, header, hgroup, menu, nav, section {
  28.     display: block;
  29. }
  30. body {
  31.     line-height: 1;
  32. }
  33. ol, ul {
  34.     list-style: none;
  35. }
  36. blockquote, q {
  37.     quotes: none;
  38. }
  39. blockquote:before, blockquote:after,
  40. q:before, q:after {
  41.     content: '';
  42.     content: none;
  43. }
  44. table {
  45.     border-collapse: collapse;
  46.     border-spacing: 0;
  47. }
  48.  
  49. /* header */
  50.  
  51. .header {
  52.     background-color: #1f9b97;
  53.     height: 60px;
  54.     margin: 0;
  55.     padding: 0;
  56.     width: 100%;
  57. }
  58.  
  59. .mic-header {
  60.     margin: 0 auto;
  61.     padding: 0px 20px;
  62.     max-width: 1024px;
  63.  
  64. }
  65.  
  66. .mic-header font {
  67.     color: #000000;
  68.     font: 40px Calibri, sans-serif, arial regular;
  69.     margin-top: 2px;
  70.     float: left;
  71. }
  72.  
  73. .mic-header ul {
  74.     float: right;
  75.     margin-top: 7px;
  76.     padding: 10px 0px;
  77.     overflow: hidden;
  78. }
  79.  
  80. .mic-header li {
  81.     border-right: 3px solid#000000;
  82.     display: inline;
  83.     padding: 10px 0px;
  84.     transition: all 0.5s;
  85.     -ms-transition: all 0.5s;
  86.     -webkit-transition: all 0.5s;
  87.     -moz-transition: all 0.5s;
  88.     -o-transition: all 0.5s;
  89. }
  90.  
  91. .mic-header li:hover {
  92.     background-color: #08c8cf;
  93. }
  94.  
  95. .mic-header li:last-child {
  96.     border-right: none;
  97. }
  98.  
  99. .mic-header span {
  100.     color: #000000;
  101.     display: inline-block;
  102.     font: 18px Calibri, sans-serif, arial regular;
  103.     transition: all 0.5s;
  104.     -ms-transition: all 0.5s;
  105.     -webkit-transition: all 0.5s;
  106.     -moz-transition: all 0.5s;
  107.     -o-transition: all 0.5s;
  108.     padding: 0px 20px;
  109. }
  110.  
  111. .mic-header li:hover span {
  112.     transform: translateY(200%);
  113.     -ms-transform: translateY(200%);
  114.     -webkit-transform: translateY(200%);
  115.     -moz-transform: translateY(200%);
  116.     -o-transform: translateY(200%);
  117. }
  118.  
  119. .mic-header li span:before {
  120.     display: none;
  121.     font: 18px Calibri, sans-serif, arial regular;
  122.     height: 100%;
  123.     left: 0;
  124.     top: -200%;
  125.     position: absolute;
  126.     width: 100%;
  127. }
  128.  
  129. .mic-header li:hover span:before {
  130.     display: block;
  131. }
  132.  
  133. .home:before {
  134.     color: #ffffff;
  135.     content: "Home";
  136.     padding: 0px 20px;
  137. }
  138.  
  139. .item:before {
  140.     color: #ffffff;
  141.     content: "Item";
  142.     padding: 0px 20px;
  143. }
  144.  
  145. .contact:before {
  146.     color: #ffffff;
  147.     content: "Contact";
  148.     padding: 0px 20px;
  149. }
  150.  
  151. .about:before {
  152.     color: #ffffff;
  153.     content: "About";
  154.     padding: 0px 20px;
  155. }
  156.  
  157. /* microsscopein SlideShow */
  158.  
  159. .slideshow {
  160.     background-color: #08c8cf;
  161.     margin: 0;
  162.     padding-bottom: 50px;
  163.     width: 100%;
  164. }
  165.  
  166. .site-slideshow {
  167.     min-height: 270px;
  168.     margin: 0 auto;
  169.     padding: 50px 20px;
  170.     max-width: 1024px;
  171.  
  172. }
  173.  
  174. .slide {
  175.     display: none;
  176.     position: relative;
  177. }
  178.  
  179. .slide-title {
  180.     color: #ffffff;
  181.     font: 40px Calibri, sans-serif, arial regular;
  182. }
  183.  
  184. .slide-title:hover {
  185.     opacity: 0.5;
  186. }
  187.  
  188. .slide img {    /*images slide*/
  189.     float: left;
  190.     margin-right: 20px;
  191. }
  192.  
  193. .slide p {
  194.     color: #ffffff;
  195.     font: 18px Calibri, sans-serif, arial regular;
  196.     margin-top: 20px;
  197.     max-width: 1024;
  198. }
  199.  
  200. .slide-btn {
  201.     border: 3px solid #ffffff;
  202.     border-radius: 5px;
  203.     -ms-border-radius: 5px;
  204.     -webkit-border-radius: 5px;
  205.     -moz-border-radius: 5px;
  206.     -o-border-radius: 5px;
  207.     color: #ffffff;
  208.     float: left;
  209.     font: 18px Calibri, sans-serif, arial regular;
  210.     transition: all 0.5s;
  211.     -ms-transition: all 0.5s;
  212.     -webkit-transition: all 0.5s;
  213.     -moz-transition: all 0.5s;
  214.     -o-transition: all 0.5s;
  215.     margin: 20px 50px;
  216.     padding: 3px 7px;
  217. }
  218.  
  219. .slide-btn:hover {
  220.     opacity: 0.5;
  221. }
  222.  
  223. .slidelist {
  224.     height: auto;
  225.     float: left;
  226.     text-align: center;
  227.     width: 100%;
  228. }
  229.  
  230. .slidelist li {
  231.     background-color: #ffffff;
  232.     border-radius: 999px;
  233.     -ms-border-radius: 999px;
  234.     -webkit-border-radius: 999px;
  235.     -moz-border-radius: 999px;
  236.     -o-border-radius: 999px;
  237.     cursor: pointer;
  238.     display: inline;
  239.     height: 15px;
  240.     margin: 0px 7px;
  241.     opacity: 0.7;
  242.     text-indent: -999px;
  243.     transition: all 0.5;
  244.     -ms-transition: all 0.5;
  245.     -webkit-transition: all 0.5;
  246.     -moz-transition: all 0.5;
  247.     -o-transition: all 0.5;
  248.     width: 15px;
  249. }
  250.  
  251. .slidelist li:active,
  252. .slidelist li:hover {
  253.     opacity: 1;
  254. }
  255.  
  256. .slide-active {
  257.     background-color: #1aa4a2 !important;
  258. }
  259.  
  260. /* microsscopein responsive */
  261.  
  262. @media screen and (max-width: 510px) {
  263.     .header {
  264.         height: 280px;
  265.     }
  266.     .mic-header ul {
  267.         width: 100%;
  268.     }
  269.  
  270.     .mic-header li {
  271.         border-top: 1px solid #000000;
  272.         display: block;
  273.         text-align: center;
  274.         overflow: hidden;
  275.         width: 100%;
  276.     }
  277.  
  278.     .mic-header li:last-child {
  279.         border-bottom: 1px solid #000000;
  280.     }
  281.  
  282.     .home:before,
  283.     .item:before,
  284.     .contact:before,
  285.     .about:before {
  286.         padding: 0px;
  287.         }
  288.  
  289. }
Advertisement
Add Comment
Please, Sign In to add comment