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

index.css 2.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. text-transform:uppercase;
  18. width:100%;
  19. }
  20. /* Portrait layout (default) */
  21. .app {
  22. background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
  23. position:absolute; /* position in the center of the screen */
  24. left:50%;
  25. top:50%;
  26. height:50px; /* text area height */
  27. width:225px; /* text area width */
  28. text-align:center;
  29. padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */
  30. margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */
  31. /* offset horizontal: half of text area width */
  32. }
  33. /* Landscape layout (with min-width) */
  34. @media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
  35. .app {
  36. background-position:left center;
  37. padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */
  38. margin:-90px 0px 0px -198px; /* offset vertical: half of image height */
  39. /* offset horizontal: half of image width and text area width */
  40. }
  41. }
  42. h1 {
  43. font-size:24px;
  44. font-weight:normal;
  45. margin:0px;
  46. overflow:visible;
  47. padding:0px;
  48. text-align:center;
  49. }
  50. .event {
  51. border-radius:4px;
  52. -webkit-border-radius:4px;
  53. color:#FFFFFF;
  54. font-size:12px;
  55. margin:0px 30px;
  56. padding:2px 0px;
  57. }
  58. .event.listening {
  59. background-color:#333333;
  60. display:block;
  61. }
  62. .event.received {
  63. background-color:#4B946A;
  64. display:none;
  65. }
  66. @keyframes fade {
  67. from { opacity: 1.0; }
  68. 50% { opacity: 0.4; }
  69. to { opacity: 1.0; }
  70. }
  71. @-webkit-keyframes fade {
  72. from { opacity: 1.0; }
  73. 50% { opacity: 0.4; }
  74. to { opacity: 1.0; }
  75. }
  76. .blink {
  77. animation:fade 3000ms infinite;
  78. -webkit-animation:fade 3000ms infinite;
  79. }
  80. #map{
  81. width: 100%;
  82. height: 100%;
  83. }