@import "./css/reset.css"; @font-face { font-family: regular; src: url(https://www.telekom.hu/static-tr/c3/f/TeleGroteskScreen-Regular.woff2) format('woff2'),url(https://www.telekom.hu/static-tr/c3/f/TeleGroteskScreen-Regular.woff) format('woff'),url(https://www.telekom.hu/static-tr/c3/f/TeleGroteskScreen-Regular.ttf) format('truetype') } @font-face { font-family: medium; src: url(https://www.telekom.hu/static-tr/c3/f/TeleGroteskScreen-Medium.woff2) format('woff2'),url(https://www.telekom.hu/static-tr/c3/f/TeleGroteskScreen-Medium.woff) format('woff'),url(https://www.telekom.hu/static-tr/c3/f/TeleGroteskScreen-Medium.ttf) format('truetype') } /*--------------------*/ td { /*font-family: regular, Arial, sans-serif;*/ font-size: 1.5rem; } #tablazat_nd { font-family: regular, Arial, sans-serif; height: 100%; line-height: 1.25; margin: 0 25px 20px; } table { border: 1px solid #ccc; border-collapse: collapse; margin: 0 auto; padding: 0; /*width: 100%;*/ table-layout: fixed; } table tr { background-color: #f8f8f8; border: 1px solid #ddd; padding: .35em; } table tr:nth-child(even), table th { background-color: #e8e8e8; } table th, table td { padding: .625em; text-align: center; /*font-weight: bold;*/ } tr > th:first-child { max-width: 120px; } table th { font-size: 1.75em; border-bottom: 1px solid #999999; vertical-align: middle; } table th img { height: 48px; } .smol { font-size: 0.8em; font-weight: 100; } .hide { display: none; } /* ---- MEDIA QUERY ---- */ @media screen and (max-width: 600px) { table { border: 0; } table thead { border: none; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } table tr { border-bottom: 3px solid #ddd; display: block; margin-bottom: .625em; } table td { border-bottom: 1px solid #ddd; display: block; font-size: 1.25em; text-align: right; } table td:first-child { border-bottom: 1px solid #999999; } table td::before { /* * aria-label has no advantage, it won't be read inside a table content: attr(aria-label); */ content: attr(data-label); float: left; font-weight: bold; } table td:last-child { border-bottom: 0; } .smol { font-size: 0.9em; font-weight: 100; } .hide { display: block; } }