use less.css for the style of the noscript message

This commit is contained in:
Paul Ivanov 2013-06-24 14:37:08 -07:00
parent d57d6da8f0
commit df02517c93
3 changed files with 12 additions and 1 deletions

View File

@ -26,6 +26,16 @@ div#header {
padding-left: 16px;
}
#noscript {
width: auto;
padding-top: 16px;
padding-bottom: 16px;
text-align: center;
font-size: 22px;
color: red;
font-weight: bold;
}
#ipython_notebook img {
font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
height: 24px;

View File

@ -1048,6 +1048,7 @@ a.label:hover,a.label:focus,a.badge:hover,a.badge:focus{color:#ffffff;text-decor
body{background-color:white;position:absolute;left:0px;right:0px;top:0px;bottom:0px;overflow:visible;}
div#header{display:none;}
#ipython_notebook{padding-left:16px;}
#noscript{width:auto;padding-top:16px;padding-bottom:16px;text-align:center;font-size:22px;color:red;font-weight:bold;}
#ipython_notebook img{font-family:Verdana,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;height:24px;text-decoration:none;color:black;}
#site{width:100%;display:none;}
.ui-button .ui-button-text{padding:0.2em 0.8em;font-size:77%;}

View File

@ -41,7 +41,7 @@
<body {% block params %}{% endblock %}>
<noscript>
<div id='noscript' style='width: auto; padding-top: 5px, padding-bottom: 5px; text-align: center; font-size: 22px; color: red; font-weight: bold;'>
<div id='noscript'>
IPython Notebook requires JavaScript.<br>
Please enable it to proceed.
</div>