Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. *,
  2. *:before,
  3. *:after {
  4. box-sizing: border-box;
  5. }
  6.  
  7. html {
  8. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  9. font-size: 16px;
  10. }
  11.  
  12. /* how to calc relative units
  13. target /. content = result
  14. 48px / 16px = 3
  15. 20 / 16px = 1.25em
  16. (header size goal) / (default font size) = result
  17.  
  18.  
  19. */
  20.  
  21. body {
  22. margin: 0;
  23. }
  24. .pk-banner-lg {
  25. display: none;
  26. }
  27.  
  28. h1.pk-title {
  29. margin: 0;
  30. text-align: center;
  31. width: 100%;
  32. padding: 10px 20px;
  33. font-size: 3rem;
  34. }
  35.  
  36. span.pk-title-alt {
  37. display: none;
  38. }
  39.  
  40. img {
  41. max-width: 100%;
  42. }
  43. p {
  44. font-size: 1.25rem;
  45. line-height: 1.5rem;
  46.  
  47. .pk-main {
  48. overflow: auto;
  49. }
  50. }
  51. .pk-description {
  52. background-color: lavender;
  53. padding: 10px 20px;
  54. }
  55.  
  56. .pk-description > h2 {
  57. margin-top: 0;
  58. }
  59.  
  60. .pk-description > p {
  61. margin-top: 0px;
  62. }
  63.  
  64. /*MQS*/
  65. @media (min-width: 480px) {
  66.  
  67. .pk-banner-sm {
  68. display: none;
  69. }
  70.  
  71. .pk-banner-lg {
  72. display: block;
  73. }
  74. }
  75.  
  76. @media (min-width: 800px) {
  77. .pk-description {
  78. padding: 1rem 2rem;
  79. float: left;
  80. width: 50%;
  81. }
  82. .pk-description:nth-child(2n+1){
  83. /*clear: both;*/
  84. }
  85. .pk-footer {
  86. /*clear: both;*/
  87. }
  88. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement