style.css 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. body {
  2. background-color: #f1f1f1;
  3. }
  4. .column {
  5. float: left;
  6. width: 50%;
  7. }
  8. /* Split the screen in half */
  9. .split {
  10. height: 100%;
  11. width: 50%;
  12. position: fixed;
  13. z-index: 1;
  14. top: 0;
  15. overflow-x: hidden;
  16. padding-top: 20px;
  17. }
  18. /* Control the left side */
  19. .left {
  20. left: 0;
  21. background-color: white;
  22. }
  23. /* Control the right side */
  24. .right {
  25. right: 0;
  26. background-color: #f1f1f1;
  27. }
  28. .top {
  29. height: 50vh;
  30. background-color: #f1f1f1;
  31. }
  32. .bottom {
  33. height: 50vh;
  34. background-color: #f1f1f1;
  35. }
  36. /* If you want the content centered horizontally and vertically */
  37. .centered {
  38. position: absolute;
  39. top: 50%;
  40. left: 40%;
  41. transform: translate(-50%, -50%);
  42. text-align: center;
  43. margin: 10;
  44. }
  45. .header_centered {
  46. position: absolute;
  47. top: 8%;
  48. left: 50%;
  49. transform: translate(-50%, -50%);
  50. text-align: center;
  51. margin: 10;
  52. }
  53. .thick-border {
  54. border: 3px solid black;
  55. border-collapse: collapse;
  56. }
  57. /* Style the image inside the centered container, if needed */
  58. .centered img {
  59. max-width: 140%;
  60. /*border-radius: 50%;
  61. }