style.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. :root {
  2. --red-daspo: #f5553d;
  3. --red-daspo-rgb: 245, 100, 61;
  4. }
  5. body,
  6. html {
  7. padding: 0;
  8. margin: 0;
  9. font-family: "IBM Plex Mono", monospace;
  10. position: relative;
  11. }
  12. .material-icons {
  13. font-family: "Material Icons";
  14. font-weight: normal;
  15. font-style: normal;
  16. font-size: 24px; /* Preferred icon size */
  17. display: inline-block;
  18. line-height: 1;
  19. text-transform: none;
  20. letter-spacing: normal;
  21. word-wrap: normal;
  22. white-space: nowrap;
  23. direction: ltr;
  24. /* Support for all WebKit browsers. */
  25. -webkit-font-smoothing: antialiased;
  26. /* Support for Safari and Chrome. */
  27. text-rendering: optimizeLegibility;
  28. /* Support for Firefox. */
  29. -moz-osx-font-smoothing: grayscale;
  30. /* Support for IE. */
  31. font-feature-settings: "liga";
  32. }
  33. h1,
  34. h2,
  35. h3 {
  36. font-family: "Black Ops One", cursive;
  37. }
  38. #cover {
  39. width: 100%;
  40. height: 100vh;
  41. background-color: #f5553d;
  42. }
  43. #cover-title {
  44. font-family: "Black Ops One", cursive;
  45. -webkit-text-stroke: 2px #fff;
  46. color: transparent;
  47. font-size: 5rem;
  48. position: relative;
  49. }
  50. #cover-sub-title {
  51. font-family: "IBM Plex Mono", monospace;
  52. font-weight: 700;
  53. -webkit-text-stroke: none;
  54. color: white;
  55. font-size: 1.2rem;
  56. line-height: 1;
  57. margin-top: 0px;
  58. margin-left: 0px;
  59. }
  60. #cover-enter {
  61. font-family: "Black Ops One", cursive;
  62. font-size: 2rem;
  63. line-height: 1;
  64. }
  65. #cover-enter a {
  66. color: white;
  67. margin-bottom: 15px;
  68. }
  69. #author {
  70. display: flex;
  71. align-items: flex-end;
  72. padding-bottom: 15px;
  73. }
  74. #author p {
  75. font-family: "IBM Plex Mono", monospace;
  76. font-size: 1rem;
  77. color: white;
  78. line-height: 1.3;
  79. margin: 0 5px;
  80. text-align: right;
  81. }
  82. #author a {
  83. text-decoration: underline;
  84. }
  85. .intro-text {
  86. font-size: 1.1rem;
  87. margin-top: 35px;
  88. margin-bottom: 35px;
  89. }
  90. .intro-text a,
  91. table a {
  92. color: var(--red-daspo);
  93. }
  94. table a:hover {
  95. color: var(--red-daspo);
  96. }
  97. .navbar-left-container {
  98. position: sticky;
  99. position: -webkit-sticky;
  100. top: 15px;
  101. z-index: 1020;
  102. }
  103. #navbar-left .list-group-item {
  104. background-color: transparent;
  105. border: 1px solid var(--red-daspo);
  106. }
  107. #navbar-left .list-group-item:first-child {
  108. border-top-left-radius: 0;
  109. border-top-right-radius: 0;
  110. }
  111. #navbar-left .list-group-item:last-child {
  112. border-bottom-right-radius: 0;
  113. border-bottom-left-radius: 0;
  114. }
  115. #navbar-left .list-group-item.active {
  116. z-index: 2;
  117. color: #212529;
  118. background-color: white;
  119. text-decoration: line-through;
  120. }
  121. #sub-chapters h3 {
  122. margin-bottom: 25px;
  123. padding-top: 25px;
  124. }
  125. #sub-chapters p {
  126. columns: 1;
  127. margin-bottom: 40px;
  128. text-align: left;
  129. }
  130. #container {
  131. width: 100%;
  132. height: 100vh;
  133. position: relative;
  134. }
  135. #map-home {
  136. width: 100%;
  137. height: 70vh;
  138. margin-bottom: 25px;
  139. }
  140. .tomap {
  141. font-weight: 700;
  142. }
  143. .tomap a,
  144. #sub-chapters p a,
  145. .list-previous a {
  146. color: var(--red-daspo);
  147. }
  148. .list-previous {
  149. padding-left: 20px;
  150. }
  151. /* map page */
  152. #map {
  153. height: 60vh;
  154. width: 100%;
  155. }
  156. #table-layers {
  157. font-size: 0.875rem;
  158. }
  159. .back {
  160. position: sticky;
  161. position: -webkit-sticky;
  162. top: 48px;
  163. }
  164. .back a {
  165. color: white;
  166. -webkit-text-stroke: 1px black;
  167. text-decoration: none;
  168. }
  169. .map-overlay {
  170. font: bold 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
  171. position: absolute;
  172. width: 25%;
  173. bottom: 10px;
  174. right: 0;
  175. padding: 10px;
  176. }
  177. .map-overlay .map-overlay-inner {
  178. background-color: #fff;
  179. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  180. border-radius: 3px;
  181. padding: 10px;
  182. margin-bottom: 10px;
  183. }
  184. .map-overlay label {
  185. display: block;
  186. margin: 0 0 10px;
  187. }
  188. .map-overlay input {
  189. background-color: transparent;
  190. display: inline-block;
  191. width: 100%;
  192. position: relative;
  193. margin: 0;
  194. cursor: ew-resize;
  195. }
  196. #menu {
  197. background: #fff;
  198. border: 1px solid var(--red-daspo);
  199. margin-bottom: 35px;
  200. }
  201. #menu a {
  202. font-size: 13px;
  203. color: #404040;
  204. display: block;
  205. margin: 0;
  206. padding: 0;
  207. padding: 10px;
  208. text-decoration: none;
  209. border-bottom: 1px solid var(--red-daspo);
  210. text-align: center;
  211. }
  212. #menu a:last-child {
  213. border: none;
  214. }
  215. #menu a:hover {
  216. background-color: rgba(var(--red-daspo-rgb), 0.5);
  217. color: #404040;
  218. }
  219. #menu a.active {
  220. background-color: rgba(var(--red-daspo-rgb), 0.9);
  221. color: #ffffff;
  222. }
  223. #menu a.active:hover {
  224. background-color: rgba(var(--red-daspo-rgb), 1);
  225. }
  226. /* Small devices (landscape phones, 576px and up) */
  227. @media (min-width: 576px) {
  228. }
  229. /* Medium devices (tablets, 768px and up) */
  230. @media (min-width: 768px) {
  231. #cover-title {
  232. font-size: 11rem;
  233. }
  234. #cover-sub-title {
  235. font-size: 2.5rem;
  236. line-height: 1;
  237. margin-top: 37px;
  238. margin-left: -49px;
  239. }
  240. #cover-enter {
  241. font-size: 5rem;
  242. }
  243. .intro-text {
  244. font-size: 1.4rem;
  245. }
  246. #sub-chapters p {
  247. columns: 2;
  248. column-gap: 35px;
  249. text-align: justify;
  250. margin-bottom: 75px;
  251. }
  252. #map {
  253. height: 100vh;
  254. }
  255. #table-layers {
  256. font-size: 1rem;
  257. }
  258. #sub-chapters p#firma {
  259. columns: 1;
  260. column-gap: 0 !important;
  261. }
  262. }
  263. /* Large devices (desktops, 992px and up) */
  264. @media (min-width: 992px) {
  265. }
  266. /* Extra large devices (large desktops, 1200px and up) */
  267. @media (min-width: 1200px) {
  268. }