draft warning: fixed position

This commit is contained in:
mDuo13
2015-08-04 16:28:06 -07:00
parent a2b0a30ee2
commit cd45568c05
17 changed files with 17 additions and 17 deletions

View File

@@ -114,7 +114,7 @@
</div>
<script type="text/javascript">
if (window.location.host.indexOf("github.io") > -1) {
document.write("<div style='background-color:red; color:white; position:absolute; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
document.write("<div style='background-color:red; color:white; position:fixed; top: 50px; right: 150px; padding: 10px 20px;'>DRAFT</div>");
}
</script>
<div class='wrapper'>