Skip to content

Commit

Permalink
more styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Baxter Eaves committed May 20, 2024
1 parent 8419cf1 commit 187db47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 10 additions & 3 deletions sass/style0002.sass
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ section
margin-top: 2rem

&.code-section
max-width: 100%
min-height: 0
padding-top: 5rem
padding-bottom: 5rem
Expand Down Expand Up @@ -160,7 +161,7 @@ section
pre
box-shadow: 5px 5px 30px #33333333
width: 550px
font-size: 0.9rem
font-size: 0.8rem
line-height: 1.3
padding: 2rem
overflow-x: scroll
Expand All @@ -172,15 +173,19 @@ section
width: 100%

div.column
display: flex
display: grid
align-items: center
justify-content: center

&.top
align-items: flex-start

@media screen and (max-width: $small)
overflow-x: scroll
display: block

pre
max-width: 100vw
font-size: 0.5rem

table
margin-top: 4rem
Expand Down Expand Up @@ -545,6 +550,8 @@ table
form
input
width: 100%
border-radius: 0

div
padding-bottom: 1rem

Expand Down
4 changes: 0 additions & 4 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ <h1>2. Identify Likely Errors</h1>
</div>
<div class="two-thirds">
<div class="column">
<div>
{{ "```python
top_5_errors = (
db_engine
Expand Down Expand Up @@ -173,7 +172,6 @@ <h1>2. Identify Likely Errors</h1>
</tbody>
</table>
</div>
</div>
</div>
<div class="column">
<div>
Expand Down Expand Up @@ -257,7 +255,6 @@ <h1>4. Identify errors in incoming data</h1>
</div>
<div class="two-thirds">
<div class="column">
<div>
{{ '```python
err = db_engine.detect(new_satellite_record)
err[0]
Expand Down Expand Up @@ -285,7 +282,6 @@ <h1>4. Identify errors in incoming data</h1>
</tbody>
</table>
</div>
</div>
</div>
<div class="column">
<div>
Expand Down

0 comments on commit 187db47

Please sign in to comment.