Center tweets, add border to cover image, minor changes

This commit is contained in:
Monty 2021-09-27 00:09:42 +02:00
parent adc1b4997b
commit 9629977471
No known key found for this signature in database
GPG Key ID: 78B405B6520E1012
2 changed files with 15 additions and 5 deletions

View File

@ -64,7 +64,7 @@
.blog-card .cover {
flex: 50%;
border: 1px solid #151934;
border: 3px solid #151934;
border-radius: 0 10px 10px 0;
}
@ -80,7 +80,7 @@
text-decoration: underline;
}
@media screen and (max-width: 600px) {
@media screen and (max-width: 900px) {
.blog-card {
flex-flow: column;
}
@ -89,6 +89,13 @@
}
.blog-card .cover {
order: -1;
min-height: 200px;
min-height: 250px;
border-radius: 10px 10px 0 0;
}
}
@media screen and (max-width: 450px) {
.blog-card .cover {
min-height: 200px;
}
}

View File

@ -131,9 +131,12 @@ header {
border: 0;
}
}
/* This fixes the double border for twitter iframes */
/* Some twitter iframe specific stuff */
.blog-card .twitter-tweet {
margin: auto;
}
.blog-card .twitter-tweet iframe {
border: none;
border: none; /* Fixes the double border */
}
.blog-card table {