mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
971 B
64 lines
971 B
._support_tables {
|
|
h2 { @extend %block-heading; }
|
|
code { @extend %label; }
|
|
|
|
> .stats {
|
|
tr.show-all ~ tr { display: none; }
|
|
|
|
&.show-all {
|
|
tr.show-all { display: none; }
|
|
tr.show-all ~ tr { display: table-row; }
|
|
}
|
|
|
|
td, th {
|
|
position: relative;
|
|
text-align: center;
|
|
min-width: 5rem;
|
|
}
|
|
|
|
sup {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 2px;
|
|
font-size: .625rem;
|
|
}
|
|
|
|
tr.current {
|
|
font-weight: $boldFontWeight;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
td {
|
|
padding: .125rem .25rem;
|
|
cursor: default;
|
|
}
|
|
|
|
td.y {
|
|
color: white;
|
|
background: #39b54a;
|
|
}
|
|
|
|
td.n, td.p {
|
|
color: white;
|
|
background: #c44230;
|
|
}
|
|
|
|
td.a {
|
|
color: white;
|
|
background: #a8bd04;
|
|
}
|
|
|
|
td.u {
|
|
color: white;
|
|
background: #838383;
|
|
}
|
|
|
|
th.show-all {
|
|
background: none;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
a.show-all { display: block; }
|
|
}
|
|
}
|