styles.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  1. html{
  2. box-sizing: border-box;
  3. moz-box-sizing: border-box;
  4. webkit-box-sizing: border-box;
  5. webkit-text-size-adjust: none;
  6. }
  7. html,
  8. body{
  9. background-color: var(--color-background);
  10. color: var(--color-text-pri);
  11. font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif;
  12. font-size: 14px;
  13. font-weight: 400;
  14. height: auto;
  15. letter-spacing: -.012em;
  16. margin: 0;
  17. padding: 0;
  18. webkit-font-smoothing: antialiased;
  19. width: 100vw;
  20. }
  21. *,
  22. *:before,
  23. *:after{
  24. box-sizing: inherit;
  25. moz-box-sizing: inherit;
  26. webkit-box-sizing: inherit;
  27. }
  28. :root{
  29. module-spacing: 3vh;
  30. }
  31. /* TEXT STYLES */
  32. h1, h2{
  33. font-weight: 300;
  34. margin: 0;
  35. padding: 0;
  36. text-align: left;
  37. }
  38. h2, h3, h4{
  39. text-transform: uppercase;
  40. }
  41. h1{
  42. font-size: 4em;
  43. font-weight: 700;
  44. margin-bottom: 0.5em;
  45. }
  46. h2{
  47. font-size: 16px;
  48. height: 30px;
  49. }
  50. h3{
  51. font-size: 20px;
  52. font-weight: 900;
  53. height: 10px;
  54. }
  55. h4{
  56. font-size: 1.1em;
  57. font-weight: 400;
  58. height: 10px;
  59. }
  60. a{
  61. color: var(--color-text-pri);
  62. text-decoration: none;
  63. }
  64. a:hover{
  65. text-decoration: underline;
  66. webkit-text-decoration-color: var(--color-text-acc);
  67. webkit-text-decoration-skip: true;
  68. }
  69. .icon{
  70. font-size: 2.5em;
  71. }
  72. /* FORMS */
  73. input{
  74. background-color: transparent;
  75. border: 0;
  76. border-bottom: thin solid var(--color-text-acc);
  77. color: var(--color-text-pri);
  78. font-size: 0.8em;
  79. height: 3.5em;
  80. transition: all 0.4s ease;
  81. width: 100%;
  82. }
  83. input:focus{
  84. color-border: var(--color-text-pri);
  85. outline: none;
  86. }
  87. input:focus{
  88. opacity: 1;
  89. }
  90. /* TABLES */
  91. table{
  92. border: thin solid #e4e4e4;
  93. border-collapse: collapse;
  94. border-spacing: 0;
  95. font-size: 1em;
  96. text-align: left;
  97. width: 100%;
  98. }
  99. table td:nth-of-type(2){
  100. padding-right: 5em;
  101. }
  102. table td{
  103. border: thin solid #e4e4e4;
  104. color: #333333;
  105. font-size: 1em;
  106. overflow: hidden;
  107. padding: 10px 5px;
  108. word-break: normal;
  109. }
  110. table th{
  111. border: thin solid #e4e4e4;
  112. color: #333333;
  113. font-weight: bold;
  114. padding: 10px 5px;
  115. }
  116. table a{
  117. color: #333333;
  118. }
  119. /* ANIMATION */
  120. .fade{
  121. opacity: 0;
  122. }
  123. @keyframes fadeseq{
  124. 100% {
  125. opacity: 1;
  126. }
  127. }
  128. .fade{
  129. opacity: 0;
  130. }
  131. .fade{
  132. animation: fadeseq .3s forwards;
  133. }
  134. .fade:nth-child(2){
  135. animation-delay: .4s;
  136. }
  137. /* LAYOUT */
  138. #container{
  139. align-items: stretch;
  140. display: grid;
  141. grid-column-gap: 20px;
  142. grid-row-gap: 3vh;
  143. grid-template-columns: 1fr;
  144. grid-template-rows: 8vh auto;
  145. justify-items: stretch;
  146. margin-left: auto;
  147. margin-right: auto;
  148. margin-top: 5vh;
  149. width: 60%;
  150. }
  151. /* SECTIONS */
  152. #header{
  153. border-bottom: 0px solid var(--color-text-acc);
  154. z-index: 1;
  155. }
  156. #apps_loop{
  157. border-bottom: 0px solid var(--color-text-acc);
  158. display: grid;
  159. grid-column-gap: 0px;
  160. grid-row-gap: 0px;
  161. grid-template-columns: 1fr 1fr 1fr 1fr;
  162. grid-template-rows: 64px;
  163. padding-bottom: var(--module-spacing);
  164. }
  165. .apps_icon{
  166. height: 64px;
  167. margin-right: 1em;
  168. padding-top: 15px;
  169. }
  170. .apps_icon span{
  171. font-size: 2.5em;
  172. line-height: 3rem;
  173. }
  174. .apps_item{
  175. display: flex;
  176. flex-direction: row;
  177. flex-wrap: wrap;
  178. height: 64px;
  179. margin: 0;
  180. }
  181. .apps_text{
  182. display: flex;
  183. flex-direction: column;
  184. justify-content: center;
  185. flex: 1;
  186. overflow: hidden;
  187. }
  188. .apps_text a{
  189. font-size: 1em;
  190. font-weight: 500;
  191. text-transform: uppercase;
  192. }
  193. .apps_text span{
  194. color: var(--color-text-acc);
  195. font-size: 0.8em;
  196. text-transform: uppercase;
  197. }
  198. #links_loop{
  199. display: grid;
  200. flex-wrap: nowrap;
  201. grid-column-gap: 20px;
  202. grid-row-gap: 0px;
  203. grid-template-columns: 1fr 1fr 1fr 1fr;
  204. grid-template-rows: auto;
  205. }
  206. #links_item{
  207. line-height: 1.5rem;
  208. margin-bottom: 2em;
  209. webkit-font-smoothing: antialiased;
  210. }
  211. #links_item h4{
  212. color: var(--color-text-acc);
  213. }
  214. #links_item a{
  215. display: block;
  216. line-height: 2;
  217. }
  218. /* MODAL */
  219. #modal{
  220. overflow-y: auto;
  221. bottom: 0;
  222. left: 0;
  223. opacity: 0;
  224. pointer-events: none;
  225. position: fixed;
  226. right: 0;
  227. top: 0;
  228. transition: all 0.3s;
  229. z-index: 20;
  230. }
  231. #modal:target{
  232. opacity: 1;
  233. pointer-events: auto;
  234. }
  235. #modal>div{
  236. background-color: #ffffff;
  237. box-shadow: 0 14px 28px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.25);
  238. margin-left: auto;
  239. margin-right: auto;
  240. padding: 2em;
  241. margin-top: 5vh;
  242. width: 50%;
  243. display: flex;
  244. flex-direction: column;
  245. }
  246. #modal h1{
  247. color: #333333;
  248. font-size: 2em;
  249. }
  250. #modal h2{
  251. margin-top:1.5em;
  252. }
  253. #modal-header{
  254. display:flex;
  255. justify-content: space-between;
  256. }
  257. #modal-footer{
  258. display:flex;
  259. font-size:2em;
  260. justify-content: flex-start;
  261. }
  262. #modal-footer a{
  263. margin-right:0.25em;
  264. }
  265. .modal-close{
  266. color: #000000;
  267. font-size: 1.5em;
  268. text-align: center;
  269. text-decoration: none;
  270. }
  271. .modal-close:hover{
  272. color: #000;
  273. }
  274. #modal_init a{
  275. bottom: 1vh;
  276. color: var(--color-text-acc);
  277. left: 1vw;
  278. position: fixed;
  279. }
  280. #modal_init a:hover{
  281. color: var(--color-text-pri);
  282. }
  283. #modal-theme{
  284. border-bottom: 0px solid var(--color-text-acc);
  285. display: flex;
  286. flex-wrap: wrap;
  287. margin-bottom: 2em;
  288. }
  289. #providers{
  290. margin-bottom: 2em;
  291. }
  292. /* THEMING */
  293. .theme-button{
  294. font-size: 0.8em;
  295. margin: 2px;
  296. width:128px;
  297. line-height: 3em;
  298. text-align: center;
  299. text-transform: uppercase;
  300. }
  301. .theme-blackboard{
  302. background-color: #000000;
  303. border: 4px solid #5c5c5c;
  304. color: #FFFDEA;
  305. }
  306. .theme-gazette{
  307. background-color: #F2F7FF;
  308. border: 4px solid #5c5c5c;
  309. color: #000000;
  310. }
  311. .theme-espresso{
  312. background-color: #21211F;
  313. border: 4px solid #4E4E4E;
  314. color: #D1B59A;
  315. }
  316. .theme-cab{
  317. background-color: #FEED01;
  318. border: 4px solid #424242;
  319. color: #1F1F1F;
  320. }
  321. .theme-cloud{
  322. background-color: #f1f2f0;
  323. border: 4px solid #35342f;
  324. color: #37bbe4;
  325. }
  326. .theme-lime{
  327. background-color: #263238;
  328. border: 4px solid #AABBC3;
  329. color: #aeea00;
  330. }
  331. .theme-passion{
  332. background-color: #f5f5f5;
  333. border: 4px solid #8e24aa;
  334. color: #12005e;
  335. }
  336. .theme-blues{
  337. background-color: #2B2C56;
  338. border: 4px solid #6677EB;
  339. color: #EFF1FC;
  340. }
  341. .theme-chalk{
  342. background-color: #263238;
  343. border: 4px solid #FF869A;
  344. color: #AABBC3;
  345. }
  346. .theme-tron{
  347. background-color: #242B33;
  348. border: 4px solid #6EE2FF;
  349. color: #EFFBFF;
  350. }
  351. .theme-paper{
  352. background-color: #F8F6F1;
  353. border: 4px solid #F5E1A4;
  354. color: #4C432E;
  355. }
  356. /* MEDIA QUERIES */
  357. @media screen and (max-width: 1260px)
  358. {
  359. #container
  360. {
  361. align-items: stretch;
  362. display: grid;
  363. grid-column-gap: 10px;
  364. grid-row-gap: 0px;
  365. grid-template-columns: 1fr;
  366. grid-template-rows: 80px auto;
  367. justify-items: stretch;
  368. margin-bottom: 1vh;
  369. margin-left: auto;
  370. margin-right: auto;
  371. width: 90%;
  372. }
  373. #apps_loop{
  374. grid-template-columns: 1fr 1fr 1fr;
  375. width: 100vw;
  376. }
  377. #links_loop {
  378. grid-template-columns: 1fr 1fr 1fr;
  379. }
  380. #modal>div{
  381. margin-left: auto;
  382. margin-right: auto;
  383. margin-top: 5vh;
  384. width: 90%;
  385. }
  386. }
  387. @media screen and (max-width: 667px)
  388. {
  389. html{
  390. font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  391. }
  392. #container{
  393. align-items: stretch;
  394. display: grid;
  395. grid-column-gap: 20px;
  396. grid-row-gap: 0px;
  397. grid-template-columns: 1fr;
  398. grid-template-rows: 80px auto;
  399. justify-items: stretch;
  400. margin-bottom: 1vh;
  401. width: 90%;
  402. }
  403. h1{
  404. font-size: 4em;
  405. height: auto;
  406. margin-bottom: 0em;
  407. }
  408. h2{
  409. font-size: 1em;
  410. height: auto;
  411. margin-bottom: 0em;
  412. }
  413. h3{
  414. font-size: 1em;
  415. }
  416. #apps_loop{
  417. grid-column-gap: 0px;
  418. grid-row-gap: 0px;
  419. grid-template-columns: 1fr 1fr;
  420. width: 100vw;
  421. }
  422. .apps_icon{
  423. height: 64px;
  424. margin-right: 0.8em;
  425. padding-top: 14px;
  426. }
  427. .apps_icon span{
  428. font-size: 2em;
  429. line-height: 2.5rem;
  430. }
  431. #links_loop{
  432. display: grid;
  433. flex-wrap: nowrap;
  434. grid-column-gap: 20px;
  435. grid-row-gap: 0px;
  436. grid-template-columns: 1fr 1fr;
  437. grid-template-rows: auto;
  438. }
  439. }
  440. /* Small Screens */
  441. @media only screen and (max-width: 400px) {
  442. #app-address {
  443. display: none;
  444. }
  445. }