Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0

custom.css 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. body {
  2. font-family: 'Lato', sans-serif;
  3. }
  4. .overlay {
  5. height: 100%;
  6. width: 50%;
  7. position: fixed;
  8. z-index: 1;
  9. top: 0;
  10. left: 100%;
  11. right: 0;
  12. background-color: white;
  13. border-left-style: solid;
  14. border-width: 2px;
  15. overflow-x: hidden;
  16. transition: 0.5s;
  17. }
  18. .nav-bar{
  19. width: 100%;
  20. margin: auto;
  21. }
  22. #menubtn {
  23. padding: 8px;
  24. float:right;
  25. }
  26. .overlay-content {
  27. position: relative;
  28. top: auto;
  29. width: 33%;
  30. text-align: left;
  31. padding-top: 80px;
  32. margin-left: 8px;
  33. }
  34. .overlay span {
  35. padding: 8px;
  36. text-decoration: none;
  37. font-size: 36px;
  38. color: black;
  39. display: block;
  40. transition: 0.3s;
  41. float:right;
  42. }
  43. .overlay h2 {
  44. padding: 8px;
  45. font-size: 48px ;
  46. color: black;
  47. display: block;
  48. transition: 0.3s;
  49. float:left;
  50. }
  51. .overlay a {
  52. padding: 8px;
  53. text-decoration: none;
  54. font-size: 36px;
  55. color: black;
  56. display: block;
  57. transition: 0.3s;
  58. }
  59. .overlay a:hover, .overlay a:focus {
  60. color: #f1f1f1;
  61. }
  62. .overlay .closebtn {
  63. position: absolute;
  64. top: 20px;
  65. right: 45px;
  66. font-size: 60px;
  67. }
  68. @media screen and (max-height: 450px) {
  69. .overlay h2 {font-size: 32px}
  70. .overlay a {font-size: 20px}
  71. .overlay-content {font-size: }
  72. .overlay .closebtn {
  73. font-size: 40px;
  74. top: 15px;
  75. right: 35px;
  76. }
  77. }