File tree Expand file tree Collapse file tree
src/routes/strategies/[strategy]/tech-details/analysis Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484
8585 .content {
8686 min-height : 500px ;
87+ overflow : auto ;
8788
8889 p {
8990 padding : 1rem 0.5rem ;
9091 }
92+
93+ :global(table ) {
94+ width : 100% ;
95+ border-collapse : collapse ;
96+ color : inherit ;
97+ background : var (--c-box-1 );
98+ font : var (--f-mono-sm-regular );
99+ line-height : 1.2 ;
100+ letter-spacing : var (--f-mono-sm-spacing , normal );
101+
102+ @media (--viewport-xs ) {
103+ font-size : 12px ;
104+ }
105+
106+ :global(:is(td , th )) {
107+ padding : 0.25em 0.5em ;
108+ border-block : 1px solid var (--c-text-ultra-light );
109+ vertical-align : top ;
110+
111+ &:first-child {
112+ padding-left: 0.25em ;
113+ }
114+
115+ &:last-child {
116+ padding-right : 0.25em ;
117+ }
118+ }
119+
120+ :global(tbody :is(td , th )) {
121+ /* Alternating column colors */
122+ &:nth-child(even) {
123+ background-color : var (--c-box-3 );
124+ }
125+
126+ &:nth-child (odd ) {
127+ background-color : var (--c-box-1 );
128+ }
129+ }
130+
131+ :global(thead th ) {
132+ background : var (--c-box-3 );
133+ font-weight : 900 ;
134+ border-bottom : 2px solid currentColor ;
135+ }
136+ }
91137 }
92138
93139 .loading {
You can’t perform that action at this time.
0 commit comments