Skip to content

Commit

Permalink
css changes
Browse files Browse the repository at this point in the history
  • Loading branch information
1dancook committed Jan 2, 2024
1 parent c8c5651 commit 53ec8bb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 15 deletions.
17 changes: 2 additions & 15 deletions _posts/2024-01-02-quakes.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,7 @@ quakes.head()
```


<div>
<style scoped>
.dataframe tbody tr th:only-of-type {
vertical-align: middle;
}

.dataframe tbody tr th {
vertical-align: top;
}

.dataframe thead th {
text-align: right;
}
</style>
<div class="dataframe-container">
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
Expand Down Expand Up @@ -245,7 +232,7 @@ ishikawa_quakes.mag.plot(

```

![png](/assets/2024_01_02_ishikawa_quake_magnitude.png)
![png]({site.url}/assets/2024_01_02_ishikawa_quake_magnitude.png)


It's important to consider the depth of the earthquakes as well, but I was mostly curious to just plot the magnitude and see how many quakes there were.
Expand Down
23 changes: 23 additions & 0 deletions public/css/hyde.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,26 @@ a.sidebar-nav-item:focus {
.theme-tailwind .related-posts li a:hover {
color: #1e293b;
}


/* ----------------------- */

div.dataframe-container {
width: 100%;
overflow-x: auto;
}

.dataframe tbody tr th:only-of-type {
vertical-align: middle;
}

.dataframe tbody tr th {
vertical-align: top;
}

.dataframe thead th {
text-align: right;
}
.dataframe {
font-size: 0.7em;
}

0 comments on commit 53ec8bb

Please sign in to comment.