Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. html{
  2. font-size:16px;
  3. }
  4. body {
  5. font-family: Arial, Helvetica, sans-serif;
  6. font-size: 1rem;
  7. line-height: normal;
  8. padding-top: 0.5rem;
  9. padding-bottom: 0.5rem;
  10. background-color: #333333;
  11. color: white;
  12. padding: 1rem;
  13. }
  14.  
  15. body > *:first-child{
  16. margin-top: 0 !important;
  17. }
  18.  
  19. body > *:last-child{
  20. margin-bottom: 0 !important;
  21. }
  22.  
  23. h1, h2, h3, h4, h5, h6 {
  24. margin: 1.2rem 0 0.8rem;
  25. padding: 0;
  26. font-weight: bold;
  27. -webkit-font-smoothing: antialiased;
  28. cursor: text;
  29. position: relative;
  30. }
  31.  
  32. h1:hover{
  33. background-color: aqua;
  34. transition-property: background-color;
  35. transition-duration: 2s;
  36. transition-delay: 0.5s;
  37. }
  38.  
  39. h1 tt, h1 code{
  40. font-size: inherit;
  41. }
  42.  
  43. h2 tt, h2 code{
  44. font-size: inherit;
  45. }
  46.  
  47. h3 tt, h3 code{
  48. font-size: inherit;
  49. }
  50.  
  51. h4 tt, h4 code{
  52. font-size: inherit;
  53. }
  54.  
  55. h5 tt, h5 code{
  56. font-size: inherit;
  57. }
  58.  
  59. h6 tt, h6 code{
  60. font-size: inherit;
  61. }
  62.  
  63. h1{
  64. font-size: 2rem;
  65. }
  66.  
  67. h2{
  68. font-size: 1.75rem;
  69. }
  70.  
  71. h3{
  72. font-size: 1.4rem;
  73. }
  74.  
  75. h4{
  76. font-size: 1.2rem;
  77. }
  78.  
  79. h5{
  80. font-size: 1.1rem;
  81. }
  82.  
  83. h6{
  84. font-size: 1.05rem;
  85. }
  86.  
  87. body > h1:first-child, body > h2:first-child, body > h3:first-child, body > h4:first-child, body > h5:first-child, body > h6:first-child{
  88. margin-top: 0;
  89. padding-top: 0;
  90. }
  91.  
  92. li p.first{
  93. display: inline-block;
  94. }
  95.  
  96. table{
  97. padding: 0;}
  98. table tr{
  99. border-top: solid purple;
  100. background-color: #111111;
  101. margin:0;
  102. padding: 0;
  103. }
  104. table tr th{
  105. font-weight: bold;
  106. border: 0.05rem solid purple;
  107. text-align: center;
  108. margin: 0;
  109. padding: 0.5rem 0.5rem;
  110. }
  111. table tr td{
  112. border:0.05rem solid purple;
  113. text-align: left;
  114. margin: 0;
  115. padding: 0.5rem 0.5rem;
  116. }
  117. table tr:nth-child(2n){
  118. background-color: #444444;
  119. }
  120. table tr th :first-child, table tr td :first-child{
  121. margin-top: 0;
  122. }
  123. table tr th :last-child, table tr td :last-child{
  124. margin-bottom: 0;
  125. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement