mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-17 22:06:42 +02:00
32 lines
609 B
TypeScript
32 lines
609 B
TypeScript
import styled from 'styled-components';
|
|
import { media } from '../lib/responsive';
|
|
|
|
export const Table = styled.table`
|
|
display: block;
|
|
overflow-x: auto;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 24px 0;
|
|
td,
|
|
th {
|
|
border: solid 2px var(--g6);
|
|
font-size: 16px;
|
|
line-height: 25.6px;
|
|
padding: 12px 20px;
|
|
color: var(--g1);
|
|
${media.lg} {
|
|
padding: 12px 30px 12px 60px;
|
|
}
|
|
}
|
|
thead td,
|
|
thead th {
|
|
color: var(--g0);
|
|
background: var(--g7);
|
|
font-weight: 700;
|
|
text-align: left;
|
|
}
|
|
tbody tr:nth-child(even) td {
|
|
background: var(--g7);
|
|
}
|
|
`;
|