1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-02-24 01:22:26 +01:00
BezierInfo-2/stylesheets/relatives.less
2016-01-22 17:43:40 -08:00

43 lines
765 B
Plaintext

.relatives {
width: 100%;
border: 1px solid #CCC;
padding: 0.25rem 1rem;
margin-left: -1rem;
box-sizing: content-box;
&.before {
border-width: 1px 0px;
margin-bottom: -2rem;
}
&.after {
margin-top: 2rem;
border-width: 1px 0 0 0;
border-color: grey;
margin-bottom: -1.5rem;
}
.prev:before { content: "← "; }
.next:after { content: " →"; }
tbody {
margin:0;
tr {
margin:0;
td {
width: 50%;
&:nth-child(1) { text-align: left; }
&.toc {
text-align: center;
white-space: nowrap;
width: 0%;
&:before { content: "["; }
&:after { content: "]"; }
}
&:nth-child(3) { text-align: right; }
}
}
}
}