Repositorio del curso CCOM4030 el semestre B91 del proyecto Paz para la Mujer

index.css 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. * {
  2. -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
  3. }
  4. body {
  5. -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
  6. -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
  7. -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
  8. background-color:#E4E4E4;
  9. background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
  10. font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
  11. font-size:12px;
  12. height:100vh;
  13. margin:0px;
  14. padding:0px;
  15. /* Padding to avoid the "unsafe" areas behind notches in the screen */
  16. padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-right, 0px);
  17. width:100%;
  18. }
  19. /* Portrait layout (default) */
  20. .app {
  21. background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
  22. position:absolute; /* position in the center of the screen */
  23. left:50%;
  24. top:50%;
  25. height:50px; /* text area height */
  26. width:225px; /* text area width */
  27. text-align:center;
  28. padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */
  29. margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */
  30. /* offset horizontal: half of text area width */
  31. }
  32. /* Landscape layout (with min-width) */
  33. @media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
  34. .app {
  35. background-position:left center;
  36. padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */
  37. margin:-90px 0px 0px -198px; /* offset vertical: half of image height */
  38. /* offset horizontal: half of image width and text area width */
  39. }
  40. }
  41. h1 {
  42. font-size:20px;
  43. font-weight:normal;
  44. margin:0px;
  45. overflow:visible;
  46. padding:0px;
  47. text-align:center;
  48. }
  49. .event {
  50. border-radius:4px;
  51. -webkit-border-radius:4px;
  52. color:#FFFFFF;
  53. font-size:12px;
  54. margin:0px 30px;
  55. padding:2px 0px;
  56. }
  57. .event.listening {
  58. background-color:#333333;
  59. display:block;
  60. }
  61. .event.received {
  62. background-color:#4B946A;
  63. display:none;
  64. }
  65. @keyframes fade {
  66. from { opacity: 1.0; }
  67. 50% { opacity: 0.4; }
  68. to { opacity: 1.0; }
  69. }
  70. @-webkit-keyframes fade {
  71. from { opacity: 1.0; }
  72. 50% { opacity: 0.4; }
  73. to { opacity: 1.0; }
  74. }
  75. .blink {
  76. animation:fade 3000ms infinite;
  77. -webkit-animation:fade 3000ms infinite;
  78. }
  79. #map{
  80. width: 70%;
  81. height: 70%;
  82. padding-left: 20px;
  83. padding-right: 20px;
  84. padding-top: 20px;
  85. padding-bottom: 20px;
  86. }