pop.css 969 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. body {
  2. margin: 0;
  3. font-family: Arial, sans-serif;
  4. font-size: 16px;
  5. line-height: 1.5;
  6. }
  7. header {
  8. background-color: #333;
  9. color: #fff;
  10. padding: 10px;
  11. }
  12. nav ul {
  13. margin: 0;
  14. padding: 0;
  15. list-style: none;
  16. display: flex;
  17. }
  18. nav ul li {
  19. margin-right: 10px;
  20. }
  21. nav ul li:last-child {
  22. margin-right: 0;
  23. }
  24. nav ul li a {
  25. color: #fff;
  26. text-decoration: none;
  27. font-weight: bold;
  28. }
  29. main {
  30. padding: 20px;
  31. max-width: 800px;
  32. margin: 0 auto;
  33. }
  34. h1 {
  35. font-size: 36px;
  36. text-align: center;
  37. }
  38. button {
  39. display: block;
  40. margin: 0 auto;
  41. padding: 10px 20px;
  42. background-color: #333;
  43. color: #fff;
  44. border: none;
  45. border-radius: 5px;
  46. font-size: 18px;
  47. cursor: pointer;
  48. }
  49. button:hover {
  50. background-color: #555;
  51. }
  52. footer {
  53. background-color: #333;
  54. color: #fff;
  55. padding: 10px;
  56. text-align: center;
  57. }