mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
use less.css for the style of the noscript message
This commit is contained in:
parent
d57d6da8f0
commit
df02517c93
@ -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;
|
||||
|
@ -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%;}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user