main.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. /* Variables */
  2. :root {
  3. --columns: 5;
  4. --tile-margin: .9vw;
  5. --body-margin: 3.6vw;
  6. /* --tile-margin: 12.75px; */
  7. /* --body-margin: 66px; */
  8. --header-inner-space: calc(8 * var(--tile-margin));
  9. --header-space: calc(10 * var(--tile-margin) - 10px);
  10. }
  11. /* Columns */
  12. /* @media (max-width: 1500px) {
  13. :root { --columns: 5; }
  14. }
  15. @media (max-width: 1000px) {
  16. :root { --columns: 4; }
  17. }
  18. @media (max-width: 700px) {
  19. :root { --columns: 3; }
  20. }
  21. @media (max-width: 500px) {
  22. :root { --columns: 2; }
  23. }
  24. @media (max-width: 400px) {
  25. :root { --columns: 1; }
  26. } */
  27. /* Font Size */
  28. :root {
  29. /* font-size: 180%; */
  30. font-size: 1.2vw;
  31. font-weight: 100;
  32. }
  33. h1 {
  34. /* font-size: 97%; */
  35. font-size: 1.18vw;
  36. }
  37. /* @media (max-width: 1500px) {
  38. :root { font-size: 22px; }
  39. h1 { font-size: 22px; }
  40. }
  41. @media (max-width: 1240px) {
  42. :root { font-size: 18px; }
  43. }
  44. @media (max-width: 1080px) {
  45. :root { font-size: 16px; }
  46. } */
  47. /* Margins */
  48. /* @media (max-width: 1080px) {
  49. :root {
  50. --tile-margin: 12.75px;
  51. --body-margin: 33px;
  52. }
  53. } */
  54. /* Header */
  55. @media (max-width: 935px) {
  56. #menu { visibility: hidden; }
  57. }
  58. #logo {
  59. width: 9vw;
  60. margin: 0 21.5px .2em 15px;
  61. }
  62. /* @media (max-width: 460px) {
  63. #logo { width: 130px; }
  64. } */
  65. /* Typographies */
  66. @font-face {
  67. font-family: 'nexa-light';
  68. src: url('/static/font/nexa-light-regular.otf') format('opentype');
  69. }
  70. @font-face {
  71. font-family: 'geoslab';
  72. src: url('/static/font/geoslab703-md-bt-bold.ttf') format('truetype');
  73. }
  74. /* Rules */
  75. :root {
  76. font-family: 'nexa-light';
  77. letter-spacing: 1.5px;
  78. }
  79. .sec-div {
  80. font-weight: bold;
  81. font-family: 'nexa-light';
  82. }
  83. a {
  84. color: black;
  85. margin: .05rem .3rem;
  86. text-decoration: none;
  87. }
  88. a.en {
  89. margin-bottom: .5em;
  90. }
  91. h1 {
  92. margin: .5em 0;
  93. text-align: center;
  94. letter-spacing: 1px;
  95. font-weight: 100;
  96. font-family: 'geoslab';
  97. text-decoration: none;
  98. text-transform: uppercase;
  99. }
  100. h2 {
  101. font-size: .9em;
  102. font-family: 'geoslab';
  103. text-decoration: none;
  104. text-transform: uppercase;
  105. }
  106. h3 {
  107. font-size: 20px;
  108. font-family: 'nexa-light';
  109. }
  110. a.current, a[href]:hover {
  111. /* cursor: default; */
  112. /* display: inline-block; */
  113. color: #ff2d00;
  114. }
  115. a.selected {
  116. color: #ff2d00;
  117. }
  118. div {
  119. display: flex;
  120. }
  121. body {
  122. width: calc(100% - 2*var(--body-margin));
  123. margin: 0 var(--body-margin);
  124. /* width: 94%;
  125. margin: 0 3%; */
  126. /* width: calc(100% - 2*var(--body-margin)); */
  127. /* margin: 0 var(--body-margin); */
  128. position: absolute;
  129. }
  130. header {
  131. width: calc(100% - 2*(var(--body-margin)));
  132. margin: 0;
  133. /* width: calc(100% - 2*(var(--body-margin) + var(--tile-margin))); */
  134. /* margin: 0 var(--tile-margin); */
  135. /* width: 100%; */
  136. /* margin: 0 calc(var(--body-margin) + var(--tile-margin)); */
  137. display: flex;
  138. flex-direction: column;
  139. /* margin: 0 0 0 var(--tile-margin); */
  140. justify-content: flex-end;
  141. position: fixed;
  142. /* width: calc(100% - 2*var(--body-margin) - 2*var(--tile-margin)); */
  143. background-color: white;
  144. /* padding-bottom: calc(2*var(--tile-margin)); */
  145. /* border-bottom: calc(2*var(--tile-margin)); */
  146. height: var(--header-space);
  147. position: fixed;
  148. z-index: 1;
  149. }
  150. /* header::after {
  151. content: " ";
  152. background-color: black;
  153. height: var(--header-line-width);
  154. width: 100%;
  155. align-self: flex-start;
  156. } */
  157. .header-box {
  158. padding-bottom: calc(2 * var(--tile-margin));
  159. overflow: hidden;
  160. display: flex;
  161. flex-direction: row;
  162. align-items: flex-end;
  163. justify-content: space-between;
  164. flex-wrap: wrap;
  165. height: var(--header-inner-space);
  166. }
  167. .vbox {
  168. display: flex;
  169. flex-direction: column;
  170. align-items: center;
  171. }
  172. .rbox .vbox {
  173. align-items: flex-end;
  174. }
  175. .lbox .vbox {
  176. align-items: flex-start;
  177. }
  178. .hbox {
  179. display: flex;
  180. flex-direction: row;
  181. align-items: center;
  182. }
  183. .lbox {
  184. display: flex;
  185. flex-direction: row;
  186. align-items: flex-end;
  187. justify-content: flex-start;
  188. }
  189. .rbox {
  190. display: flex;
  191. flex-direction: row;
  192. align-items: center;
  193. justify-content: flex-end;
  194. }
  195. .header-subtitle {
  196. display: flex;
  197. flex-direction: row;
  198. flex-wrap: wrap;
  199. justify-content: flex-end;
  200. align-items: center;
  201. margin-top: 0;
  202. }
  203. #alucho-title, #designer-subtitle {
  204. flex-wrap: wrap;
  205. }
  206. .no-bottom {
  207. margin-bottom: 0;
  208. }
  209. .header-title {
  210. display: flex;
  211. flex-direction: row;
  212. flex-wrap: wrap;
  213. justify-content: flex-end;
  214. align-items: center;
  215. /* margin-bottom: 8px; */
  216. }
  217. /* header > a, header > h1 {
  218. margin: 0 3px;
  219. } */
  220. /* .header-subtitle > a {
  221. margin: 0 5px;
  222. } */
  223. a.first {
  224. margin-left: var(--tile-margin);
  225. }
  226. a.last {
  227. margin-right: var(--tile-margin);
  228. }
  229. .main-content {
  230. display: flex;
  231. flex-direction: row;
  232. flex-wrap: wrap;
  233. justify-content: flex-start;
  234. margin-top: var(--header-space);
  235. /* margin: 0; */
  236. /* margin-top: calc(var(--header-space) + var(--body-margin)); */
  237. position: static;
  238. }
  239. .sqr-item {
  240. display: flex;
  241. width: calc(100% / var(--columns) - 2 * var(--tile-margin));
  242. margin: var(--tile-margin);
  243. }
  244. .sqr-item img {
  245. width: 100%;
  246. }
  247. .sqr-item svg {
  248. width: 100%;
  249. height: 100%;
  250. background-color: #bbb9ba;
  251. }