Initial work at manual cleanup of Medium posts
This commit is contained in:
25
custom.css
25
custom.css
@@ -62,3 +62,28 @@ a.button {
|
||||
.bg-green {
|
||||
background: green;
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/* This technique doesn't naturally cause horizontal overflow, but once there is natural vertical overflow, it causes horizontal overflow, so stopping here. */
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
p, figure {
|
||||
margin: 15px 0;
|
||||
}
|
||||
.full-width {
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
right: 50%;
|
||||
margin-left: -50vw;
|
||||
margin-right: -50vw;
|
||||
}
|
||||
figcaption {
|
||||
text-align: center;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user