diff options
| author | Mark Otto <[email protected]> | 2012-02-10 23:07:32 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-10 23:07:32 -0800 |
| commit | d7aefe67e3df78bde61eaa7ecab807bb03aeb1ef (patch) | |
| tree | e4651bdb92a13d886fa3856c3248e1adf51f0e75 /less | |
| parent | c10661cf5d5e84bf840c0f2404218c0bc08add27 (diff) | |
| download | bootstrap-d7aefe67e3df78bde61eaa7ecab807bb03aeb1ef.tar.xz bootstrap-d7aefe67e3df78bde61eaa7ecab807bb03aeb1ef.zip | |
scope th bottom vertical-align to only thead, update code styles to include more comments in less file and scrollable option for pre tag
Diffstat (limited to 'less')
| -rw-r--r-- | less/code.less | 10 | ||||
| -rw-r--r-- | less/tables.less | 7 |
2 files changed, 14 insertions, 3 deletions
diff --git a/less/code.less b/less/code.less index e75cfa00d..35a8ae6b8 100644 --- a/less/code.less +++ b/less/code.less @@ -11,12 +11,16 @@ pre { color: @grayDark; .border-radius(3px); } + +// Inline code code { padding: 3px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; } + +// Blocks of code pre { display: block; padding: (@baseLineHeight - 1) / 2; @@ -44,3 +48,9 @@ pre { border: 0; } } + +// Enable scrollable blocks of code +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +}
\ No newline at end of file diff --git a/less/tables.less b/less/tables.less index cbc013aca..3a4066d71 100644 --- a/less/tables.less +++ b/less/tables.less @@ -25,14 +25,15 @@ table { padding: 8px; line-height: @baseLineHeight; text-align: left; + vertical-align: top; border-top: 1px solid #ddd; } th { font-weight: bold; - vertical-align: bottom; } - td { - vertical-align: top; + // Bottom align for column headings + thead th { + vertical-align: bottom; } // Remove top border from thead by default thead:first-child tr th, |
