Light CSS & CDN fixes
This commit is contained in:
parent
97e0d40629
commit
451696a9e7
File diff suppressed because one or more lines are too long
61
index.html
61
index.html
|
@ -55,16 +55,16 @@
|
|||
<div class="editorContainer">
|
||||
<div class="editor" id="html-editor"><div id="page">
|
||||
<div class="container">
|
||||
<div id="tools_wrapper" class="row">
|
||||
<div class='ways col-md-6'>
|
||||
<div id="tools_wrapper">
|
||||
<div class='ways'>
|
||||
<ul class="nav nav-pills" id="ways">
|
||||
</ul>
|
||||
</div>
|
||||
</div> <!-- End of div.tools_wrapper -->
|
||||
</div>
|
||||
<div class="container">
|
||||
<div id="content_wrapper" class="row">
|
||||
<div id="content" class="content col-md-10 offset-md-1 col-xs-12"></div>
|
||||
<div id="content_wrapper">
|
||||
<div id="content" class="content"></div>
|
||||
<a name="end_of_content"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -73,58 +73,7 @@
|
|||
<!-- CSS EDitor -->
|
||||
<div class="editorContainer">
|
||||
<div class="editor" id="css-editor">
|
||||
$waycolor: blue;
|
||||
#tools_wrapper .ways {
|
||||
padding: 0.5em;
|
||||
}
|
||||
.content {
|
||||
padding: 1em;
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0 0 0 1em;
|
||||
}
|
||||
ul.options {
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.7em;
|
||||
list-style-type: none;
|
||||
border-radius: 4px;
|
||||
li {
|
||||
padding: 0.5em;
|
||||
border-bottom: 1px solid #876;
|
||||
}
|
||||
li:hover {
|
||||
cursor: pointer;
|
||||
background-color: rgba(153,136,119,0.2);
|
||||
}
|
||||
li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
border: 1px solid #876;
|
||||
}
|
||||
section {
|
||||
border-top: 1px dashed #bbb;
|
||||
}
|
||||
.room-start {
|
||||
border-top: none;
|
||||
}
|
||||
h3 {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.way {
|
||||
color: $waycolor;
|
||||
margin-right: 1em;
|
||||
}
|
||||
.cycle {
|
||||
color: darkgreen;
|
||||
border-bottom: darkgreen dashed 1px;
|
||||
}
|
||||
hr {
|
||||
width: 50%;
|
||||
border-color: #000;
|
||||
}
|
||||
/* Your CSS here */
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,13 +12,14 @@ $("document").ready(function() {
|
|||
previewDoc.write("<!DOCTYPE html>");
|
||||
previewDoc.write("<html lang='en'>");
|
||||
previewDoc.write("<head>");
|
||||
previewDoc.write('<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">');
|
||||
previewDoc.write('<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">');
|
||||
previewDoc.write('<link rel="stylesheet" href="css/salet.css">');
|
||||
previewDoc.write("<style type='text/css'>" + result.text + "</style>");
|
||||
previewDoc.write("</head><body>");
|
||||
previewDoc.write(html);
|
||||
previewDoc.write("<script src='https://code.jquery.com/jquery-1.12.4.min.js' type='text/javascript'></script>");
|
||||
previewDoc.write("<script src='https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.6/marked.min.js' type='text/javascript'></script>");
|
||||
previewDoc.write("<script src='https://cdn.jsdelivr.net/npm/salet@latest/lib/index.min.js' type='text/javascript'></script>");
|
||||
previewDoc.write("<script src='https://cdn.jsdelivr.net/npm/salet@1.8.6/lib/index.min.js' type='text/javascript'></script>");
|
||||
previewDoc.write("<script type='text/javascript'>" + CoffeeScript.compile(script) + "</script>");
|
||||
previewDoc.write("</body>");
|
||||
previewDoc.write("</html>");
|
||||
|
|
Loading…
Reference in New Issue