styles.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  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. }
  186. .apps_text a{
  187. font-size: 1em;
  188. font-weight: 500;
  189. text-transform: uppercase;
  190. }
  191. .apps_text span{
  192. color: var(--color-text-acc);
  193. font-size: 0.8em;
  194. text-transform: uppercase;
  195. }
  196. #links_loop{
  197. display: grid;
  198. flex-wrap: nowrap;
  199. grid-column-gap: 20px;
  200. grid-row-gap: 0px;
  201. grid-template-columns: 1fr 1fr 1fr 1fr;
  202. grid-template-rows: auto;
  203. }
  204. #links_item{
  205. line-height: 1.5rem;
  206. margin-bottom: 2em;
  207. webkit-font-smoothing: antialiased;
  208. }
  209. #links_item h4{
  210. color: var(--color-text-acc);
  211. }
  212. #links_item a{
  213. display: block;
  214. line-height: 2;
  215. }
  216. /* MODAL */
  217. #modal{
  218. overflow-y: auto;
  219. bottom: 0;
  220. left: 0;
  221. opacity: 0;
  222. pointer-events: none;
  223. position: fixed;
  224. right: 0;
  225. top: 0;
  226. transition: all 0.3s;
  227. z-index: 20;
  228. }
  229. #modal:target{
  230. opacity: 1;
  231. pointer-events: auto;
  232. }
  233. #modal>div{
  234. background-color: #ffffff;
  235. box-shadow: 0 14px 28px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.25);
  236. margin-left: auto;
  237. margin-right: auto;
  238. padding: 2em;
  239. margin-top: 5vh;
  240. width: 50%;
  241. display: flex;
  242. flex-direction: column;
  243. }
  244. #modal h1{
  245. color: #333333;
  246. font-size: 2em;
  247. }
  248. #modal h2{
  249. margin-top:1.5em;
  250. }
  251. #modal-header{
  252. display:flex;
  253. justify-content: space-between;
  254. }
  255. #modal-footer{
  256. display:flex;
  257. font-size:2em;
  258. justify-content: flex-start;
  259. }
  260. #modal-footer a{
  261. margin-right:0.25em;
  262. }
  263. .modal-close{
  264. color: #000000;
  265. font-size: 1.5em;
  266. text-align: center;
  267. text-decoration: none;
  268. }
  269. .modal-close:hover{
  270. color: #000;
  271. }
  272. #modal_init a{
  273. bottom: 1vh;
  274. color: var(--color-text-acc);
  275. left: 1vw;
  276. position: fixed;
  277. }
  278. #modal_init a:hover{
  279. color: var(--color-text-pri);
  280. }
  281. #modal-theme{
  282. border-bottom: 0px solid var(--color-text-acc);
  283. display: flex;
  284. flex-wrap: wrap;
  285. margin-bottom: 2em;
  286. }
  287. #providers{
  288. margin-bottom: 2em;
  289. }
  290. /* THEMING */
  291. .theme-button{
  292. font-size: 0.8em;
  293. margin: 2px;
  294. width:128px;
  295. line-height: 3em;
  296. text-align: center;
  297. text-transform: uppercase;
  298. }
  299. .theme-blackboard{
  300. background-color: #000000;
  301. border: 4px solid #5c5c5c;
  302. color: #FFFDEA;
  303. }
  304. .theme-gazette{
  305. background-color: #F2F7FF;
  306. border: 4px solid #5c5c5c;
  307. color: #000000;
  308. }
  309. .theme-espresso{
  310. background-color: #21211F;
  311. border: 4px solid #4E4E4E;
  312. color: #D1B59A;
  313. }
  314. .theme-cab{
  315. background-color: #FEED01;
  316. border: 4px solid #424242;
  317. color: #1F1F1F;
  318. }
  319. .theme-cloud{
  320. background-color: #f1f2f0;
  321. border: 4px solid #35342f;
  322. color: #37bbe4;
  323. }
  324. .theme-lime{
  325. background-color: #263238;
  326. border: 4px solid #AABBC3;
  327. color: #aeea00;
  328. }
  329. .theme-passion{
  330. background-color: #f5f5f5;
  331. border: 4px solid #8e24aa;
  332. color: #12005e;
  333. }
  334. .theme-blues{
  335. background-color: #2B2C56;
  336. border: 4px solid #6677EB;
  337. color: #EFF1FC;
  338. }
  339. .theme-chalk{
  340. background-color: #263238;
  341. border: 4px solid #FF869A;
  342. color: #AABBC3;
  343. }
  344. .theme-tron{
  345. background-color: #242B33;
  346. border: 4px solid #6EE2FF;
  347. color: #EFFBFF;
  348. }
  349. .theme-paper{
  350. background-color: #F8F6F1;
  351. border: 4px solid #F5E1A4;
  352. color: #4C432E;
  353. }
  354. /* MEDIA QUERIES */
  355. @media screen and (max-width: 1260px)
  356. {
  357. #container
  358. {
  359. align-items: stretch;
  360. display: grid;
  361. grid-column-gap: 10px;
  362. grid-row-gap: 0px;
  363. grid-template-columns: 1fr;
  364. grid-template-rows: 80px auto;
  365. justify-items: stretch;
  366. margin-bottom: 1vh;
  367. margin-left: auto;
  368. margin-right: auto;
  369. width: 90%;
  370. }
  371. #apps_loop{
  372. grid-template-columns: 1fr 1fr 1fr;
  373. width: 100vw;
  374. }
  375. #links_loop {
  376. grid-template-columns: 1fr 1fr 1fr;
  377. }
  378. #modal>div{
  379. margin-left: auto;
  380. margin-right: auto;
  381. margin-top: 5vh;
  382. width: 90%;
  383. }
  384. }
  385. @media screen and (max-width: 667px)
  386. {
  387. html{
  388. font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  389. }
  390. #container{
  391. align-items: stretch;
  392. display: grid;
  393. grid-column-gap: 20px;
  394. grid-row-gap: 0px;
  395. grid-template-columns: 1fr;
  396. grid-template-rows: 80px auto;
  397. justify-items: stretch;
  398. margin-bottom: 1vh;
  399. width: 90%;
  400. }
  401. h1{
  402. font-size: 4em;
  403. height: auto;
  404. margin-bottom: 0em;
  405. }
  406. h2{
  407. font-size: 1em;
  408. height: auto;
  409. margin-bottom: 0em;
  410. }
  411. h3{
  412. font-size: 1em;
  413. }
  414. #apps_loop{
  415. grid-column-gap: 0px;
  416. grid-row-gap: 0px;
  417. grid-template-columns: 1fr 1fr;
  418. width: 100vw;
  419. }
  420. .apps_icon{
  421. height: 64px;
  422. margin-right: 0.8em;
  423. padding-top: 14px;
  424. }
  425. .apps_icon span{
  426. font-size: 2em;
  427. line-height: 2.5rem;
  428. }
  429. #links_loop{
  430. display: grid;
  431. flex-wrap: nowrap;
  432. grid-column-gap: 20px;
  433. grid-row-gap: 0px;
  434. grid-template-columns: 1fr 1fr;
  435. grid-template-rows: auto;
  436. }
  437. }
  438. /* Small Screens */
  439. @media only screen and (max-width: 400px) {
  440. #app-address {
  441. display: none;
  442. }
  443. }