Compare commits
No commits in common. "c2ffd6e26e619504de61e219e64c1262f5605e92" and "ebbe47a7b4d43ae4ff65f17b86812bb8a22c835e" have entirely different histories.
c2ffd6e26e
...
ebbe47a7b4
|
@ -13,26 +13,26 @@ body {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
"one two"
|
"one two"
|
||||||
"one four"
|
"four blog"
|
||||||
"three blog";
|
"three blog";
|
||||||
grid-gap: 5px;
|
grid-gap: 5px;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
grid-template-rows: repeat(25vh, 6);
|
height: 98vh;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
.order {
|
.order {
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
"one "
|
"one "
|
||||||
"four "
|
|
||||||
"two "
|
"two "
|
||||||
"blog "
|
"blog "
|
||||||
"blog "
|
"blog ";
|
||||||
"three";
|
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
.three, .four {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
scrollbar-width: auto !important;
|
scrollbar-width: auto !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.emoji {
|
.emoji {
|
||||||
|
|
|
@ -72,7 +72,7 @@ class Main extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
<h1>blog & comments</h1>
|
<h1> blog </h1>
|
||||||
{() => {
|
{() => {
|
||||||
if (blogPosts) return this.list(blogPosts)
|
if (blogPosts) return this.list(blogPosts)
|
||||||
else return <h3>Loading...</h3>
|
else return <h3>Loading...</h3>
|
||||||
|
|
|
@ -27,7 +27,7 @@ export class BlogPage extends Component {
|
||||||
history.replaceState({}, "", location.pathname+"?md=" + this.metadata.filename);
|
history.replaceState({}, "", location.pathname+"?md=" + this.metadata.filename);
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
<h1>blog & comments</h1>
|
<h1> sophie's blog </h1>
|
||||||
<a style="font-size:xx-large;" onClick={() => {
|
<a style="font-size:xx-large;" onClick={() => {
|
||||||
pageOpen[1](undefined);
|
pageOpen[1](undefined);
|
||||||
history.replaceState({}, "", location.pathname+"?md=");
|
history.replaceState({}, "", location.pathname+"?md=");
|
||||||
|
|
Loading…
Reference in a new issue