mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
Tweak precedence table styles a bit.
This commit is contained in:
@ -260,9 +260,10 @@ class (or one of its subclasses).
|
||||
## Precedence
|
||||
|
||||
When you mix these all together, you need to worry about
|
||||
*precedence*—which operators bind more tightly than others. Wren mostly
|
||||
*precedence*—which operators bind more tightly than others—and
|
||||
*associativity*—how a series of the same operator is ordered. Wren mostly
|
||||
follows C, except that it fixes the bitwise operator mistake. The full
|
||||
precedence table, from lowest to highest, is:
|
||||
precedence table, from highest to lowest, is:
|
||||
|
||||
<table class="precedence">
|
||||
<tbody>
|
||||
|
||||
@ -290,10 +290,26 @@ body.core {
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
|
||||
tr {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
th, td {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
// Bar charts on the performance page.
|
||||
table.chart {
|
||||
width: 100%;
|
||||
padding-left: 25px;
|
||||
padding: 5px 0 5px 25px;
|
||||
|
||||
td, th {
|
||||
line-height: 14px;
|
||||
@ -303,7 +319,6 @@ table.chart {
|
||||
|
||||
th {
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
@ -325,18 +340,9 @@ table.chart {
|
||||
|
||||
// Precedence table on expressions page.
|
||||
table.precedence {
|
||||
width: 100%;
|
||||
padding-left: 25px;
|
||||
|
||||
tr {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
th, td {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
text-align: left;
|
||||
padding: 2px 0;
|
||||
border-bottom: solid 1px $gray-10;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user