From ca4cef9c16d0926e4dedf6ea4d2436c7318c5c4c Mon Sep 17 00:00:00 2001 From: nightwing Date: Mon, 14 Jan 2013 21:41:07 +0400 Subject: [PATCH] small style fixes for the site overrides pointless img {max-width: 100%} from bootstrap --- api/edit_session.html | 46 +++++++------------- api/editor.html | 5 +-- api/range.html | 4 +- api/split.html | 15 ++++--- doc/site/js/main.js | 3 ++ doc/site/style.css | 13 ++++-- index.html | 99 +++++++++++++++++++++++++++++-------------- 7 files changed, 108 insertions(+), 77 deletions(-) diff --git a/api/edit_session.html b/api/edit_session.html index 7a34b970..bb1cb682 100644 --- a/api/edit_session.html +++ b/api/edit_session.html @@ -1,5 +1,5 @@ -
+
@@ -47,10 +47,8 @@ -

Methods

-
-
-
-
-
    -
  • -
      -
    • EditSession._loadMode()
    • -
    -
      -
    • Undocumented
    • -
    -
  • -
-
-
-
-
-
-
-
-
-
-
@@ -878,7 +852,12 @@
    • -
    • EditSession.documentToScreenColumn(Number row, Number docColumn)
    • +
    • EditSession.documentToScreenColumn(Number row, Number docColumn) +
    • + +
    @@ -1455,7 +1434,12 @@
      • -
      • EditSession.getScreenLastRowColumn(Number screenRow)
      • +
      • EditSession.getScreenLastRowColumn(Number screenRow) +
      • + +
      @@ -1739,7 +1723,7 @@
    • EditSession.getTextRange(Range range)
    diff --git a/api/editor.html b/api/editor.html index d030f811..c4b46f94 100644 --- a/api/editor.html +++ b/api/editor.html @@ -2213,13 +2213,12 @@
-

Editor.modifyNumber(amount)

+

If the character before the cursor is a number, this functions changes its value by amount.

-

Editor.modifyNumber(amount)

+

If the character before the cursor is a number, this functions changes its value by amount.

Arguments

amountNumber

Required. The value to change the numeral by (can be negative to decrease value)

-

If the character before the cursor is a number, this functions changes its value by amount.

diff --git a/api/range.html b/api/range.html index 813b7ec9..9779fe27 100644 --- a/api/range.html +++ b/api/range.html @@ -763,10 +763,10 @@
-

Returns true if and only if the starting row and column, and ending tow and column, are equivalent to those given by range.

+

Returns true if and only if the starting row and column, and ending row and column, are equivalent to those given by range.

-

Returns true if and only if the starting row and column, and ending tow and column, are equivalent to those given by range.

+

Returns true if and only if the starting row and column, and ending row and column, are equivalent to those given by range.

Arguments

rangeRange

Required. A range to check against

diff --git a/api/split.html b/api/split.html index c1286751..fd75edce 100644 --- a/api/split.html +++ b/api/split.html @@ -249,7 +249,12 @@
    • -
    • Split.getOrientation()
    • +
    • Split.getOrientation() +
    • + +
    @@ -481,17 +486,17 @@
  • Split.setOrientation(Number orientation)
    -
  • Undocumented
-
+

Sets the orientation.

+
-
+

Sets the orientation.

+

Arguments

orientationNumber

Required. The new orientation value

-

Sets the orientation.

diff --git a/doc/site/js/main.js b/doc/site/js/main.js index 83b08d61..365ab05c 100644 --- a/doc/site/js/main.js +++ b/doc/site/js/main.js @@ -4,7 +4,9 @@ $(function() { hljs.initHighlighting(); ace.config.set("workerPath", "build/src-min"); editor = ace.edit("ace_editor_demo"); + editor.container.style.opacity = ""; embedded_editor = ace.edit("embedded_ace_code"); + embedded_editor.container.style.opacity = ""; editor.getSession().setMode("ace/mode/javascript"); editor.getSession().setMode("ace/mode/javascript"); embedded_editor.getSession().setMode("ace/mode/html"); @@ -31,6 +33,7 @@ $(function() { var _self = $(this); $("#apiHolder").load($(this).attr("href") + " #documentation", function(){ $("#apiHolder").removeClass("apiIntro").removeClass("span9"); + $("#documentation").removeClass("span9").addClass("span7"); ux(); setupClicker(); diff --git a/doc/site/style.css b/doc/site/style.css index 94ac38f9..8c4c4ed9 100644 --- a/doc/site/style.css +++ b/doc/site/style.css @@ -206,8 +206,8 @@ UL.content-list li { } ul.menu-list { - padding: 0; - margin: 15px 0 20px 0; + padding: 15px 0; + margin: 0 0 20px 0; list-style-type: none; line-height: 16px; overflow: auto; @@ -235,7 +235,7 @@ ul.menu-list li { -webkit-transition: box-shadow 0.4s; -moz-transition: box-shadow 0.4s; border: 1px solid #999; - background-image: -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%), + background-image: -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%), -webkit-repeating-linear-gradient(left, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 4%, hsla(0,0%, 0%,.03) 4.5%), -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.15) 2.2%), @@ -243,7 +243,7 @@ ul.menu-list li { hsl(0,0%,90%) 47%, hsl(0,0%,78%) 53%, hsl(0,0%,70%)100%); - background-image: -moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%), + background-image: -moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%), -moz-repeating-linear-gradient(left, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 4%, hsla(0,0%, 0%,.03) 4.5%), -moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.15) 2.2%), @@ -475,4 +475,9 @@ p.highlight_note a { #api { padding: 0; +} + +/*https://github.com/twitter/bootstrap/issues/5262*/ +img { + max-width: none; } \ No newline at end of file diff --git a/index.html b/index.html index d5455876..56a2765e 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + @@ -65,7 +65,7 @@ and is the successor of the Mozilla Skywriter (Bespin) project.

-