Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. // reset
  2.  
  3. html, body, div, span, object, iframe,
  4. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. abbr, address, cite, code,
  6. del, dfn, em, img, ins, kbd, q, samp,
  7. small, strong, sub, sup, var,
  8. b, i,
  9. dl, dt, dd, ol, ul, li,
  10. fieldset, form, label, legend,
  11. table, caption, tbody, tfoot, thead, tr, th, td,
  12. article, aside, canvas, details, figcaption, figure,
  13. footer, header, hgroup, menu, nav, section, summary,
  14. time, mark, audio, video {
  15. margin:0;
  16. padding:0;
  17. border:0;
  18. outline:0;
  19. font-size:100%;
  20. vertical-align:baseline;
  21. background:transparent;
  22. }
  23. html,body{
  24. height: 100%;
  25. padding: 0;
  26. margin: 0;
  27. line-height:1;
  28. }
  29.  
  30. article,aside,details,figcaption,figure,
  31. footer,header,hgroup,menu,nav,section {
  32. display:block;
  33. }
  34.  
  35. nav ul {
  36. list-style:none;
  37. }
  38.  
  39. blockquote, q {
  40. quotes:none;
  41. }
  42.  
  43. blockquote:before, blockquote:after,
  44. q:before, q:after {
  45. content:'';
  46. content:none;
  47. }
  48.  
  49. a {
  50. margin:0;
  51. padding:0;
  52. font-size:100%;
  53. vertical-align:baseline;
  54. background:transparent;
  55. }
  56.  
  57. ins {
  58. text-decoration:none;
  59. }
  60.  
  61. mark {
  62. font-style:italic;
  63. font-weight:bold;
  64. }
  65.  
  66. del {
  67. text-decoration: line-through;
  68. }
  69.  
  70. abbr[title], dfn[title] {
  71. border-bottom:1px dotted;
  72. cursor:help;
  73. }
  74.  
  75. table {
  76. border-collapse:collapse;
  77. border-spacing:0;
  78. }
  79.  
  80. hr {
  81. display:block;
  82. height:1px;
  83. border:0;
  84. border-top:1px solid #cccccc;
  85. margin:1em 0;
  86. padding:0;
  87. }
  88.  
  89. input, select {
  90. vertical-align:middle;
  91. }
  92.  
  93. // end reset begin skelet
  94.  
  95. article{
  96. min-height: calc(100% - 150px);
  97. background: #123; // demostyle
  98. }
  99. header{
  100. height: 50px;
  101. background: gray; // demostyle
  102. }
  103. footer{
  104. height: 150px;
  105. background: red; // demostyle
  106. }
  107. .js-popup{
  108. display: none;
  109. }
  110. .popup-background{
  111. position: fixed;
  112. background: #000;
  113. opacity: .8;
  114. top: 0;
  115. right: 0;
  116. bottom: 0;
  117. left: 0;
  118. }
  119. .popup-content{
  120. width: 300px;
  121. min-height: 200px;
  122. max-width: 100%;
  123. background: blue; // demostyle
  124. position: fixed;
  125. left: 50%;
  126. top: 50%;
  127. transform: translate(-50%, -50%);
  128. }
  129.  
  130. // your code here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement