[dingus] Home tweaks
This commit is contained in:
parent
3d9c3b2c99
commit
fb181667b5
2 changed files with 17 additions and 5 deletions
|
|
@ -4,17 +4,19 @@
|
|||
<title>Dingus</title>
|
||||
<script src="https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js"></script>
|
||||
|
||||
<!-- CodeMirror -->
|
||||
<link rel="stylesheet" href="./codemirror/codemirror.css" />
|
||||
<script src="./codemirror/codemirror.js"></script>
|
||||
<script src="./codemirror/python.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
<style>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-container">
|
||||
<div class="page-title">
|
||||
<h1>Grammar Dingus</h1>
|
||||
<a href="about.html">What is this?</a>
|
||||
</div>
|
||||
|
||||
<div class="panel-top grammar-title">
|
||||
Write Your Grammar Here
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,18 @@
|
|||
/* set codemirror ide height to 100% of the textarea */
|
||||
body {
|
||||
height: 100vh;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.page-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
grid-template-rows: 4rem 2rem 1fr 2rem;
|
||||
grid-template-rows: auto 2rem 1fr 2rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
|
@ -33,6 +37,12 @@ body {
|
|||
border-top: 1px solid;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
grid-column: 1 / 4;
|
||||
grid-row: 1;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.grammar-title {
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue