index.html 1.8 KB

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="description" content="webkid react starterkit">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>react-simplemde-editor demo</title>
  8. <link href="/stylesheets/vendor.css" rel="stylesheet">
  9. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous">
  10. <style>
  11. .container-narrow {
  12. max-width: 650px;
  13. }
  14. .CodeMirror, .CodeMirror-scroll {
  15. min-height: 100px;
  16. }
  17. #forkongithub a{background:#000;color:#fff;text-decoration:none;font-family:arial,sans-serif;text-align:center;font-weight:bold;padding:5px 40px;font-size:1rem;line-height:2rem;position:relative;transition:0.5s;}#forkongithub a:hover{background:#c11;color:#fff;}#forkongithub a::before,#forkongithub a::after{content:"";width:100%;display:block;position:absolute;top:1px;left:0;height:1px;background:#fff;}#forkongithub a::after{bottom:1px;top:auto;}@media screen and (min-width:800px){#forkongithub{position:fixed;display:block;top:0;right:0;width:200px;overflow:hidden;height:200px;z-index:9999;}#forkongithub a{width:200px;position:absolute;top:28px;right:-60px;transform:rotate(45deg);-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);box-shadow:4px 4px 10px rgba(0,0,0,0.8);}}
  18. </style>
  19. </head>
  20. <body>
  21. <span id="forkongithub"><a href="https://github.com/benrlodge/react-simplemde-editor">View the code</a></span>
  22. <div class='container'>
  23. <div id="demo"></div>
  24. </div>
  25. <script src="/js/bundle.js"></script>
  26. </body>
  27. </html>