Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. body {
  2. font-family: Arial;
  3. counter-reset: podrozdzial;
  4. margin-left: 200px;
  5. margin-right: 200px;
  6. }
  7.  
  8. p:first-of-type {
  9. font-weight: bold;
  10. }
  11.  
  12. h2 + p:first-letter {
  13. font-size: 200%;
  14. }
  15.  
  16. table {
  17. width: 500px;
  18. margin: auto;
  19. border-spacing: 0px;
  20. }
  21.  
  22. col:first-of-type {
  23. width: 50%;
  24. }
  25.  
  26. col:nth-child(2) {
  27. width: 20%;
  28. }
  29.  
  30. col:last-of-type {
  31. width: 30%;
  32. }
  33.  
  34. th {
  35. background-color: darkblue;
  36. color: white;
  37. font-weight: bold;
  38. }
  39.  
  40. tr:nth-child(even) {
  41. background-color: #CCC;
  42. }
  43.  
  44. tr:nth-child(odd) {
  45. background-color: #FFF;
  46. }
  47.  
  48. td:first-of-type {
  49. text-align: left;
  50. padding-left: 10px;
  51. }
  52.  
  53. td:nth-of-type(2) {
  54. text-align: center;
  55. }
  56.  
  57. td:last-of-type {
  58. text-align: center;
  59. }
  60.  
  61. a[target="_blank"]:after {
  62. content: '[\2197]';
  63. }
  64.  
  65. h2:before {
  66. counter-increment: podrozdzial;
  67. content: counter(podrozdzial) '. ';
  68. }
  69.  
  70. h2 {
  71. counter-reset: podrozdzial2;
  72. }
  73.  
  74. h3:before {
  75. counter-increment: podrozdzial2;
  76. content: counter(podrozdzial) '. ' counter(podrozdzial2) ' ';
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement