index.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. *{margin:0;padding:0;}
  2. body{
  3. font-family: monospace;
  4. background: #152730;
  5. box-sizing: border-box;
  6. padding: 25px;
  7. }
  8. h1{
  9. text-align: center;
  10. margin-bottom: 50px;
  11. font-size: 50px;
  12. }
  13. .article{
  14. background: #C4C6C0;
  15. width: 75vw;
  16. box-sizing: border-box;
  17. padding: 50px;
  18. margin: auto;
  19. margin-bottom: 50px;
  20. }
  21. .paragraph{
  22. text-indent: 50px;
  23. margin-bottom: 22px;
  24. text-align: justify;
  25. font-size: 22px;
  26. line-height: 1.8;
  27. }
  28. #createComment{
  29. display: flex;
  30. flex-direction: column;
  31. align-items: center;
  32. width: 75vw;
  33. background: #C4C6C0;
  34. box-sizing: border-box;
  35. margin: auto;
  36. padding: 25px;
  37. margin-bottom: 50px;
  38. }
  39. #createComment > *{
  40. margin: 10px;
  41. }
  42. #createComment label{
  43. display: flex;
  44. flex-direction: column;
  45. width: 60%;
  46. }
  47. #nameInput{
  48. font-size: 16px;
  49. }
  50. #commentInput{
  51. font-size: 16px;
  52. }
  53. input[type=submit]{
  54. border: none;
  55. background: black;
  56. color: white;
  57. padding: 10px;
  58. cursor: pointer;
  59. font-size: 20px;
  60. box-shadow: 0 0 5px black;
  61. }
  62. input[type=submit]:hover{
  63. background: white;
  64. color: black;
  65. }
  66. input[type=submit]:active{
  67. box-shadow: none;
  68. }
  69. #comments{
  70. display: flex;
  71. flex-direction: column;
  72. align-items: center;
  73. width: 75vw;
  74. background: #C4C6C0;
  75. box-sizing: border-box;
  76. margin: auto;
  77. padding-bottom: 25px;
  78. }
  79. #comments > *{
  80. margin: 10px;
  81. }
  82. .comment{
  83. display: flex;
  84. flex-direction: column;
  85. width: 75%;
  86. background: white;
  87. padding: 25px;
  88. }
  89. .comment h3{
  90. font-size: 16px;
  91. }
  92. .comment > div{
  93. display: flex;
  94. justify-content: space-between;
  95. align-items: center;
  96. margin-bottom: 15px;
  97. }
  98. .comment > p{
  99. font-size: 16px;
  100. }