index.css 2.0 KB

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