small style fixes for the site

overrides pointless  img {max-width: 100%} from bootstrap
This commit is contained in:
nightwing 2013-01-14 21:41:07 +04:00
commit ca4cef9c16
7 changed files with 108 additions and 77 deletions

View file

@ -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();

View file

@ -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;
}